61 karma · joined Nov 13, 2014 (12y ago) · 48 submissions
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
...of course, for the other team to be able to do this, they still needed to learn some Clojure in order to understand our code, but even in the cases where they actually liked doing Clojure, they were still forced to do the rewrite. The company was/is expanding very rapidly, so part of me can understand the decision to narrow it down to fewer "allowed" languages, to allow services/responsibilities/teams to move around more freely.
But it was one of the main reasons I decided to leave the company. I had joined after years hoping for Clojure to be my main professional programming language (for a substantial part of my career, at least), and I left a somewhat more bitter developer, but at the same time feeling a bit more free and relaxed - there are sooo many opportunities to pick from, now what I'm a bit more open when it comes to the tech!
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
Compare this with Java and the functional JVM languages, where Java didn't even have lambdas until fairly recently - no wonder a (relatively) large subset of JVM developers focus on Scala and Clojure.
comment 8y ago · link · parent
comment 8y ago · link · parent
Kotlin/Scala/Clojure are nice, but my experience is that just because an organization is working with Java, you shouldn't count on being able to work with some other JVM language. At my current job, we've been forced to give up on Clojure (a language I love) because the higher-ups have decided we should stick to Java.
I really hope especially Kotlin will gain more traction in the coming years, but in the meanwhile there is at least an order of magnitude more jobs in C# (where I live).
comment 8y ago · link · parent
comment 8y ago · link · parent
It's been running in production for a couple of months now, and it's been working great! The main drawback I can think of was that it obviously didn't work well with Swagger out-of-the-box, had to do some custom handling for showing all the available event types.
comment 9y ago · link · parent
For learning Kanji, the most efficient option I've found is Remembering the Kanji by James Heisig. It's a bit of a long-term investment, in that it takes a while for them to really pay off (you don't learn the readings/sounds until book two, the first one is completely focused on the meaning and writing of the characters), but in the long run I think it's a much better option than for example the books trying to teach you the characters by showing you their similarity to the things the represent.
comment 9y ago · link · parent
* Visual Studio Code for JavaScript/TypeScript and React. I tried Sublime and Atom, didn't quite like them, haven't had any issues with VSCode since I started using it about a year ago. But I wouldn't be able to tell you why I like it better than the alternatives. I probably should.
* Eclipse + Counterclockwise for Clojure/Script. It doesn't seem to be very popular, and I've been meaning to try out Cursive and proto-REPL (and maybe actually get into Emacs), but I've been using Counterclockwise for years and I really like it. The Clojure data structure editing functionality is really neat, and I don't remember seeing its flavour of it in other editors. But like I said, I don't have that much experience with other editors.
comment 9y ago · link · parent
During the past year, I've actually started trying this out. I've taken a couple of my vacation weeks and spread them out - instead of taking one week vacation, I've taken Fridays off for five weeks. It's been amazing. Somehow it feels like that extra day counts twice: your weekend gets one day longer, and your work week gets one day shorter!
comment 9y ago · link · parent
There are other cases where immutability helps, even with regards of performance. At my day job, we use C#, with little focus on immutability. Performance has been a huge problem lately. One of the things we did was to change lots of constructors which initialized empty lists. In most cases, these lists remain empty, so we created a whole bunch of objects unnecessarily, which put a lot of toll on the GC. The "solution" was to initialize them to null instead, which made the code a lot more brittle and cumbersome. Had we used immutable lists instead, we could've shared one single, empty object instead (per type, of course).
We also have lots of copy constructors which we use often - these would be completely unnecessary with immutable data.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
F# seems like a very nice language, but honestly, C# is getting so much love from Microsoft that I haven't felt motivated to learn F# properly (the situation is very different in Java land). Seems like non-nullable references may even make it into C#, so there you go! :)