Hacker News new | ask | show | jobs
by EventHorizon 6067 days ago
For me one of the big things that I need to constantly remind myself of is to read what is on the screen, instead of what is in my cache. While this trick may help with testing for equality I'll often mix up the bit-wise and logic operators as well, not so mention the misplaced semi-colon that is so hard to see. Reading what is actually written has saved me numerous errors and is invaluable for code reviews and the like.