Author Topic: Object-Oriented Programming is Bad  (Read 269 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Author
  • *****
  • Posts: 3290
    • Oxygen Basic
Object-Oriented Programming is Bad
« on: August 17, 2017, 08:25:31 AM »

An interesting contra-view of OOP when it is zealously applied.

https://www.youtube.com/watch?v=QM1iUe6IofM

John

  • Hero Member
  • *****
  • Posts: 2813
Re: Object-Oriented Programming is Bad
« Reply #1 on: August 17, 2017, 10:22:34 PM »
Great discussion on OOP . It enforces Script BASIC's design and use of MODULEs (name space) instead of classes.

Amazing how Peter Verhas's vision of what a BASIC should be is still valid today.

Is there any interest in helping me build a C to C BASIC translator? I have already standardized on all new Script BASIC extension modules are done in C BASIC.
« Last Edit: August 18, 2017, 12:26:49 AM by John »

Charles Pegge

  • Author
  • *****
  • Posts: 3290
    • Oxygen Basic
Re: Object-Oriented Programming is Bad
« Reply #2 on: August 18, 2017, 03:03:25 AM »

Wherever you see handles in an API, there is OOP of some form on the other side. The  MS Windows GUI and messaging system is a prime example. And dare I also say IUP :)

John

  • Hero Member
  • *****
  • Posts: 2813
Re: Object-Oriented Programming is Bad
« Reply #3 on: August 18, 2017, 12:56:23 PM »
My only interest in OOP, COM/OLE is on Windows. The QuickBooks API is COM/OLE and I need an easy to use interface to MSOffice. I use no OOP in Script BASIC anywhere else.

Charles Pegge

  • Author
  • *****
  • Posts: 3290
    • Oxygen Basic
Re: Object-Oriented Programming is Bad
« Reply #4 on: August 19, 2017, 02:25:33 PM »
There are two more videos along the same lines, in which Brian Will explores some examples and compares them with the procedural equivalent:


Object-Oriented Programming is Embarrassing: 4 Short Examples
https://www.youtube.com/watch?v=IRTfhkiAqPw
4 mar 2016

Object-Oriented Programming is Garbage: 3800 SLOC example
https://www.youtube.com/watch?v=V6VP-2aIcSc
 21 Mar 2016

John

  • Hero Member
  • *****
  • Posts: 2813
Re: Object-Oriented Programming is Bad
« Reply #5 on: August 20, 2017, 08:12:02 PM »
Thanks Charles!

I have really enjoyed Brian Wills OOP presentations. I'm fighting this battle with Sage and their emulation of OOP with ProvideX Business BASIC.