by nunobrito · 3y ago · 0 comments
Stability, scalability and simplicity. Yes, you read correctly.
Whomever complains that Java is bloated or complex, needs only to look on who is writing that "piece" of code. Expert developers will write proper code that anyone can maintain and keep simple.
Too bad for Digg. Was a good site.
https://web.archive.org/web/20060412174457/http://www.oreill...
Digg even moved some processing from MySQL into PHP in 2009 to increase performance.
http://highscalability.com/blog/2010/3/23/digg-4000-performa...
Kind of difficult as you will always see those kids trying all kinds of magic with a language instead of razor sharp focus on the problem itself to be solved.
Anyways, I guess everyone passes through those phases of growth. Also unreasonable to remain like a dinosaur refusing to learn what else new is coming up.
These are not the adjectives I associate with Java...
Simplicity, you can code Java apps to be as simple as possible, unless you use a framework like spring, but that's true for any language. I used vert.X and it's expressJS of Java, very lean, basic but more batteries available if needed but still manages to be simple. Java doesn't have complicated concepts to understand nor does it have 100 ways to do the same thing.
Scalability, dockerize and scale to your heart's content or tweak the JVM params and max out your hardware.
What am I missing, not trying to be snarky, maybe you wrote more Java than me, may be for years, so genuinely curious to understand. For additional context, I coded in NodeJs, Python, Go, Swift and Java. and each have its own merits. So I'm not biased against Java.
Twitter would disagree[0].
> We now have the capacity to serve 10x the number of requests per machine. This means we can support the same number of requests with fewer servers, reducing our front-end service costs.
---
All phones since the last 30 years (including the famous Nokias) shipped with Java and apps that simply worked. Android is constructed on top of Java. What I build today with pure Java will run in 100 years from today without needing changes. Quite a different scenario for whatever other language that breaks stuff every couple of versions.
Using other languages is of course possible. In the same manner as building a wheel with stone is possible instead of using rubber.
Another pretty extreme view... there are plenty languages that can be used for complex projects.
Anything else is from startups that grew big and simultaneously polarized about their language decisions. Those decisions are tied to whatever lifestyle or political statement, more than a sane engineering decision that addresses technical debt in the future.