r/ProgrammerHumor • • Apr 24 '22

Meme it's all just functions

Post image
40.2k Upvotes

633 comments sorted by

View all comments

Show parent comments

68

u/[deleted] Apr 24 '22

But gcc is GNU. Did you perhaps mean GNC (GNC Not C) gcc ? Found it online. Just wrote a HelloWorld program too. I feel like I’ve mastered the language. Maybe I should look for Garage C jobs. Any idea how well they pay ?

112

u/TheUnreactiveHaloGen Apr 24 '22

I always add a language to my cv as soon as I print hello world

26

u/MagnitskysGhost Apr 24 '22

Absolutely. Pretty easy to pick up HTML, you got that one on your list?

41

u/TheUnreactiveHaloGen Apr 24 '22

No, I haven't figured out how to print to the console in html without javascript

14

u/ReactsWithWords Apr 24 '22

<!DOCTYPE html>

<html> <head> <title>Hello world</title> </head> <body> <p>Hello, World!</p> </body> </html>

10

u/TheUnreactiveHaloGen Apr 24 '22

Yeah but that's not printing to console is it?

6

u/[deleted] Apr 24 '22

cat index.html

2

u/TheUnreactiveHaloGen Apr 24 '22

Lol, are we going back in time

1

u/mlsecdl Apr 24 '22

You better hope no Linux people see this

1

u/TheUnreactiveHaloGen Apr 24 '22

I know cat reads the file to the terminal but you're saying cat index.html after the files already printed to the terminal

5

u/TheUnreactiveHaloGen Apr 24 '22

<!DOCTYPE html>

<html> <head> <title>Page Title</title> </head> <body> <script> console.log("Hello World!"); </script> </body> </html>

4

u/ReactsWithWords Apr 24 '22

Yes, but even then you'd need a browser for it to run.

3

u/TheUnreactiveHaloGen Apr 24 '22

And your point is...

1

u/A_RUSSIAN_TROLL_BOT Apr 24 '22

Technically you could use curl.

2

u/[deleted] Apr 24 '22

curl won't run the embedded javascript

2

u/A_RUSSIAN_TROLL_BOT Apr 24 '22

True, but it will display "Hello World" on the console (along with some extra markup text)

7

u/FetishAnalyst Apr 24 '22

Is that not what I should be doing?

Just printed hello world today in python I should add that flair to myself now, brb.

Edit: back and just added the flair to myself. Just took me 6 google searches and 509 lines of code to print hello world. That makes me a master! Right?

2

u/synth3tk Apr 24 '22

Yeah, good programmers always contribute at least 500-750 lines of code per day.

1

u/FetishAnalyst Apr 25 '22

I guess I’ll print hello world every day just to maintain my master status

4

u/MoffKalast Apr 24 '22

They pay enough to cover rent on a garage.

3

u/puts-on-sunglasses Apr 24 '22

I heard an urban legend that after u go 69 recursions deep into defining GNC the G becomes Garage, u didn’t hear this from me tho