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.
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`?