OOP tutorial added to the nxSoftware site!
Posted: Mon Feb 02, 2009 12:36 am
Hi,
just thought I'd let you know that I have just added the first tutorial to the nxSoftware site (in the form of a downloadable zip file).
This one kind of came at me by request and it interested me enough to cobble together a few words lacking in any kind of wisdom!
The tutorial aims to show how to use simple OOP techniques using nothing but native Purebasic code (i.e. no pre-processors etc.) It doesn't try to discuss general OOP techniques or program design or convince anyone that they should be using OOP above all other paradigms etc. It is simply intended to show how to implement a basic class in Purebasic etc.
This interested me because I now use OOP in all of my Purebasic programs; finding that PB's simplicity and clarity means that it's basic OOP is, for me at least, very effective and a boon for maintaining my code!
For those who use some of my OOP utilities and have studied the code therein, there will be no need at all to look at the tutorial as there will be nothing new in there for you. Ditto for those who have already used OOP in PB for themselves.
I hope it is useful in some way, but apologise in advance if it turns out to be a pile of unlaundered pants!
Regards.
Stephen.
just thought I'd let you know that I have just added the first tutorial to the nxSoftware site (in the form of a downloadable zip file).
This one kind of came at me by request and it interested me enough to cobble together a few words lacking in any kind of wisdom!
The tutorial aims to show how to use simple OOP techniques using nothing but native Purebasic code (i.e. no pre-processors etc.) It doesn't try to discuss general OOP techniques or program design or convince anyone that they should be using OOP above all other paradigms etc. It is simply intended to show how to implement a basic class in Purebasic etc.
This interested me because I now use OOP in all of my Purebasic programs; finding that PB's simplicity and clarity means that it's basic OOP is, for me at least, very effective and a boon for maintaining my code!
For those who use some of my OOP utilities and have studied the code therein, there will be no need at all to look at the tutorial as there will be nothing new in there for you. Ditto for those who have already used OOP in PB for themselves.
I hope it is useful in some way, but apologise in advance if it turns out to be a pile of unlaundered pants!
Regards.
Stephen.