Hacker News new | ask | show | jobs
by littlewing 3927 days ago
Like what?

When considered as a whole of the combination of what is possible with the stdlib and all of the best gems available, Ruby can be written clearly and tersely. Those are the two first and most important things that I look for to do general web application development. From that perspective it beats Javascript, Python, Php, Java, C#, Go, Scala, Erlang, Haskell, OCaml, and every other language I've used.

I'm not saying Ruby is the best language ever. It has its flaws. In a few places in the stdlib, it doesn't make sense. There are languages, with maybe Smalltalk and Lisp at the top of the list, that beat Ruby from a simplicity and purity standpoint. But, Ruby is just great to use. I love reading it and love using it. It took a few years in the beginning of love and hate, but if I was stuck on a deserted island and had one programming language, Ruby would be it for me.

If it weren't for the Ruby core group being so exclusive and bitter towards others getting involved to make it even better, and if it weren't for the Rails core team just having too much to do and being unable to execute on support, documentation, performance, clarity, simplicity, and important features all at the same time, then maybe it would be the world's number one language and Rails would be the number one web framework.

Instead Javascript had emerged years ago as the language of choice in the browser, had plenty of attention spent on making it execute quickly, etc. though it was an uglier language than Ruby, and because of that attention, it is today's number one language for the web. But, I still like Ruby.

3 comments

It's an exciting time for Haskell developers right now, we just got an a awesome new build tool (stack), an incredible new server-side framework (servant) and our compile to JS tool (GHCJS) is improving by leaps and bounds.
Try Clojure and ClojureScript, there a few people who went from Ruby to Clojure, it seems to attract Rubyist. "Clojure Programming" book is very good and compares Clojure to Ruby/Python a lot so it's easier to understand. David Nolan's talk about Om (React wrapper) is pretty awesome and shows the power of Clojure/CLScript. In fact Om is faster than React.js! You can write server and client side apps in Clojure and utilize JVM libraries. Plus it's a very small language but powerful, it's a LISP with no nonsense and production ready. Anyway, check it out. Clojure and Ruby are two of my favorite languages and I actually understand Ruby much better now after playing with Clojure.
You could use Clojurescript (another functional language). I've enjoyed my experience with it thus far.