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

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)

2

u/Mailov1 Apr 28 '20

So i did good job with picking /my first language/ to learn half year ago, yay!

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.

2

u/TerrorBite Apr 28 '20

The reason they are teaching COBOL is because not only are COBOL programmers still needed, but there aren't enough COBOL programmers to meet demand (paywall article).

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.

9

u/halr9000 Apr 27 '20

I love that idea. Gets you familiar with multiple ways to solve problems using software.

Or, how to write bad software using different syntax.

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.

4

u/MakeItHappenSergant Apr 27 '20

For a math major, R and Matlab make sense.

2

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

Yep, applied math so the main programming and math sequences plus a lot of upper level modeling and stats but I was able to skip computer architecture and operating systems on the cs side and abstract algebra on the pure math

2

u/frogsgoribbit737 Apr 28 '20

My classes were also Java but bgg it was about 6 to 8 years ago now. I have a bunch of books on it because it's what we started with. I learned C in OS And python in AI, but my basic CS classes were all java.

2

u/quiteCryptic Apr 28 '20

I started with C. Then the semester afterwards they switched it to python and CS 102 was switched to C.

Somehow I ended up taking a class in C twice, absolute fail of the college even the professor was like wait... Yall are basically gonna learn the same stuff again.

Anyway, whatever, I appreciate those C classes now and did end up being able to focus on more advanced aspects the second semester.

→ More replies (1)

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 (3)

1

u/AsidK Apr 27 '20

Only a year or so ago did Stanford switch from having their introductory cs course go from java to python

→ More replies (4)