Getting equality straight

mumblings

I must suffer from some rare and highly specific form of dyslexia. Even though I know exactly what the difference is, I keep using = when I mean ==. I reckon that about 80% of the problems I've had while writing Ruby have come from using the assignment operator when I really want a comparator.

I need to tattoo = != == on the back of my hand.

comments powered by Disqus