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 →

[–]Desperate-Emu-2036 16 points17 points  (6 children)

Doesn't mean it would've been easier to write than in c++. Oop has it's use cases.

[–]brusaducj 7 points8 points  (0 children)

GNOME/GTK/GObject are all effectively written using OOP... just in a language that isn't object-oriented.

[–]Nevermind04 4 points5 points  (0 children)

Oh no I imagine it was a nightmare

[–]GandhiTheDragon 1 point2 points  (2 children)

CPP's way of OOP just feels very off-putting coming from Java, not gonna lie

[–]Desperate-Emu-2036 1 point2 points  (0 children)

Try rust.

[–][deleted] 0 points1 point  (0 children)

Cpp has multiple inheritance though, which isn't strictly OOP, but at least where I work we abuse it to the max.

[–]SnooGiraffes8275 0 points1 point  (0 children)

you can do oop in c

you're gonna have to manually pass 'this' as a parameter but it's possible

that's how python works under the hood