This is my new blog. I used asp.net core, C# and SASS and deployed it with Docker on Azure. Docker is something I’m trying to learn right now, and I use this blog to test the deployment to Azure. It is tradition in software development to greet the world when taking first steps with new technologies. I also need a first article. Therefore, here we go: Hello, World!
Most of the articles about a programming language on Wikipedia have a “Hello, World!” sample and there is also a summary with a list of many languages. Ben Eater on YouTube even built a CPU, only to print “Hello, World!”. It took him four long videos which means, that the “Time to Hello World” was pretty bad. What is “Time to Hello World” you may ask? That is the time it takes a programmer to write a “Hello, World!” program with a programming language. This should indicate, how easy it is to adopt the new language.
The code is mostly very easy, like this example in C#:
Console.WriteLine("Hello, World!");
Or in SQL:
SELECT 'Hello, World!'
And not so easy in Brainfuck (this interpreter can run the sample):
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
Others are in the form of a recipe like this example in the Chef programming language that can get executed with this interpreter:
Hello World Souffle.
This recipe prints the immortal words "Hello world!", in a basically
brute force way. It also makes a lot of food for one person.
Ingredients.
72 g haricot beans
101 eggs
108 g lard
111 cups oil
32 zucchinis
119 ml water
114 g red salmon
100 g dijon mustard
33 potatoes
Method.
Put potatoes into the mixing bowl. Put dijon mustard into the mixing
bowl. Put lard into the mixing bowl. Put red salmon into the mixing
bowl. Put oil into the mixing bowl. Put water into the mixing bowl.
Put zucchinis into the mixing bowl. Put oil into the mixing bowl.
Put lard into the mixing bowl. Put lard into the mixing bowl. Put
eggs into the mixing bowl. Put haricot beans into the mixing bowl.
Liquefy contents of the mixing bowl. Pour contents of the mixing
bowl into the baking dish.
Serves 1.
Conclusion
All these examples have in common, that they are not very useful and have not much to do with the daily business. But they are a good possibility to try a new language or technology. I use this post for to deploy this website and will be happy to see "Hello, World!" in my browser.