My thoughts about object oriented programming

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

My thoughts about object oriented programming

Post by Fluid Byte »

Image

PWNED!! Image
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Yup :twisted:

Btw, nice vibes from the station on your signature!
Last edited by Num3 on Wed Feb 28, 2007 8:03 pm, edited 1 time in total.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

:lol:
But the finger could be made better! :P :lol:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

Btw, nice vibes from the station on your signature!
Indeed! The only true house music station (IMHO)!
But the finger could be made better!
LMFAO! The finger is cheap as hell but the idea is incredible! Image
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
WishMaster
Enthusiast
Enthusiast
Posts: 277
Joined: Fri Jun 17, 2005 7:13 pm
Location: Franconia
Contact:

Post by WishMaster »

If PB would support OOP we could easily use great thirt-party libs like Qt...
Image Image
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Its not against the forum rules to misuse (abuse?) the PB pet??
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

WishMaster wrote:If PB would support OOP we could easily use great thirt-party libs like Qt...
Object Orientated Programming != using OOP libs written in c++
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

Post by utopiomania »

You asked for it! I like OOP, here's an example of a class calling an instance of itself:


Image
WishMaster
Enthusiast
Enthusiast
Posts: 277
Joined: Fri Jun 17, 2005 7:13 pm
Location: Franconia
Contact:

Post by WishMaster »

ts-soft wrote:Object Orientated Programming != using OOP libs written in c++
Of course, but it would be much easier.
Image Image
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

utopiomania wrote:You asked for it! I like OOP, here's an example of a class calling an instance of itself:
AHHHH, I'M BLINDED! *PUKE*


btw @Topic:
perhaps some don't know this link
http://www.geocities.com/tablizer/oopbad.htm
oh... and have a nice day.
merihevonen
Enthusiast
Enthusiast
Posts: 326
Joined: Mon Jan 01, 2007 7:20 pm

Post by merihevonen »

Lol.. I like Semi-OOP style programming..

Something like this:

Code: Select all

Type Object
 x.l
 y.l
 z.l
 sp.l
End Type

Character=Object()
..
If Character\x=5
 MessageRequester("","ERROR")
End If

Remove Character
Remove Object()
So.. half procedural and half OO.. that would be very good indeed.. :P
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

WishMaster wrote:
ts-soft wrote:Object Orientated Programming != using OOP libs written in c++
Of course, but it would be much easier.
I using XProfan with OOP Support, but for using OOP-Like libs is PB much
easier :lol:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply