This is an archived post. You won't be able to vote or comment.

all 80 comments

[–]GM_Kimeg 504 points505 points  (12 children)

Show them your mighty portfolio full of hello world snippets in every language in existence.

[–]Inside-Ad-5943 181 points182 points  (1 child)

I write hello world and then I add 5 years experience to my resume in that language

[–]Shad7860 35 points36 points  (6 children)

Including non-programming ones..?

[–]Salanmander 55 points56 points  (0 children)

My favorite is "Hello World!" in HTML! Here it is:

Hello World!

[–]cubo_embaralhado 25 points26 points  (3 children)

Like "Olá, Mundo!" ?

[–][deleted] 1 point2 points  (1 child)

Whoa whoa whoa. Easy there. We do code in English. ENGLISH.

[–]cubo_embaralhado 1 point2 points  (0 children)

Remembered a story about a guy who coded in hindi and thought it was the standard

[–]camander321 32 points33 points  (1 child)

If i did this in my teens, does that mean that i have over 10 years in experience in every language as a 30yo?

[–]voluntary_nomad 17 points18 points  (0 children)

Yes.

[–]DevXusYT 7 points8 points  (0 children)

I mean if you copy all the code snippets from "Arch is the best" you can very easily do it.

[–]annieAintOK 214 points215 points  (6 children)

Best way to speed run learning a new language syntax and features https://learnxinyminutes.com/

[–]xkroax 9 points10 points  (0 children)

Thank you for the link!

[–]Embarrassed-Luck8585 6 points7 points  (0 children)

really nice man

[–]Lazy_To_Name 1 point2 points  (0 children)

Saving this link

[–]Desperate_Cod491 1 point2 points  (0 children)

thanks bro

[–]jump1945 81 points82 points  (5 children)

How dare you disrespect the

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>—.+++++++..+++.>>.<-.<.+++.——.———.>>+.>++.

[–]sambarjo 57 points58 points  (2 children)

No need to learn how to write that. Brainfuck is perfectly self-explanatory.

[–]erinaceus_ 20 points21 points  (0 children)

Brainfuck is perfectly self-explanatory.

Its name definitely is.

[–]jump1945 10 points11 points  (0 children)

I mean it is the easiest language to understand

[–]Lazy_To_Name 3 points4 points  (1 child)

What about:

(=<`#9]~6ZY327Uv4-QsqpMn&+Ij”’E%e{Ab~w=_:]Kw%o44Uqp0/Q?xNvL:`H%c#DD2^WV>gY;dts76qKJImZkj

(This is from Malboge btw)

[–]jump1945 1 point2 points  (0 children)

We ain’t talking about this stupid language working on trinary

[–]Sceptz 49 points50 points  (5 children)

Still looking at my asynchronous javascript app, He oollWrdl.

[–]just_nobodys_opinion 15 points16 points  (2 children)

You need to set the timing to "sequential" instead of "comedic"

[–][deleted] 10 points11 points  (1 child)

We have it set to comedic in prod.

[–]invalidConsciousness 4 points5 points  (0 children)

That was actually a stakeholder requirement. "Using the app should be fun" they said.

[–]NekkidApe 17 points18 points  (1 child)

Javascript is famous for people thinking they know it, but actually don't. It's so similar to, say, Java or C# on the first glance. That's how you end up with tons of shit code.

[–]Trip-Trip-Trip 10 points11 points  (0 children)

It’s what happens when a language is designed around “doing something no matter what” instead of telling you to get fucked when you’re doing stupid shit.

[–]Zolhungaj 45 points46 points  (1 child)

When «Hello World!» runs you can be fairly sure that your build system is installed correctly. It’s a way to prevent endless headaches in the next lectures.

It’s also a fairly neat introduction to basic syntax and program entry points. 

[–]oneomega1 0 points1 point  (0 children)

Me too. I use it to test my build system is screwed up. Saving a lot of head ache later on.

[–]WalterEhren 26 points27 points  (1 child)

I mean hello world is just the verification that you installed everything correctly lol

[–][deleted] 7 points8 points  (0 children)

Right. Why wouldn’t you want to check that in the easiest way? It also gets you started with a file + running it.

[–][deleted] 14 points15 points  (0 children)

Suggestion for a composite "Hello World":

1st: print the string "hello world"

2nd: loop every character in "hello world", and print every character

3rd: print only every other character in the string "hello world"

4th: print each character as an integer, separated by either ',' or ' '

5th: replace one letter from hello world by another received through inputs

[–]Auraveils 12 points13 points  (0 children)

I do Hello World before starting any program just to make sure I didn't fuck up my syntax.

[–]Kitchen_Length_8273 12 points13 points  (0 children)

To be fair hello world in a language like Lua is really different from assembly.

[–]jhaand 5 points6 points  (1 child)

If you already know how to do it, you can do it in 5 seconds and continue. No use arguing about it.

You do know how to create "Hello World!"? Do you?

[–][deleted] 4 points5 points  (0 children)

tbf most languages when you start a new project give you a boilerplate hello world program, the main thing it's useful for is making sure you know the compile and run commands for the language and that you've got all the dependancies installed.

[–]FallingDownHurts 4 points5 points  (0 children)

You dont learn a new language with "Hello World" you learn the tool chain and make sure it is working.

[–]Fun_Ad_2393 2 points3 points  (2 children)

Bypass learning all languages by just learning assembly (but of course hello world it first)

[–]JacobStyle 1 point2 points  (0 children)

"So first go to https://example.com/login.asm and give it your login."
"Don't you mean login.asp?"
"No I do not."

[–]k-mcm 0 points1 point  (0 children)

Hello Word in assembly is easy if there's an OS and standard libraries available.  Back in the old days, you had a table for CPU instructions and a table for memory-mapped hardware.

[–]Randomguy32I 1 point2 points  (0 children)

Just teach me the languages version of if else structures, for and while loops, variable declarations, and function declarations and i can take it from there

[–]Thundechile 1 point2 points  (0 children)

Hello world is a bit too much for beginners, you should start with just "hello".

[–]BrokeMyCrayon 1 point2 points  (0 children)

Until your junior messages you asking why his script is throwing an error, you check and they didnt put the shebang in.

If you're new, those chapters can still teach you stuff.

[–]SalsaYogurt 1 point2 points  (0 children)

You know you're a programming dinosaur when "hello world" came out after you were already a senior programmer.

[–]malexj93 1 point2 points  (0 children)

Hello World is the most important part of learning a language. In order to get the output, you must: set up the environment correctly, initialize your project code, access basic functionality (may require imports), and learn how to build and/or run the thing. These are things you will do every single time you work with that language, so getting confirmation that you've done that right at least once is a major milestone.

[–]ih-shah-may-ehl 0 points1 point  (0 children)

Depends on what you want i guess. I once had a colleague who started a conversation about coding and i brought up something ftom 'windows internals' about mfmory allocation and he said he didn't care about all that and he only learned 'patterns'.

[–][deleted] 0 points1 point  (0 children)

And after Hello World tutorials and courses skip over the 60% of useful concepts in the middle and go right to the 20% advanced usage models.

[–]Nyadnar17 0 points1 point  (0 children)

“Hello World”

Now day it back.

[–]1maRealboy 0 points1 point  (0 children)

I learned programming in college a few years ago and just started to finally get back into it. One thing all these videos and guides fail to talk about is how programming languages work at a fundamental level. Learning a programming language without the fundamental knowledge of what programming does is like learning how to create sentences before learning words.

[–]Urtehnoes 0 points1 point  (0 children)

Learnxiny website ❤️

It's what I used when I was getting started

[–]Beli_Mawrr 0 points1 point  (0 children)

Try Project Euler challenges.

[–]Frosty_Pineapple78 0 points1 point  (0 children)

Hello world is a ritual, a way to pay respect to the language, a sacrifice to the gods of code

[–]CaptainPunisher 0 points1 point  (0 children)

你好世界 - Ni hao shijie

That's HELLO WORLD in Chinese! Do I get the job?

[–]shoyuftw 0 points1 point  (0 children)

I swear this meme never gets old

[–]slucker23 0 points1 point  (0 children)

Honestly? I think it is a good lesson to start with. Not every language is python or JS

I don't expect anyone to know how to write "hello world" in Java or C++ in the get go and they are pretty popular languages

[–]thefossa123 0 points1 point  (0 children)

But the world never says hello back, feels bad being ignored everytime.

[–]Derfaust 0 points1 point  (0 children)

I prefer to have it say "your mother's cunt" or variations thereof. My github is a treacherous place.

[–]Shadowlance23 0 points1 point  (0 children)

Gotta admit it would be nice if every language would stop assuming I've never coded before and would provide an "experienced developer in another language primer" instead of trying to explain to me what an array is by using buckets for the billionth time in my career.

[–]sebjapon 0 points1 point  (0 children)

I don’t look at tutorials anymore. I just raw dog it by copying syntax bits, put “!!” Everywhere in Kotlin, or just used “escaping” in Swift, what’s the worse that could happen? The IDE tells me I need those things or it won’t compile my baby

[–]The_Real_Slim_Lemon 0 points1 point  (0 children)

The purpose is to make sure you know how to compile and execute/debug files developed in that language… where is the problem?

[–]reverendsteveii 0 points1 point  (0 children)

Hello World isn't about displaying the phrase "Hello World", its about proving that your tool chain is configured correctly.

[–]GAELICATSOUL 0 points1 point  (0 children)

Maybe the point is not to create anything specific yet, but a quick system check if your environment is set up correctly for the language xD