On Wed, 9 Mar 2022 at 13:28, Pierre Chapuis <lua@catwell.info> wrote:
I came across this post, which discusses the lack of error validation
in naive "Hello World" programs in different languages:
https://blog.sunfishcode.online/bugs-in-hello-world/
This is fun and all (and I did learn about /dev/full reading it!), but
I hope it doesn't become part of pedantry lore. Calling that behavior
a "bug" is really stretching it, after all, I think if you asked
anybody what's the specification of the well-known programming example
"hello world" is, they'd just say "it should print 'hello world'" and
not "it should print 'hello world' and returns an exit code indicating
whether the print operation was successful or not". :)
-- Hisham