The perils of syntactic sugar in Ruby

I ran into this doozy today:

In math, a+b always equals b+a. Not always the case with Ruby and Time objects.

Post a Comment

Your email is never published nor shared. Required fields are marked *