When I was in Brock University, the Macquarium lab was filled with used Macintosh Plus computers passed down from professors who had outgrown them. One day I was working on a program for my third-year operating system course. The short C program I was working on was reported to be error free. When I ran it, vertical bars appeared in the monochrome desktop, my floppy disk ejected, and the computer rebooted. Upon closer inspection, I noticed that I used an
= instead of a
== in an
if statement. That small mistake created unforeseen results. Ever since then, I treat the C language as a psychotic roommate; we might live and work together, but I never take my eye off it for a minute in case it tries to stab me ...