Learning Ruby - Day 1.5
Ruby is truly infuriating. Not only are there six dozen different ways to instantiate a string but they vary in subtle ways. Single quotes interpret escaped characters and double quotes don’t and anything followed by percent becomes a quote terminator and even though double less than appends to strings, when followed by any non-space they also become a quote terminator and you call it a here document. And you can quote the terminators. So while a << "b" will add "b" to a, a <<"b" will expect a bunch of text followed by a freestanding "b" that terminates the here document. I can only imagine the BNF.
Why does anyone willingly write in this language?