Markus Eisele’s Post

“Java is the new Python” sounds like clickbait. It isn’t. The real shift isn’t the language. It’s the workflow. With JBang and Java 21, Java finally supports a scripting-first experience without sacrificing type safety, concurrency, or performance. The prototype-to-production cliff that pushed teams toward rewrites is quietly disappearing. I walked through concrete examples: – single-file scripts – instant HTTP services – typed CLIs – high-concurrency clients https://lnkd.in/e5gGiKmY #Java #SoftwareArchitecture #DeveloperProductivity #JVM

  • No alternative text description for this image

"... Java finally supports a scripting-first experience ...". The hello-worldish fans have had already jshell to pluckety-doo around. Okay, you'll argue that it lacks "safety, concurrency and performance". But why would a scripting language, which aims at chaining commands, need "safety, concurrency and performance" ? Single file scripts ? Big deal ! What a good idea to put all your classes, properties, configurations, etc. in a big spaghetti file ! HTTP services, high-concurrency clients ? You must be kidding. Who on the earth would like to address such complexity in homomorphic scripts ? You don't need me to tell you that Java isn't for that ! By promoting "tools" like JBang you just give good reason to those comparing Java with Python or go and find it less good.

Not sure why you Java people are so excited by reinventing everything on a lower quality and too late. Give yourself a favor, spend a week with Scala.

Next step is a notebook that runs this kind of script and run it. Then it will be closer to python.

Like
Reply

I think JBang is a very cool tool with a lot of use cases. In webforj we ended up using it in a probably non-typical way: building web apps using pure Java. The result is surprisingly nice. It’s a good starting point if you want to get something done quickly or just experiment. And interestingly, AI seems to love this model. When I ask it for anything webforJ-related now, it often scaffolds a working prototype in a single Java file. https://docs.webforj.com/docs/integrations/jbang

JBang? Interesting name choice. This whole conversation seems less than productive. When did LinkedIn become Reddit? These seem like TSS arguments from early 2000s.

Nice write up Markus Eisele. Thanks for sharing. I’m a massive fan of jbang and have really embraced the tool and am trying to share as far and wide as possible. It feels like the platform we’ve been missing for some time. It does feel like the other communities aren’t going to change to an alternative, we need more articles to show our Java community that they have the power right now! I’ve got one article suggesting using jbang in your ai skills … https://robintegg.com/tags/jbang/

The day this kids will come across a project like google , netflix ,or equity. they will realize why Java has been there for over 30 yrs

Python is the old Visual Basic for Linux

This week, I started thinking again about how I will teach new students in an algorithm and programming class to write their programs with Java next week. I love teaching Java from the beginning, and with JBang, I can do this very easily! Thanks for sharing Markus Eisele!

Interesting project I used to he interested in jython, groovy for similar reasons. Good luck! Seems like a worthy goal.

See more comments

To view or add a comment, sign in

Explore content categories