They say that once you understand basic coding principles, learning a new programming language is mostly a matter of figuring out syntax and getting used to whatever special tricks that language has to offer. It certainly seems to be the case with this Ruby to JS transition.
But I certainly miss the syntactic sugar that Ruby gives us – and what is with all the curly brackets and the semicolons?!
Consider Project Euler Problem I (summing up multiples of 3 and 5 from 1 to 999).
There is just so much we can do with it in Ruby:
But for now, I need a T-shirt that says ‘I don’t really like semicolons.’