Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

R has the best syntax of any language I have used. What I hate about R is not the syntax, its all the functionality inside it that was written in hairy C and FORTRAN style. Unfortunately, any system gets written on top of by programmers of legacy systems. The syntax and semantics of R are probably the most elegant of any language I have used. The rules are extremely simple, logical, and transparent and are largely inherited from Scheme. The amount of power it gives developers is unparalleled outside of Common Lisp. So much can be redefined by users. It really is at its core a LISP wrapped in C clothing, but better because few people working on R care at all about compiler optimization. Instead, they all care about late binding and introspection so programmers can figure out what their code is doing. If speed is needed, use C++ (Rcpp). However, in practice R is usually fast enough. Somehow the R developers understood Knuth's proverb that premature optimization was the root of all evil (and wasted effort), but the rest of the world forgot.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: