▲ | JohnMakin 6 days ago | |||||||||||||||||||||||||||||||
at least python gives the flexibility to opt out of OOP, whereas in java, literally everything is an Object | ||||||||||||||||||||||||||||||||
▲ | lisbbb 6 days ago | parent | next [-] | |||||||||||||||||||||||||||||||
The main issue I have with Java is that the JVM was built to be portable and then we got a superior kind of portability using containers, which makes the JVM totally redundant and yet whenever I point that out, I get funny looks from people! I guess I have a lot of other problems with Java--jar hell, of course, but also the total inability for corporations to update their junk to newer versions of Java because so many libraries and products were never kept up with and then you get security people breathing down your neck to update the JVM which was LITERALLY IMPOSSIBLE in at least two situations I became involved with. We even tried to take over 3rd party libraries and rewrite/update them and ended up at very expensive dead ends with those efforts. Then, to top it all off, being accused of lacking the skill and experience to fix the problem! Those a-holes had no idea what THEY were talking about. But in corporate America, making intelligent and well-documented arguments is nothing. That's when I finally decided I needed to just stop working on anything related to Java entirely. So after about 15 years of that crap, I said no more. But I'm the under-skilled one. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | mrkeen 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
If only! Java gives you just enough non-objects to make pass-by-value or pass-by-reference something you need to be aware of, likewise with == and equals. | ||||||||||||||||||||||||||||||||
▲ | epr 6 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Everything is an object in Python as well | ||||||||||||||||||||||||||||||||
▲ | robertlagrant 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Literally everything is not an object - to whit: literals. And other things that weren't in your sentence. | ||||||||||||||||||||||||||||||||
▲ | Spivak 6 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
What do you mean by this? Because everything in Python is object, even classes and functions are objects. Do you just mean that Python lets you write functions not as part of a class? Because yeah there's the public static void main meme but static functions attached to a class is basically equivalent to Python free functions being attached to a module object. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | pjmlp 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
In Python everything is an object as well, unless you are still using Python 1.x, or the legacy mode in Python 2.x. | ||||||||||||||||||||||||||||||||
▲ | throwawaymaths 6 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||
that's why i said "to a certain extent" for python!! |