0

Hello world

Why most people start learning program using that word not a hello kitty or hello java?

27th Feb 2017, 6:27 PM
Ace
Ace - avatar
4 Respostas
+ 8
Old tradition, see https://en.m.wikipedia.org/wiki/%22Hello,_World!%22_program
27th Feb 2017, 6:35 PM
Tashi N
Tashi N - avatar
+ 5
of course you can write anything else. greet yourself, your parents, kitty, the programming language, just write hello or hi. you can even just output “success“. but you're entering the world of programming, greet the world. the much better question is: why do we use foo, bar and foobar for variables? well, we have to use something. a, b, c or x, y, z are also common, but they are boring and tend to get confusing in longer examples. naming them panda, dog, cat or horse would work too... as Tashi mentioned: it's a tradition. since you'll encounter it everywhere while learning to program, you should learn to live with it.
27th Feb 2017, 7:38 PM
Mario L.
Mario L. - avatar
0
This example became popular by Brian Karingham and Dennis Ritchie. They wrote a book. The title: The C Programming Language. The first edition was published in 1978. In this book was the "hello world" example. From this book became famous this short code. This book is a fundamental work for every programming learner. This is the "hello world" story. Source: https://en.m.wikipedia.org/wiki/The_C_Programming_Language
27th Feb 2017, 9:29 PM
Zoltán Bolodár
Zoltán Bolodár - avatar
0
Thank for information zoltan
28th Feb 2017, 3:39 AM
Ace
Ace - avatar