code-reviews

annapawlicka 2015-07-16T09:22:43.000811Z

Hey folks! I’m trying to write a clojure version check that will happen before a namespace form (if version is too old, namespaces in :require fail to load not saying why) and this is what I’ve got so far: https://gist.github.com/annapawlicka/d0df3694a46d6a83ae61 There are a couple of things here that I’d like to get feedback on: code for the version check itself and AOT compilation. I’ve tried to put that check into a separate ns and just require it and call a function before ns form, but it doesn’t work in AOT compilation (throws NPE). Any suggestions on the code and on AOT will be greatly appreciated!