r/java • • May 21 '20

Java programming language celebrates 25 years

https://www.infoworld.com/article/3544229/java-programming-language-celebrates-25-years.html
309 Upvotes

38 comments sorted by

View all comments

30

u/wsppan May 21 '20

And I am celebrating 20 years. Been consistently programming in Java longer than any other language I have learned (C, Perl, Tcl, Python)

19

u/agentoutlier May 21 '20

Been consistently programming in Java longer than any other language I have learned (C, Perl, Tcl, Python)

Ironically all 4 of those languages are older than Java.

Which is funny because people always say how old and dead Java is... it’s actually kind of young... hell I wish I was 25 again :)

3

u/vlcmodan May 21 '20

I am 25, same as Java. If I may ask what would you do if you were my age?

8

u/wsppan May 21 '20

Study Computer Science. I majored in information Studies in the late 80s and fell backasswards into software engineering. Took me forever to learn everything from first principals on my own that I would have gotten with peers from a CS program. If you study CS from first principals and learn C as your first programming language then picking up future languages (especially those at higher levels of abstraction) is usually pretty quick and easy (except a few like C++, Rust, and Haskel! But those are nearly impossible without those first principles.)

So, my advice if you have not studied CS. I've posted this before on Reddit and it's what has worked for me and a few others who told me it worked for them as well. Ymmv.

People sometimes struggle with C when they start from scratch or come from a higher to lower level of abstraction. I struggled with this for a long time till I did these:

  1. Read Code: The Hidden Language of Computer Hardware and Software

  2. Watch all 41 videos of A Crash Course in Computer Science

  3. Take the Build a Modern Computer from First Principles: From Nand to Tetris (Project-Centered Course)

  4. Take the Harvard CS50 Course

  5. Grab a copy of C programming: A Modern Approach and use it as your main course on C. You can also use Modern C

  6. Follow this Tutorial on Pointers and Arrays in C

The first three really helped by approaching C from a lower level of abstraction (actually the absolute lowest level and gradually adding layers of abstraction until you are at the C level which, by then is incredibly high!) You can do all three or pick one and dive deep. The fourth is also an excellent intro to CS as well and worth taking. The fifth is just the best tutorial on C. By far. The sixth is a deep dive into pointers and one of best tutorial on pointers out there (caveat, it's a little loose with the l-value/r-value definition for simplicity sake I believe.)

When you are done with those, follow the curriculum of a good CS program like Stanford or CMU or MIT. Explore the big topics like Data Structures Algorithms, Compilers, Operating Systems, etc.. By the time you get through all the above then Java is just a tool in your toolbelt and a fairly straight forward one at that. This will take a long time but were all lifelong learners right? Right now I am studying Rust and its async/await framework and functional programming with Scala.

If all the above does not apply to you, lol! Then ramp up on all the pereferals like Git, a decent IDE, JUnit, Mockito, Maven/Gradle, Debugger, Linux, etc..

1

u/amalik87 Jun 03 '20

In the age of heavy web development (Think: Javascript, SQL, etc), you think starting with C is still a good approach?

1

u/wsppan Jun 03 '20

Yes, I think grounding your education in computer science and first principles is the best approach. It gives you the vocabulary that is required to understand the problem space and define the solution space. Otherwise you are just a cut and paste code monkey in a pidgeon hole domain. BTW, the only technology that's web centric is javascript and Http/Rest/Soap endpoints. And those endpoints are so abstracted out by various language frameworks that what's left is thinking about the problem space in terms of abstractions and data structures and extracting and transforming data from the various data stores (SQL is but one of the tools available here and limited to relational databases and most definitely not limited to web development.) Having a solid grounding in CS gives you and enormous leg up here and vocabulary to define and describe the proble space. These skills translate to every domain out there making you much more valuable (to yourself and to others.)