Ruby again. This time the parser.

Jul 16, 2008 17:16

Disclaimer: The following was written while I was furious and frustrated. Please bear this in mind if anything offends you.

Until I came to my senses, I had actually fired up an editor to update my CV so I could find a job that wouldn't require me to fight with the festering pile of yuckiness that is Ruby. Consider the following irb session:

>> (1 + 2 +
?> 4)
=> 7
>> (1 + 2
>> + 4)
=> 4
As far as I can tell, if the linebreak results in two valid expressions, the first is thrown away and the second is used. Why this is the case, I have no idea. All I can surmise is that whoever wrote that bit of the parser was smoking crack. The fact that this hasn't been picked up and fixed just demonstrates that the Ruby community completely fails to care about quality. I can't even find reference to it on the internet.

Ruby has long been way down on my list of languages to use. It has just dropped into the same class as PHP and Visual Basic. Congratulations, Ruby. I didn't think you could get worse. You did.

Edit: This saga continues in a new post.

programming, ruby, rant

Previous post Next post
Up