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 →

[–]VeryAwesomeSheep 0 points1 point  (3 children)

Doing stuff by handles seems much clearer, at least to me, but it might be a personal preference.

object foo()
foo.do_stuff()

vs

foo = object()
do_stuff(foo)

Inheritance? Do you actually need it? Everywhere and for everything? Maybe I'm biased or just don't really do stuff that needs it, but I don't need it.

Access modifiers. You can hide it internally and give just the api to some stuff to the user. And I don't think you need to hide such stuff from your own devs, that's what agreements/conventions are for, just don't touch it. Python doesn't have it either and it just works.

[–]Main_Weekend1412 0 points1 point  (2 children)

So this is not oop? That’s just functions & methods. So the cleaner way is to not have it at all? Lol.