Oxygen Basic

Information => Open Forum => Topic started by: Charles Pegge on August 17, 2017, 08:25:31 AM

Title: Object-Oriented Programming is Bad
Post by: Charles Pegge 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
Title: Re: Object-Oriented Programming is Bad
Post by: JRS 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.
Title: Re: Object-Oriented Programming is Bad
Post by: Charles Pegge 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 :)
Title: Re: Object-Oriented Programming is Bad
Post by: JRS 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.
Title: Re: Object-Oriented Programming is Bad
Post by: Charles Pegge 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
Title: Re: Object-Oriented Programming is Bad
Post by: JRS 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.