Active Entries
- 1: Advent, day 5
- 2: Today's programming silliness
- 3: The highly inaccurate guide to the Eurovision Song Contest 2022 results!
- 4: Bang!
- 5: How not to get people to use a new feature
- 6: Misty creek and eerie fog
- 7: Remember...
- 8: Brexit means arrows?
- 9: boggyb's highly inaccurate guide to Eurovision: Shine a Light 2
- 10: Brighton again
Style Credit
- Style: Neutral Good for Practicality by
Expand Cut Tags
No cut tags
no subject
Date: 2005-07-01 09:51 pm (UTC)Yes, young padiwan, this is a common error made by many a programmer.
I come from the old school where you declared EVERY varaible type and convert numeric strings before doing ANYTHING to them.
Sloppy programming like what you encountered is why M$ is constantly having to publush patches. They tend to assume that the compiler will make everything good and right, when the truth is that it won't. The compiler cares nothing about what you want, only about how the code's written, and even then, what you THINK you wrote may not be what you really wrote. :P
Cheers