News for hackers. Stuff that matters.
Re:Related: Pure Ruby Relational Algebra Engine by mmanfrin on Monday May 23, 2016 @04:22PM (#11756629)
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`?

Re:Related: Pure Ruby Relational Algebra Engine by flipandtwist on Monday May 23, 2016 @04:31PM (#11756708)
Thank 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/relate...

I think I should document those aliases a bit better ;)

Re:Related: Pure Ruby Relational Algebra Engine by davexunit on Monday May 23, 2016 @09:51PM (#11758450)
Ruby's syntax is one of the worst I've seen. Ambiguous, hard to parse, and inextensible.

http://programmingisterrible.com/post/42432568185/how-to-par...

Re:Related: Pure Ruby Relational Algebra Engine by regularfry on Tuesday May 24, 2016 @02:13AM (#11759299)
It's awful to work on, and wonderful to work with. Awful for machines, great for humans.
Re:Related: Pure Ruby Relational Algebra Engine by davexunit on Tuesday May 24, 2016 @08:21AM (#11760932)
I write Ruby for a living and I completely disagree. S-expressions are the gold standard.