Not really a mistake but definitely a silly thing I used to do back in my early days:
First I figured out that there was no reason to typeCode:var myBool: Boolean; ... if myBool = true then myBool := false else myBool := true;when I could just typeCode:if myBool = true thenLater I figured out simply to writeCode:if myBool thenI comfort myself having seen many beginners write the same kind of code. It's nice to know I'm not the only oneCode:myBool := not myBool;
Bookmarks