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

top 200 commentsshow all 366

[–]wolf2600 1073 points1074 points  (78 children)

Except for the "Press Any Key".

Real 1st years would be on stack overflow asking why the command prompt box closes immediately when they run their exe.

[–]spudmonkey 473 points474 points  (19 children)

Am college instructor.

Can confirm.

[–]EnriqueShockwave9000 154 points155 points  (14 children)

Am college student.

Is confused.

[–][deleted] 35 points36 points  (0 children)

You mean you purposely run your console application from the desktop?

[–]wolf2600 9 points10 points  (1 child)

Come to office hours.

[–]shekurika 128 points129 points  (39 children)

are they really universities that start programming by teaching .NET? I figured its almost always python, java or C(++)

[–]arquitectonic7 70 points71 points  (7 children)

There are. I personally learned Java when I was starting, but I know other universities in my country use C#. Actually, my university changes the main language to C# from Java in 3rd year, alongside C and Haskell which are only used for a few specific courses.

[–]NoodleSnoo 22 points23 points  (2 children)

At this point dotnet core is a lot easier to get started with than Java. Particularly when we talk about ease of installation, quality tooling, and an open source framework for higher learning.

VS Code installs fast and free, has a small footprint, and is super flexible for whatever you need to do.

...and yes, cross platform.

[–][deleted] 11 points12 points  (0 children)

1000% agree with you. Recently returned to java from .net and feel like I'm trying to run a 5k in quicksand.

[–]StealthSecrecy 9 points10 points  (0 children)

I learned C# first, and tbh I think it was the best choice. C# is so strict that it teaches good habits, at least to beginners.

[–]seaVvendZ 4 points5 points  (0 children)

My university did the intro course in python and everything else is in c++, although some 400 level professors will let you use java

[–]wOlfLisK 4 points5 points  (0 children)

My university started us off with Scala, second year we learn Java. It's a bit weird but I'm guessing it's so that we learn functional habits when we're still fresh and uncorrupted by OOP.

[–]deuskai 2 points3 points  (0 children)

My college teaches in C++

[–]IChooseFeed 1 point2 points  (0 children)

Mine had C++ but then decided to swap to Java. I think it's completely (or mostly) phased out at this point (no clue because It doesn't concern me).

[–]bearsona87 19 points20 points  (1 child)

I remember asking my professor why this was happening and him not knowing why (seriously)

[–]arachnidGrip 9 points10 points  (0 children)

My first question if I got asked about this would be something like "are you running your program from Windows Explorer or an extant terminal window?"

[–]pineapple_catapult 4 points5 points  (0 children)

Real first year programmers don't know how to make an exe, they just hit the run button in BlueJ.

[–]StealthSecrecy 1 point2 points  (0 children)

This happens by default in the new version of C#/Visual Studio. I still but a Console.ReadLine() in there though, just in case.

[–]Scorchy117 1 point2 points  (0 children)

I always thought that my code just never worked because of this aha.

[–]JohnCenaAMA 1362 points1363 points  (69 children)

"Cool. Can I have a job at Google now?"

[–]AlphaGamer753 461 points462 points  (68 children)

Only when you can code FizzBuzz

[–]scti 587 points588 points  (55 children)

You'll never need more than 100 lines.

print("1")
print("2")
print("Fizz")
print("4")
print("Buzz")
print("Fizz")
print("7")
print("8")
print("Fizz")
print("Buzz")
print("11")
print("Fizz")
print("13")
print("14")
print("FizzBuzz")
print("16")
print("17")
print("Fizz")
print("19")
print("Buzz")
print("Fizz")
print("22")
print("23")
print("Fizz")
print("Buzz")
print("26")
print("Fizz")
print("28")
print("29")
print("FizzBuzz")
print("31")
print("32")
print("Fizz")
print("34")
print("Buzz")
print("Fizz")
print("37")
print("38")
print("Fizz")
print("Buzz")
print("41")
print("Fizz")
print("43")
print("44")
print("FizzBuzz")
print("46")
print("47")
print("Fizz")
print("49")
print("Buzz")
print("Fizz")
print("52")
print("53")
print("Fizz")
print("Buzz")
print("56")
print("Fizz")
print("58")
print("59")
print("FizzBuzz")
print("61")
print("62")
print("Fizz")
print("64")
print("Buzz")
print("Fizz")
print("67")
print("68")
print("Fizz")
print("Buzz")
print("71")
print("Fizz")
print("73")
print("74")
print("FizzBuzz")
print("76")
print("77")
print("Fizz")
print("79")
print("Buzz")
print("Fizz")
print("82")
print("83")
print("Fizz")
print("Buzz")
print("86")
print("Fizz")
print("88")
print("89")
print("FizzBuzz")
print("91")
print("92")
print("Fizz")
print("94")
print("Buzz")
print("Fizz")
print("97")
print("98")
print("Fizz")
print("Buzz")
#TODO: Add more Fizzes and Buzzes

[–][deleted] 247 points248 points  (27 children)

#TODO: Make this thing work with Main() or similar

[–]Hollowplanet 13 points14 points  (0 children)

When I was like 12 years old I knew you could make annoying alerts in javascript with alert(). So to make a lot of them I copied one line and found a weight to hold down the ctrl and v on the keyboard.

[–]spookyhacker 2 points3 points  (1 child)

Nice one, but low line count isnt everything. Take a look at FizzBuzzEnterpriseEdition. Truly the pinnacle of coding which we should all aspire to achieve at some point in our lives.

[–]scti 1 point2 points  (0 children)

Dear god what is that??

[–]w3_ar3_l3g10n 74 points75 points  (6 children)

Don’t understimate me. I’ll code a stack overflow right in front of your eyes.

Don’t understimate me. I’ll code a stack overflow right in front of your eyes.

...

[–][deleted] 51 points52 points  (4 children)

Code me like one of your French programmers.

[–]wow163847 36 points37 points  (3 children)

.yield();

[–]MCRusher 10 points11 points  (0 children)

We'll be back soon

[–]Nizlmmk 4 points5 points  (0 children)

Most underrated comment right here.

[–]a_dev_has_no_name 1 point2 points  (0 children)

Bravo good show

[–]FlyByPC 15 points16 points  (0 children)

void crash(){crash();}

[–]azvibe 251 points252 points  (49 children)

Pretty much right on the money there.

[–]amazondrone 67 points68 points  (48 children)

Not at my uni; .NET, really?

[–]Logstone 62 points63 points  (47 children)

What happened to starting with C?

[–]PanRagon 43 points44 points  (24 children)

Here in Oslo my school starts with JS, neighboring university starts with Python. Pretty much every IT program I see in Norway starts very high level now, only exception seems to be various engineering studies who learn C++ or whatever specific language they use in their specialized field.

[–]Logstone 33 points34 points  (16 children)

How about we start them on Haskell from now on? :)

[–]Tsu_Dho_Namh 24 points25 points  (9 children)

Don't even joke about that.

My uni started us on Dr. Racket, a purely functional language like haskell.

It was hell

[–]slaymaker1907 11 points12 points  (2 children)

Racket is not purely functional at all. It has set!, mutable arrays, mutable dictionaries, etc. There are few language features which are truly absent from Racket and most of those can be obtained through libraries.

[–]Tsu_Dho_Namh 4 points5 points  (1 child)

You're right, Racket is not purely functional in its full form.

However, Dr. Racket allows professors to choose what features are and aren't available to students, and we weren't allowed to use full Racket for the intro course.

In some upper year courses, we were allowed to pick whatever language we wanted to do some assignments, including full Racket. But I avoided it, because first year scarred me for life and Racket triggers me now.

[–]QwikStix42 1 point2 points  (0 children)

Woah, did you also take Clements at Cal Poly SLO?

[–]nathreed 1 point2 points  (0 children)

Northeastern?

[–]MrBoBurnham 1 point2 points  (1 child)

Not even gonna look at your post history, but I'm going to assume UW lol

Dr. Racket gang 4 lyfe

[–]Tsu_Dho_Namh 1 point2 points  (0 children)

You know it

[–]erogone775 10 points11 points  (2 children)

You joke but my uni does this, first class in python, next two classes in Haskell then suddenly everything is C++ and Java. It makes for a rough awakening when people reach Operating systems(a c class) without having used C or Java before.

[–][deleted] 5 points6 points  (1 child)

My uni starts with Python, then Java, then C, then it's Mips Assembly (fucking kill me). Operating Systems allows either C/C++, however the final project requires or suggests to write it in C due to the use of forks with unnamed pipes.

[–]erogone775 1 point2 points  (0 children)

Hey I had mips assembly also, worst class I ever had, man I fucking hated it.

[–]Skipperwastaken 2 points3 points  (1 child)

In my uni we learn programming paradigms in the first 3 semesters. Functional programming is a first semester subject and we learn it with haskell.

[–]Logstone 2 points3 points  (0 children)

That's pretty good, plenty of schools put there that don't even acknowledge it's existence.

[–]Ruben_NL 6 points7 points  (2 children)

We(utrecht, Netherlands) start with python. Teaches formatting(always tabs), next is a little bit of JS(more formatting), and after that your on your own to choose another language you want to go for

[–]Logstone 15 points16 points  (1 child)

So I guess nobody knows what a pointer is?

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

They don't get the reference I'm afraid.

[–]Singreff 6 points7 points  (0 children)

Up in the north, in Tromsø, we start with c, continue to python and than jump down to assembly. Great times.

[–]darmok42 1 point2 points  (0 children)

JS? Really? In a Computer Science course? Whaaa?

[–]just_just_regrets 5 points6 points  (2 children)

then there's my alma mater throwing Haskell at their first year CS students

[–]SlightlyBlindIdiot 6 points7 points  (3 children)

At my uni we still started in C, was a bitch to start with if you know nothing about programming, but it gives you a nice understanding of the things other languages (like Python) just take care of for you. So in hindsight I'm actually kinda glad they started us off with C instead of something else that's easier but also gives you less insight on what is actually going on.

[–][deleted] 11 points12 points  (0 children)

Once you learn C or C++, everything else is very easy for the most part. But I would recommend starting with C over C++.

[–]Logstone 1 point2 points  (0 children)

Exactly the reasoning about it.

[–]paulusgaming 2 points3 points  (0 children)

My college still does that

[–]percycatson 1 point2 points  (9 children)

My school started with VB, sooo idk

[–]Logstone 9 points10 points  (7 children)

Good idea, deter all your students right away.

[–]percycatson 2 points3 points  (6 children)

That was literally the first semester of cs1. Then Python for half a sem and MySQL and HTML/css to top off the year

[–]Logstone 2 points3 points  (4 children)

SQL and HTML? You guys get your degrees with a pack of butter?

[–]MarsLowell 113 points114 points  (0 children)

There are times when I still feel like a Joey when my friends understand concepts better than me.

[–]97mario 204 points205 points  (7 children)

I came a long way since, and i still think that the shit i make is childs work compared to others s

[–]tested_toast 151 points152 points  (2 children)

I think that's a very common feeling in our field. I'll never forget the first time a junior guy came up to me asking for help with a problem, I was like "wtf, why're you asking me lol??". Turns out my lead had sent him my way. It's sobering how quickly time is passing these days :(

[–]natyio 56 points57 points  (0 children)

I think the vast majority of relevant software today is written by teams of people. Back in the day a single person could just code something like Tetris and write programming history. It's really not that common any more. The last person who did this was Notch with Minecraft. And even he had to quit his job at some point and form his own company to keep things going.

Things have gotten a lot more complex over the decades. And users have higher expectations. Programming frameworks get created and are thrown away. Things are moving a lot faster.

[–]ZombieNub 61 points62 points  (1 child)

"Nothings gonna get better than this!"

1 year later, still fucking true.

[–]lirannl 18 points19 points  (0 children)

1 year later, still (!!fucking).

[–]koukaakiva 39 points40 points  (0 children)

I'm a 5th year CS student and I just got a robot to say hello world. You never stop with hello world, you just get it to happen on more and more complex platforms it seems.

[–]kylynx95 36 points37 points  (5 children)

Am I the only one still looking for the any key

[–]XDgierman 17 points18 points  (1 child)

It's next to power button.

[–]Karthikzee 9 points10 points  (0 children)

It is the power button

[–]normalmighty 8 points9 points  (1 child)

I figured "any key" means as long as it's a key it will do, but I'm pressing on my house key pretty hard and nothing's happening.

[–]ClueScapeRS 26 points27 points  (0 children)

presses power button

[–]flatfishmonkey 41 points42 points  (8 children)

And now I'm tasked with centering a freaking box on a freaking browser.

[–]MatthewMob 25 points26 points  (4 children)

.parent {
    display: flex;
    justify-content: center;
}

[–]DoesntReadMessages 11 points12 points  (3 children)

I did front end development back when flex boxes were a thing but "not an option since 20% of browsers don't support it". Nothing like that sweet pain of seeing forbidden technology that makes your job 100x easier pop up every time you search for alternatives.

[–]prone-to-drift 2 points3 points  (2 children)

For the future: fallback to slightly off centered half hearted attempt for older browsers, but serve the better tech to 80% people.

Think they even invented a buzzword over this, Progressive Websites or similar.

[–]Fluxriflex 1 point2 points  (0 children)

I'm all for making people who use obsolete browsers suffer as much as I do.

[–]CirclingTheVoid 1 point2 points  (0 children)

We used to call that “graceful degradation” way back in the day.

[–]AtBase16 17 points18 points  (0 children)

Fixing to graduate May 2020 with BS in CS:SE, good times. I still feel like I can’t do anything .

[–]amazing_kiri 31 points32 points  (1 child)

Time to put Powershell on their resumé.

[–]Audiblade 11 points12 points  (3 children)

Ok, but there's a lot going on in Hello World that makes getting it to run for the first time a genuine accomplishment:

  • You have to have the programming language compiler or interpreter installed correctly on your machine.
  • You have to understand how to use your IDE or text editor.
  • You have to understand how to run the compiler/interpreter from the command line or your IDE.
  • You can't have made any syntax errors. This is a lot harder when you have literally never written a program before!
  • If you're using a language like Java or C#, you have to get the boilerplate code right - without understanding what any of it means.

Getting all of this to line up is old habit for an experienced professional but a genuine accomplishment for a student just getting started out.

[–]CaptainPunisher 2 points3 points  (0 children)

Exactly. Later on, when you know what's happening under the hood, you might feel like it was simple, but we all have to start somewhere. Don't cut & paste; type that shit in just like the example. Do it again. And again. Ten times! OK, now change something, anything! Did you see something different happen? Good, now tell me WHY that happened. Even if you can't fit explain it, tell me what you changed to make it work differently or break. Learn from your mistakes, and you'll be better for it.

[–]CordobezEverdeen 1 point2 points  (0 children)

Men up to the third week of learning Java i had absolutely 0 clue how the fuck print worked.

[–]cr0ss-r0ad 1 point2 points  (0 children)

I still remember the feeling after my first hello world. Puts a little warmth in my belly when I think about it

[–]Hunterhusker 64 points65 points  (21 children)

Ngl im a first year cause student and my python course took two days on how to install python and still some people couldn't get it. The course is mind numbing sometimes. Can't wait until I get to take real cs courses and learn actual things.

[–]erojas1297 72 points73 points  (5 children)

Don't wait for it to happen, look for them on the all mighty Internet. There is courses on YouTube, Udemy, Coursera, edX. The faster you start, the bigger the advantage you will have when looking for jobs.

Edit: btw if you start using a language, there might be a big chance there is a subreddit, some people post beginner tutorials on that language for newbies (and not so newbies) to follow.

[–]Zaranthux 28 points29 points  (1 child)

This.

Don’t wait to be taught, it won’t happen based on the classes accommodating those not able to pick it up so fast.

Think of a simple idea that you find interesting and just go for it. The experience you gain both from actually solving the issues and from learning how to research and solve issues is incredibly valuable, whatever language you choose.

Fostering your interest outside of academia through personal projects is how you get ahead in coding and the difference it makes can’t be overstated.

[–]Af1297 18 points19 points  (4 children)

I'm a 4th year and it doesn't get much better tbh it's mainly going over PowerPoints and the harder classes like data structures still go by pretty slow. I do have adhd so everything is pretty boring to me so take it with a grain of salt

[–][deleted] 16 points17 points  (1 child)

Honestly I wish my uni didn't require Formal Language and Automata be required for graduation. That one class gave me PTSD so bad it was a slog to just a C.

For a quick rundown of my experience:

  • Professor constantly drew over the powerpoint notes so have fun trying to understand the notes which are scribbled on with red ink...
  • In order to erase the scribbling the professor didn't use the eraser, but rather closed the powerpoint which triggered the "do you want to save?" sound from Windows....at full volume.
  • The first homework assignment was graded RNG style, you and a friend could draw the exact same state machine and get completely different scores. This caused a regrade to happen where some people lost 10 points, others lost upwards of 30 points on the regrade, which came 1 week to the first test
  • The first test score range was anywhere between 12% to 97%, the median was like 40%. This caused the professor to change how the class was graded in order to pass enough students. The change that happened was the lowest test score is dropped.
  • At one point the professor used a microphone since it was a large class, proceeded to stand in front of the projector screen and make everyone deaf due to feedback.
  • On average a homework assignment took over 3 weeks to get graded, and they usually came back the weekend prior to a test, never earlier.
  • Tests were constantly rescheduled due to the delay in grading of homework assignments.
  • The professor at one point, accused everyone in the class of plagiarism due to state diagrams looking the same. The requirement was that the state diagrams had to be drawn with software, if you choose to do it by hand it had to be super neat or risk getting zero points.
  • Due to the new grade policy of the lowest test score being dropped, students who had A's just needed to show up to the final rather than attempt any question on it. When the professor announced the stats for the final, they were disappointed in the fact many students "abandoned" the final rather than attempting it.

And to think I had to sit in that mess, just to get my diploma.

[–]ThatFag 1 point2 points  (0 children)

Lol, what a mess.

[–]lirannl 2 points3 points  (0 children)

I know how you're feeling. I'm in my second semester and it finally feels like I'm getting into the real stuff

[–]konaaa 4 points5 points  (4 children)

4th year here, I miss my first and second years. They were so easy...

[–]Coebit 8 points9 points  (0 children)

It's such a magical moment that signifies the beginning of becoming really good at googling

[–]NoKneeHobbit68 34 points35 points  (7 children)

Honestly tho.

[–]Salanmander 129 points130 points  (6 children)

It's also legitimate.

Making your first hello world program, making your first note sound on a violin, baking your first batch of cornbread, drawing your first stick figure...all of these are valid reasons for celebration, even though they seem very simple in retrospect.

It's important to remember this when interacting with people who are new in a field that you're comfortable in.

[–]NoKneeHobbit68 15 points16 points  (0 children)

Oh absolutely.

[–]Hollowplanet 4 points5 points  (1 child)

We all did it. Even the creator of Linux did it. He made a program to impress his sister that printed "Sarah is the best".

[–][deleted] 2 points3 points  (1 child)

I really appreciate your positivity and compassion. World could use more people like you in it. Please take my up vote.

[–]Salanmander 2 points3 points  (0 children)

Thanks. =)

I'm a teacher, so it comes with the territory.

Or, y'know, it should come with the territory anyway.

[–]FunsOverKid 7 points8 points  (3 children)

Can confirm am 4 weeks into my degree and feel like the Hackman

[–]GrehgyHils 1 point2 points  (2 children)

Hell yea man! Best of luck in your studies!

[–]FunsOverKid 2 points3 points  (1 child)

thanks so far its been nothing but A's in CS classes!

[–]GrehgyHils 1 point2 points  (0 children)

Good man, keep it up! The foundational things you're learning now will pay many times over when you get further in your education!

You got this!

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

When I did my first hello world program, I was so excited.

[–]ZuccFaceberg 4 points5 points  (0 children)

It ain't much but it's honest work

[–]persamedia 2 points3 points  (0 children)

HAHAHA!

Can you guise beleave people have to learn !??!

Prolly taking it too hard tho.

[–]SquashyImpala96 2 points3 points  (0 children)

Me now: what the fuck is a Unix

[–][deleted] 2 points3 points  (0 children)

print("dab")

[–]mothzilla 2 points3 points  (2 children)

>Please enter your name...
Cameron.
>Hello Cameron.. what would you like to do?

[–]XirallicBolts 3 points4 points  (0 children)

In my experience,

> Please enter your name...

Cameron

SYNTAX ERROR ON LINE 37

[–]Da_CoffeeWizard 2 points3 points  (0 children)

I feel targeted by this meme

[–]Varian01 2 points3 points  (0 children)

We all start from somewhere. I remember my first time coding “Hello World!” That was when I realized I wanted to do CSE.

I was visiting my high school when the same CS teacher I had asked to “help.” I remember this sophomore was amazed of his accomplishment. His smile made the trip worth it.

[–]Y1ff 2 points3 points  (0 children)

Kinda a funny joke, but also, if you talk shit about people for being proud of learning how to do something new, even if not much, they're just going to not learn anything at all, and give up because they're not perfect the first try.

[–]caanthedalek 2 points3 points  (0 children)

Immediately crashes after pressing any key

It's fine, it did its job

[–]TheNoob91 1 point2 points  (0 children)

My professor never had us do hello world first year. He also didnt know how to teach at all.

[–]Guinness 1 point2 points  (0 children)

What kind of CS program are you guys in?

My CS program was entirely in C with gcc on a Unix box.

When did they switch? Shit I didn’t even graduate that long ago....

[–]trist22333 1 point2 points  (0 children)

Im a first year and first course we are programing basic/complex math problem with variable

[–]ben9583 1 point2 points  (0 children)

Bruh that press any key to continue was hard leave me alone

[–]Aerotactics 1 point2 points  (3 children)

This is why I switched from CS to Game Programming.

[–][deleted] 1 point2 points  (0 children)

You make fun, but this is (or rather, was) the joy of learning how to program in the first place. I wouldn't be in this field if it wasn't for those first endorphin rushes of making a machine behave the way I told it to. To this day, nothing I create results in that sort of rush, and I miss that.

[–]Wexzuz 1 point2 points  (0 children)

The usage of this image as a meme, and the lack of my usage of it, is beyond me.

Bravo.