Hacker News new | ask | show | jobs
by layer8 1243 days ago
The purpose of a Hello World, however, is not to showcase language features, it’s to provide a minimal program that produces output, to test that your dev environment is working properly, and for you to learn how to operate it. Adding any unnecessary complications to it only adds further sources of error.
1 comments

Do you think real people will get confused and think the only way to write hello world in bog is using a variable ?

Or do you think most people will automatically adjust and think "hello world in itself doesn't show much, so the author decided to include something more informative and keep call that hello world" ?

I think he shouldn‘t have called it a Hello World if its purpose is to showcase a language feature instead of serving as an actual Hello World.
Obviously the examples in a README for a programming language are going to showcase said language's features.