News for hackers. Stuff that matters.
Re:R Passes SAS, but Python Leaves Them Both Behind by CloudYeller on Sunday March 05, 2017 @03:07PM (#13798223)
Another reason why I'm glad python is winning (and a fun read):

http://arrgh.tim-smith.us/

Re:R Passes SAS, but Python Leaves Them Both Behind by shanusmagnus on Sunday March 05, 2017 @04:08PM (#13798647)
Love!

"R is a shockingly dreadful language for an exceptionally useful data analysis environment. The more you learn about the R language, the worse it will feel. The development environment suffers from literally decades of accretion of stupid hacks from a community containing, to a first-order approximation, zero software engineers."

Yup.

Re:R Passes SAS, but Python Leaves Them Both Behind by charles-salvia on Sunday March 05, 2017 @09:39PM (#13800328)
The first time I tried to read R code I was immediately disgusted with how '.' is a valid variable name character. Not only valid, but inexplicably also in common use.
Re:R Passes SAS, but Python Leaves Them Both Behind by gone35 on Sunday March 05, 2017 @10:22PM (#13800455)
That's in part because, unaccountably, '_' denotes assignment in S.
Re:R Passes SAS, but Python Leaves Them Both Behind by yuubi on Monday March 06, 2017 @09:27PM (#13807835)
> unaccountably

Maybe because in ASCII-63 the _ codepoint meant left-arrow (which was preserved in at least smalltalk systems much past the 60s)?

Re:R Passes SAS, but Python Leaves Them Both Behind by shanusmagnus on Tuesday March 07, 2017 @05:08PM (#13815511)
My theory is that they might have been trying to protest against the non-mathematical theft of = (equality) to mean assignment, as = is used in most other languages. (Not that that's an excuse for violating the shit out of the Principle of Least Surprise in a trillion different ways.)
Re:R Passes SAS, but Python Leaves Them Both Behind by makeset on Monday March 06, 2017 @01:00AM (#13800953)
It's immature to rail on R for things like how its syntax doesn't look like that other language you already know, but yes, it's extremely quirky. And its unchecked flexibility, while great for experts providing DSLs and such, enables non-programmers to produce garbage implementations. The vast majority of R's myriad community packages (R's biggest strength!) seem to be written by a grad student who read half a tutorial.