Unintended Bugs In Demonstration Code For Intential Software
from the not-a-great-start dept
Adam Barr writes "The Seattle Post-Intelligencer yesterday had a story about Charles Simonyi leaving Microsoft, and today had a follow-up about his plans for his new company. The funny part is that the second article, trying to demonstrate how a "Hello, world!" program would be written to be bug-free, has a sample of the "old" way, a C program, which has an unintended bug in it -- it loops forever (those "{lcub}" and "{rcub}" in the online version of the article appeared as "{" and "}" in the printed one). Hmmm, I guess if you can't get "Hello, world!" correct in C, maybe it is time for something new."Thank you for reading this Techdirt post. With so many things competing for everyone’s attention these days, we really appreciate you giving us your time. We work hard every day to put quality content out there for our community.
Techdirt is one of the few remaining truly independent media outlets. We do not have a giant corporation behind us, and we rely heavily on our community to support us, in an age when advertisers are increasingly uninterested in sponsoring small, independent sites — especially a site like ours that is unwilling to pull punches in its reporting and analysis.
While other websites have resorted to paywalls, registration requirements, and increasingly annoying/intrusive advertising, we have always kept Techdirt open and available to anyone. But in order to continue doing so, we need your support. We offer a variety of ways for our readers to support us, from direct donations to special subscriptions and cool merchandise — and every little bit helps. Thank you.
–The Techdirt Team
Reader Comments
Subscribe: RSS
View by: Time | Thread
The Great American Programming Language
"When someone says 'I want a programming language in which I need only say what I wish done,' give him a lollipop."
-- CMU jokes.txt, circa 1984
[ link to this | view in thread ]
just noticed the intentional
Or you could copy "Hello, world!" out of K&R, with no comments.
- adam
[ link to this | view in thread ]