3 ms·
Oooh, this is nice. While learning ML, I was stumbling a bit with python, wishing that Ruby were a good language for working with datasets. For all the faults
by mmanfrin 10y ago
Oooh, this is nice. While learning ML, I was stumbling a bit with python, wishing that Ruby were a good language for working with datasets.
For all the faults people find with ruby's performance, I don't think much can be found wrong with its syntax; it is such a wonderful language to code with.
Might I suggest aliasing `<<` to `add_tuple`?
- flipandtwist 10y agoThank you! That was exactly my motivation for building this. Aliasing that is a great suggestion. It's actually implemented here: https://github.com/seansellek/Related/blob/master/lib/related/relation.rb#L25 https://github.com/seansellek/Related/blob/master/lib/relate... I think I should document those aliases a bit better ;)
- davexunit 10y agoRuby's syntax is one of the worst I've seen. Ambiguous, hard to parse, and inextensible. http://programmingisterrible.com/post/42432568185/how-to-parse-ruby http://programmingisterrible.com/post/42432568185/how-to-par...
- regularfry 10y agoIt's awful to work on, and wonderful to work with. Awful for machines, great for humans.
- davexunit 10y agoI write Ruby for a living and I completely disagree. S-expressions are the gold standard.