tag:blogger.com,1999:blog-8837899541977019574.post1398982604550801563..comments2022-11-16T14:41:56.197+01:00Comments on program begin end. // comments?: repeat Mistake until LessonLearned;Unknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8837899541977019574.post-46548937730166931732008-08-13T08:49:00.000+02:002008-08-13T08:49:00.000+02:00@TDelphiHobbyist: I had to avoid the "All of the a...@TDelphiHobbyist: I had to avoid the "All of the above" option - or we would have a very boring result :)<BR/><BR/>@Jolyon: I also had the 1st ed. until someone "borrowed" it. I guess "stealing is a form of flattery" is more than a metaphor :)Lars Fosdalhttps://www.blogger.com/profile/05635001623287214775noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-74882921996205568582008-08-12T23:18:00.000+02:002008-08-12T23:18:00.000+02:00Wow, what a tough poll! I don't make any of those...Wow, what a tough poll! I don't make any of those mistakes very often.... at least not any more!<BR/><BR/>:)<BR/><BR/>Bool evaluation is my weak spot when it comes to simplifying inverted conditions:<BR/><BR/> (NOT a) AND (NOT b)<BR/><BR/>which "naturally" looks like it could be simplified to:<BR/> <BR/> NOT (a AND b) // FAIL!<BR/><BR/>but of course needs to be:<BR/><BR/> NOT (a OR b)<BR/><BR/>(I say "of course", but I had to check this with a little truth table, and even then I'm not 100% sure!)<BR/><BR/>For the rest, I guess I've either learned good habits over the years (as far as these mistakes go anyway) or evolved defense mechanisms that are so ingrained and automatic that I don't have to think about them. Anymore.<BR/><BR/>It maybe helps that Code Complete (1st Ed) was one of the first tech books I ever bought.<BR/><BR/>And wholehearted agreement on the "you don't know something until you can teach it" sentiment!<BR/><BR/>All developers should have a "Hobbes" on their desk, to learn from (and thereby to teach) their inner "Calvin".<BR/><BR/>:)Jolyon Smithhttps://www.blogger.com/profile/12189834837787604468noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-89181555057511079122008-08-12T21:36:00.000+02:002008-08-12T21:36:00.000+02:00The poll above is missing an "All of the above" op...The poll above is missing an "All of the above" option - for me. Nice article with some great links. I have a rule of thumb that sets the target level when learning some new concepts/procedures ... "keep at, because you don't know it, until you can teach it".<BR/><BR/>Thanks.TDelphiHobbyisthttps://www.blogger.com/profile/16988423327342669888noreply@blogger.com