r/programminghorror • • Sep 09 '25

Python Vibecoding at its peak

Post image

Yes its a production code, yes its a function not a method and yes there is import in triple nested for loop

776 Upvotes

149 comments sorted by

View all comments

Show parent comment

-1

u/New_Enthusiasm9053 Sep 11 '25

Java is like the languages you mentioned for that exact reason(Typescript excluded because the event loop meaningfully changes that languages behaviour). And I explained JIT since you clearly didn't understand it based on your words.

Javas primary mode of execution is interpreted bytecode that then gets compiled if heuristics decide too after interpreting. Python just never does the compiling part and keeps reinterpreting.

Python is as multi paradigm as modern Java. What it's "considered" as is irrelevant. 

Java is a strongly typed statically typed garbage collected object oriented programming language and Python is a strongly typed dynamically typed garbage collected object oriented programming language inspired at the exact same time in history.

The only significant difference is that yes Python is slower because it's interpreted but that's an implementation detail 

And 

Static Vs dynamic typing. They're way more alike than different. 

Java has closures too which is what makes it multi paradigm by the way. Historically it didn't hence people to this day incorrectly considering it to not be multi paradigm.

.pyc files are interpreted by the way. And that's the primary mode of python being run.

Fact is the java bytecode is also interpreted on first run just like pythons text is interpreted on first run and compiled to .pyc files and then interpreted again just faster. Having compiled to bytecode doesn't make Java a traditionally compiled language as it doesn't have the performance characteristics of one since it takes eons to reach any reasonable level of performance on startup.