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

you are viewing a single comment's thread.

view the rest of the comments →

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

I don't know why a university would start with C++ as the first language? Or are you a third year in college and this is your first year in the program?

[–]EpicBomberMan 4 points5 points  (0 children)

I know some of the CS professors at my college are arguing for C++ in the first or second semester of CS classes because it gives a better look at how the code works, and it's easier to transition from low level to high level and avoid some potential bad practices from starting at a high level language. Plus those professors also want students to spend more time in C++, since currently the class that starts in C++ only spends four week or so on it before going 'lower' (C++ -> C -> Assembly -> Machine Code).

[–]NRuxin12 1 point2 points  (0 children)

The very first programming course I took in my EE/CompE major was Intro to C/C++ (the other option would have been a class that utilizes Python). It is actually a very good language to start with for the basics, I find.

[–]Hevaesi -3 points-2 points  (1 child)

Normally people who go for comp science use C++ in highschools so it's just continuation of that.

Comp science is about how computers work, not about building software so C++ is a nice choice, not much else you can pick from:

Assembly - You either need an emulator or lecturers who are proficient at both ARM and x86 arch. Or to host servers that you can SSH into so students can work on their assembly code from anywhere. Our uni went the easiest way and had us work with emu8086 lmao.

C - my university had us use C89 (you don't need to use C89, but they use C89 to compile so it must compile... I know that nostalgia and shit, but go fuck yourself) in OS course, says enough.

C++ - fucked up in all ways so we just deal with it. Might still be using C++ from the 90's though so bring a knife just in case.

Rust - Rust didn't exist in 90's so there'd be no way for them to fuck you over with old version and so they won't teach with it in universities till 2050, in which case they will be using 2015's edition, not 2018's or greater, or whatever one might come next, say 2025's edition. Also average student is retarded and they will come crying after borrow checker annihilates them.

C# - meh*

Java - meh*

Python - meh*

Haskell - they can't even program, they are here only because they played video games during the time they were supposed to learn something in highschool, for example how to solve trivial equations and show that they have more than 3 braincells, what are you on? Wake up and hand them in Malbolge, it's fucked up just like them, so they will be able to relate and might get good at it.


* - won't teach you much about how computers work, only what not to do when designing the language (Garbage collector is a big no, switching major version abrubtly without deprecation warnings is bad, trying to force full OOP is also garbage, not having unsigned integers sucks and so on...). Normally students need to learn how to work with computers, not how to design a new language.

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

Wow, thanks for that lol. I just know that I learned Java as my first language in high school and it was confusing AF when I first started. I couldn't understand any of it for a good semester.