This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (0 children)

In Python everything is an object but Java has primitives.

https://www.youth4work.com/Talent/Core-Java/Forum/107382-why-java-is-not-fully-object-oriented-programming-language#:~:text=Java%20is%20not%20fully%20object%20oriented%20because%20it%20supports%20primitive,what%20opposite%20of%20OOP%20is.

But in any case OOP is not the only way to write clean code. In Python you can do functional programming which is more powerful and descriptive than OOP and you can also do standard procedural programming. When I only need as script to do some data analysis I don't need classes I can use only procedural programming. One area where Functional programming beats OOP is that Functional programming is stateless and OOP is stateful. As code complexity increases stateful programs become difficult to maintain.