SyntaxBoom

Languages & Coding => Other Languages => Topic started by: Jackdaw on Jul 21, 2025, 06:16 PM

Title: Purebasic Object-Oriented Programming
Post by: Jackdaw on Jul 21, 2025, 06:16 PM
While looking into converting the recent example that I posted for Cerberus-X and BlitzMax into Purebasic. I came across this (http://drac.site.chez-alice.fr/Tutorials%20Programming%20PureBasic/indexTutorials_en.htm#POO) article.

You can find it on git hub as well. (https://github.com/tajmone/purebasic-archives/blob/master/tutorials/oop/drac/en/OOP-Demystified.asciidoc)

It does sound like it's a lot of work to implement a type of OOP though.
Title: Re: Purebasic Object-Oriented Programming
Post by: Naughty Alien on Jul 22, 2025, 03:09 AM
..PureBasic, stands out a little bit from typical 'Basic' type of language, but as everything else, once you grasp concepts, its really not issue at all..and its really really fast..
Title: Re: Purebasic Object-Oriented Programming
Post by: MikeHart on Jul 22, 2025, 09:08 AM
I think modules and structures are enough to have some kind of oop approach in PureBasic. Pete explains it very well. In the last weeks he has been publishing video after video.

https://youtu.be/VXFYt0_geqc?si=KWVxBlyMNrB6aMmh
Title: Re: Purebasic Object-Oriented Programming
Post by: Steve Elliott on Jul 23, 2025, 09:38 PM
Yes I agree Mike, even John Carmack uses the very minimum OOP and codes in a C style with a few C++ OOP features.