+ 1
What is HelloWorld
HelloWorld
2 ответов
+ 2
That’s a bit of a strange question 🙂 — in test code, HelloWorld is just a simple placeholder class, method or just string used to check that the test setup works before writing real tests.
A simple test in C:
#include <stdio.h>
int main() {
// Minimal "test"
printf("Hello, World!\n");
return 0;
}
+ 2
"Hello, World!" is the classic first program for those learning a new language.
Historically:
Tim Berners-Lee
August 6, 1991,
Usenet newsgroup
" A public honoring of the first website to go public on the world wide web "