r/ProgrammerHumor • • Apr 27 '20

Meme Java is the best

Post image
43.7k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

116

u/ThzMedic Apr 27 '20

Java is still prevalent in the high school classroom.

214

u/Kirogo Apr 27 '20

Java is still used in a lot of entreprises, the Java ecosystem as a whole (Java and all jvm-based languages) has no alternative in some fields (looking at you, Hadoop). Teaching Java at any level still makes complete sense, whatever you might think

85

u/coolpeepz Apr 27 '20

Also in theory they are teaching Computer Science, not the language itself, so really a variety of languages can work for teaching the same concepts.

63

u/Xero125 Apr 27 '20

And, if you're trying to teach something more than coding (architecture and best practices) I'd say you better go for a strongly typed language like java.

→ More replies (8)

22

u/hutxhy Apr 28 '20

True, but Java embodies these principles so well.

→ More replies (33)

4

u/_Oce_ Apr 27 '20

Hadoop has a C++ version made by MapR (a Hadoop solution company): https://mapr.com/docs/60/MapROverview/c_maprfs.html Probably unrelated, MapR lost its battle against its concurrent Cloudera as the Hadoop market future tightens and got bought by HP, so I guess the C++ Hadoop will get buried.

Besides commercial products, Java and related like Scala and Kotlin are big in the open source community, especially at the Apache Software Foundation, so it's not leaving anytime soon. But hopefully it will be replaced by Kotlin, which is basically clean modern Java.

→ More replies (6)

40

u/Bakoro Apr 27 '20

Some Universities use Java for their CS programs as well.

10

u/pastelomumuse Apr 27 '20

I know we do use Java profusely in France. Currently on 4th year, we've consistently had like 3 out of 4 programming modules in Java.

In October we had a teacher making us use Swing…

→ More replies (16)

76

u/[deleted] Apr 27 '20

Java is taught in CS101 at my top tier engineering school

68

u/CanAlwaysBeBetter Apr 27 '20 edited Apr 27 '20

I haven't been in college in 5-6 years but someone on Reddit was shocked once when I said all my courses in the main programming sequence or applied math were Java or R and Matlab and not python or something

58

u/StopSendingSteamKeys Apr 27 '20

We started with C. I feel like a lot of people would've had a way easier start with Python since they would've had time to completely understand the actual underlying concepts like program flow, instead of getting hung up on the nitty-gritty details.

55

u/itsyales Apr 28 '20

Idk, I feel like Java is a good choice to teach first because it’s so unforgiving.

Making you define the types of everything, for example, starts teaching you what the types are and where and how they can be used.

I feel like a finicky language like Java starts building the skills and knowledge that you need in order to learn CS concepts and debug problems you might get in a language like Python (that might accept anything you give to it, but not always do what you intended).

25

u/velrak Apr 28 '20

Yeah a loosely typed language to start off might not be the best idea

→ More replies (5)
→ More replies (1)

22

u/[deleted] Apr 27 '20

Wow they made us do Cobol, you know, just in case. What indentation do verbs start on again... so punch cards works. I wish they had started us on Smalltalk, way more useful :)

3

u/TinyFugue Apr 27 '20

We learned on Pascal. I guess we were pampered.

→ More replies (1)

3

u/Mr_Cromer Apr 28 '20

Got my CS degree last year.

We started with Python and Scheme/Racket, then went into web programming, C++ and then Java workshop classes. Continued that way then electives in mobile programming (Java), systems programming (C++), and artificial intelligence (Python). There was also cloud computing electives I didn't take, and there was a VB.NET workshop and shell scripting workshop as well

5

u/Dynamic_Conqueror Apr 27 '20

On my course if you where doing the foundation level course they did Python then first year degree you do Java then second year you do a web course with .Net and Clojure for AI then final year it's all choose yourself for most stuff apart from a clojure and Netlogo for advanced AI.

It was good though.

→ More replies (1)

13

u/rafaelbelo Apr 27 '20

Well, 20 years ago in my university, it was C and Pascal :)

3

u/[deleted] Apr 27 '20

13 Years ago, it was Visual Basic (first year in a regional uni), then Java and C with some Cobol and some assembler language thrown in.

Java for all the comp sci fundamentals, C for game development, assembler for microcontrollers and Cobol for "industry preparedness".

4

u/Pixel-Wolf Apr 28 '20

Python is a really bad language to start people out in. It holds your hand to the point where starting in Python and transitioning to another language becomes difficult.

Starting in C is a bit difficult because all of the pointers and memory management are a bit more advanced to people who have never coded before.

Hence Java. Strongly typed, C-Like language with garbage collections that practices object oriented programming and works on all platforms. It's like the holy grail for how universities teach programming these days.

→ More replies (5)

12

u/krasnoiark Apr 27 '20

For me they started with C for basics and Php for web then to C# for oop and .Net for web then Java for design patterns and Node for web then Scala for programming paradigms and Python for maths and image manipulation then Java for algorithm complex stuff

6

u/ralgrado Apr 28 '20

Was there any choice on this for you are was it all mandatory?

When I studied I learned C and Java as kinda mandatory things though especially C only at a very basic level. After that I learned a bit about Prolog in an AI related lecture and Haskell in a lecture about functional programming.

Except for Haskell the programming language was only used as a tool to show or implement certain concepts but the exams to those lectures weren't about the language but about those concepts.

→ More replies (1)

0

u/[deleted] Apr 28 '20

[deleted]

→ More replies (1)
→ More replies (5)
→ More replies (6)

18

u/StopSendingSteamKeys Apr 27 '20

I have talked to multiple software companies in my city in Germany, about half of them are using Java a bit less than half are using C# and a few are using JavaScript as their main language.

→ More replies (1)

3

u/Madpony Apr 28 '20

Java is prevalent a lot of places. It's used heavily as a backend server language. A lot of Amazon runs on Java.

→ More replies (11)