Everything is understandable. Believe me. It was all invented by humans just as stupid as you. You can understand it. Just read the code. Printf debug. The oss alien GPU driver code with the solution was written by a furry that smokes an ounce of pot a week. That guys smarter?
Java is a language that arrives late to things. Let me prove it: lambdas, records, virtual threads, generics. Many other languages had them long before.
Now you might be thinking:
- Elder, are you trashing Java?
- Quite the opposite. To me this is one of Java's big advantages.
Before I tell you why, think of a company that's an expert at arriving late: Apple. It wasn't the first to launch a tablet, or a smartphone like the iPhone, or an iPod. It always got there later. And what's the advantage of arriving later? You get to avoid the mistakes others made.
A great friend of mine says Java has always been a production language.
- Yeah, but every language is a production language.
- True, every language is made to put things in production. But not every ecosystem has the culture of looking at production before shipping something. In Java that was always priority number zero.
The practical consequence? Lambdas, records, virtual threads, generics, and plenty of others went in without bugs in production. You won't find stories of "wow, records blew up in prod because they got the implementation wrong."
I've been at this for 27 years and I don't think Java will ever race to ship something before other ecosystems. And to me that's a career lesson too. Do I really need to rush to be the first to do something? I don't know. Looking at a language with over 30 years in the market, still evolving like no other, I think they know what they're doing.
This paragraph by Richard Feynman hits so hard:
“Fall in love with some activity, and do it! Nobody ever figures out what life is all about, and it doesn’t matter. Explore the world. Nearly everything is really interesting if you go into it deeply enough. Work as hard and as much as you want to on the things you like to do the best. Don’t think about what you want to be, but what you want to do. Keep up some kind of a minimum with other things so that society doesn’t stop you from doing anything at all.”
This line from Atomic Habits isn't ready to leave my head:
"It doesn't make sense to continue wanting something if you're not willing to do what it takes to get it. If you don't want to live the lifestyle, then release yourself from the desire. To crave the result but not the process is to guarantee disappointment."
"All men dream: but not equally. Those who dream by night in the dusty recesses of their minds wake in the day to find that it was vanity: but the dreamers of the day are dangerous men, for they may act their dream with open eyes, to make it possible."
— Lawrence of Arabia
If you don't wake up excited and go to bed tired, drop everything and think of what your future will look like if you keep repeating the same day for the rest of your life. Sit with that discomfort until a new direction appears.