If everyone learns to code, coding will not be a high-paying career anymore. Also many people can't code, because it is too detail-oriented. If one line of code has a typo, it doesn't work. Some coding also requires advanced math skills. Really not well thought out at all. But what more can we expect from the establishment?
Java is a lot of bullshit and I won't work with it unless absolutely necessary anymore. It's a very unfriendly language, especially as a beginner IMO.
If you're learning 2 code on your own I'd recommend ruby (or python) if you just wanna do a bit of automating or stand up a webserver or something, or scheme if you're interested in the fundamentals . JavaScript is unavoidable for web stuff so also might be a good starting point (especially the reactjs framework or nodejs for server-side)
I'm struggling through a java algorithms class right now, and I think I may avoid it for awhile going forward. I can't tell if I'm just awful at it or if the material I'm given in class is just kind of shitty.
Oof yeah that was pretty similar for me. Trying to do algorithms stuff in java was really painful when I was in school since seemingly half of it is fighting with weird java language constructs so by the time you get to actually trying to implement the algorithms you already feel drained and stupid.
Good luck comrade, I believe in you :heart-sickle:
Thank you!
I’d focus on just understand the algorithms vs actually getting it perfect in Java. It’s a very “opinionated” language and very much a product of the late 90s. OOP has been going out of style now for years in favor for functional programming and even in Languages that you can declare and build objects in like Python it’s so much easier/without all the extra junk in Java.
I assume this is for a CS degree? If you can I’d try to pickup a more functional language like JavaScript, Scala or even something Lisp related and implement the same algorithms.
Study HolyC and TempleOS exclusively to commune with God.
Only on the holy day my friend
I'll look into it, thank you!
Object-oriented languages like Java, C# and Python are quite a bit easier to deal with compared to other languages, since you don't have to think about the whole system as much -- your code generally is more contained. Plus they protect you from having to deal with pointers which can be extremely annoying to deal with. Like, compare it to C, and you'll get a glimpse of how much worse things can be. Compare it to LISP and you will see a much clearer picture of how much worse things can be.
At my university we started with C for understanding some of the underlying stuff that other languages kind of hide from you, then moved to C++ and Java for learning about OO programming and how to use it most effectively. Pretty sure our algorithms class used C or C++. We were also repeatedly told that if you know one of those three languages, you know them all (which is more or less true). Can't really tell if it's the material given in class without an example, but I remember that everyone loved our professor for the algorithms class and I don't think many people struggled in the class so quality of the material does matter.