PureBasic with Classes & Objects (OOP Programming)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Stephane34
New User
New User
Posts: 1
Joined: Sun Aug 19, 2018 10:40 am

PureBasic with Classes & Objects (OOP Programming)

Post by Stephane34 »

Hey support,

Can you please add the Object Oriënt Programming Concepts for PureBasic.
I think with:

Base Classes
Derived Classes
Inheritance
Encapsulation
Polymorfisme
Delegates
Scope: private, public, protected
The Class Keyword, Object keyword

I hope that you this implemented this in the next upgrade version
User avatar
luis
Addict
Addict
Posts: 3876
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: PureBasic with Classes & Objects (OOP Programming)

Post by luis »

I like the fact you spent a lot of time searching the forum before making your first post.

viewtopic.php?f=3&t=53235
"Have you tried turning it off and on again ?"
A little PureBasic review
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic with Classes & Objects (OOP Programming)

Post by mk-soft »

This discussion has been mentioned many times and will not come.

Purebasic is procedure oriented and supports the call of objects.
This allows you to create objects yourself, just like in "C".
This is quite sufficient.

I prefer to create my own objects as needed rather than fighting through a huge framework library.

Many have provided includes or precompilers as support for objects.

See my BaseClass... (signature)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: PureBasic with Classes & Objects (OOP Programming)

Post by Dude »

Stephane34 wrote:I hope that you this implemented this in the next upgrade version
Image
User avatar
luis
Addict
Addict
Posts: 3876
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: PureBasic with Classes & Objects (OOP Programming)

Post by luis »

Considering the motivation behind the scene involving Obi-Wan-Kenobi, this must actually be the language he's looking for then. :)
"Have you tried turning it off and on again ?"
A little PureBasic review
Locked