Why is Java emphasized in undergraduate CS programs?
>inb4 Jobs Would Java have been so popular without the push from academia? >inb4 Portable Show me a microprocessor that doesn't have a C compiler
Imagine if you spent 2 of those semesters learning C really fucking well, and then another semester learning the most useful parts of C++. The whole tech world would be so much less bloaty.
Because it's statically typed, relatively easy to understand, has a very large standard library, including GUI support, it is object oriented (the most commonly used paradigm in the last 20 years), and because it's crossplatform, so students with every OS can use it.
Austin Myers
>and then another semester learning the most useful parts of C++. C++ is a mixture of huge chunks of obsolete paradigms, inconsistently mixed with new paradigms. It's only still so widely used because there already has been so much written in it.
Justin Parker
hey wow look another second year undergraduate CS student with room temperature IQ posting this same thread again
Tyler Sanders
All of those things apply to C. And as far OOP goes, real Chads pass structs by reference.
The goal is to obscure the hardware from the programmer, which ends up being a disservice to the end user who has to deal with the excessive resource usage.
Robert Murphy
>Why is Java emphasized in undergraduate CS programs? Entirely depends on Uni. My Java education was "here is how Java is different" after an algorithms course in C++.
If I had to guess why you learnt it: boomers
Isaac Davis
>which ends up being a disservice to the end user who has to deal with the excessive resource usage. It really depends though, the overhead of the JVM isn't neccesarily massive.
Programming close to the hardware is absolutely vital to learn, but sometimes it might not be the right choice. Languages with really high level features, such as c++ can still be fast.
Evan Turner
>Imagine if you spent 2 of those semesters learning C really fucking well They already do that, which is why there are so many tech geeker retards. They learn it "really fucking well" in the sense of Unix commands doing things "well." Now you have people who think they know how computers work but don't know anything.
James Thompson
Just works. No matter how bad you're writing software, you can make a functioning and somewhat understandable Java backend if you know how to read english.
Logan Bell
Please expand on that. I am a Computer Engineer and had to take additional classes for systems programming, but the Java classes I had to take with CS students who did not have to learn C.
I doubt those "tech geeker retards" are learning anything. They think the syntax is similar enough to their onions language, write something, encounter their first segfault, scream at a terminal window and stick with Python.
I have an entire algo trading program I wrote in C. Only 2k lines, multithreaded, and fast as fuck. Heavy ram usage because it's actually tracking a lot of data. You couldn't squeeze the same performance out of Java even with JIT.