News for hackers. Stuff that matters.
Re:Goodbye, Object Oriented Programming by Artlav on Sunday July 24, 2016 @04:01PM (#12154579)
I wonder if someone invented the "modular" programming yet.

Judging by the UNIX paradigm of the command line tools, the idea is clearly out there.

Instead of objects, do modules - things that do one thing, and carry minimal dependencies.

You need a banana? Grab the banana module. You need a banana with ice-cream center? Feed the "center" callback of the banana module with "ice-cream" instead of "banana intestines".

You need a copier? Grab both printer and scanner.

Is there any existing language that i'm describing now?

Re:Goodbye, Object Oriented Programming by hetfeld on Sunday July 24, 2016 @04:04PM (#12154600)
Yeah, it's called Procedural programming.
Re:Goodbye, Object Oriented Programming by nitsujin on Sunday July 24, 2016 @04:03PM (#12154594)
That's functional programming.
Re:Goodbye, Object Oriented Programming by jolux on Sunday July 24, 2016 @04:20PM (#12154676)
The irony of this and the comment above it...
Re:Goodbye, Object Oriented Programming by pjmlp on Sunday July 24, 2016 @05:07PM (#12154901)
It is what we had before objects, back when ADT meant Abstract Data Types.

Objects are basically ADTs with support for polymorphism and inheritance.

Re:Goodbye, Object Oriented Programming by maxxxxx on Sunday July 24, 2016 @04:23PM (#12154689)
You can do this with almost any language, OOP or not. Just stay away from inheritance.
Re:Goodbye, Object Oriented Programming by pmarreck on Sunday July 24, 2016 @09:25PM (#12155908)
Lisp is always an answer.