Fork me on GitHub

@adamvh i write libraries for (among other things) solving differential equations and you're absolutely correct that metaprogramming is of great use there. however, compile isn't quite that. i'm pretty sure you could generate functions on the fly just by using macros and maybe inline caching if you want to really optimize it


that said, my own approach just uses nested vectors and composes derivatives already in data form (a neglected approach since the assumption is once you output a function as data it's worthless for composition). the functional approach is what leads you to metaprogramming, or at least that's the faster way to do it as opposed to having to deal with correctly applying operators to multiple semantic levels of generated functions


so my org is looking to replace our content management system and possibly our back end infrastructure. help me convince them to use clojure?


1. find the person who is in charge


2. ask them for what features they wish the existing system has


3. implement them in clojure


@lilactown are you considering using Datomic as well ? The combination of both is more compelling than the sum of each one, if you know what I mean


I agree with @qqq, if you can ask for forgiveness, not permission


otherwise, it kind of depends of the organization you work in, but here are some ideas:


* the risk of adopting a new technology is insignificant compared to the risk of failing to deliver (or the difficulty / cost of hiring / staffing the many programmers you'd need with a mainstream technology)


* Clojure is a viable hiring strategy, as you need to hire fewer people, and it helps you steal very smart programmers from boring, high-paying companies


* the REPL brings productivity to a whole new level


* CMS is about manipulating data in a very generic way, Clojure's very well suited to that


* Clojure is very simple, to the point it can even be put in the hands of non-technical people (which is what a CMS is for, isn't it?)


no, we're not considering datomic.


we're a java shop primarily.


@lilactown: focus on seamless interop. you retain as much java as you want, and you can ransition gradually. meanwhile you get a boost in productivity and programmer satisfaction. find some good examples of using clojure with existing java cms systems.


A CMS can be a very complex beast. I'd recommend introducing Clojure to your org via a much, much smaller project. Trying to bite off more than you can chew, in any language, may not help perceptions of that language.


I aver that, unless guided by an experienced mentor, almost no one with a traditional software development background will arrive at an architecture with which they’ll be happy on their first clojure project.


Currently using it in production on 5 sites


thanks emil0r, I'll check it out


I'm doubtful we'll use clojure for the CMS itself, but perhaps the underlying systems


we're currently looking to transition off of liferay. we have a huge amount of content, personalized for different kinds of users. big-wigs want a very enterprise-y solution


No worries 🙂


i appreciate the ideas ya'll.