Main

29th November, 2004

Getting equality straight

Filed under: Random Mumblings, — bsag @ 01:11 PM

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.

blog comments powered by Disqus

Powered by ExpressionEngine :: © www.rousette.org.uk, 2002-2008 :: [XHTML] [CSS] [508]