Usable technology

Peter Kuhar

The most anoying programming mistakes

In c:
‘/n’ instead of ‘\n’: gcc will warn you, sdcc will not. ( cost 4 hours of staring into wireshark. )

In JavaScript:
string.chatAt(0) -> Unknown method: Since javascript is not a strongly typed language -> 30 minutes of figuring why javascript thinks that the give object is not a string.

Leave a Reply

http://www.pkuhar.com © 2006 Peter Kuhar peter@pkuhar.com