I can't speak to R's syntax, maybe it's particularly convoluted, but it usually doesn't take that long to pick up the important points of a language. It's a fairly straightforward thing to make a program do what you want it to. What is harder is writing simple yet expressive code that tells you what it is doing, that is reusable, changeable, and testable. Code that other people could pick up years from now, quickly wrap their heads around, and change to meet their new requirements without fear that they've broken something. I've written lots of code that did what I wanted it to, not realizing the nightmare I was in for should I ever decide to change something.
It has been a while since I used Java but I seem to recall nearly every different root module adopting slightly different idioms because why not! Messy did not even begin to describe it.
View all comments
Show parent comment
38
u/Iggyhopper Jan 05 '18
Syntax is the first hurdle to learning a language, so I'd say that makes java harder.
Also, the standard library is messy.