If no OOP, how about object-based coding style in PB?

Everything else that doesn't fall into one of the other PB categories.
User avatar
heartbone
Addict
Addict
Posts: 1058
Joined: Fri Apr 12, 2013 1:55 pm
Location: just outside of Ferguson

Re: If no OOP, how about object-based coding style in PB?

Post by heartbone »

HanPBF wrote:I didn't get it:
Of course PureBasic could not be written in itself.
Why???? Or did I miss the context?
Lunasole wrote that Fred doesn't use PB for his serious projects.
I was pointing out that Fred could not have used something that did not exist to create PB.

It would be interesting to know if PB could be recreated using the current PB compiler.
Keep it BASIC.
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: If no OOP, how about object-based coding style in PB?

Post by Tenaja »

heartbone wrote:It would be interesting to know if PB could be recreated using the current PB compiler.
It most certainly can. The PB compiler has no magical features that cannot be compiled by itself. Considering the libraries are compiled separately, the IDE is probably more complicated than the compiler.

However, most C compilers have better optimization, so it will run faster if it is not converted.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: If no OOP, how about object-based coding style in PB?

Post by Dude »

IdeasVacuum wrote:You are marching into Rome and saying you don't want to talk in Italian - can they change their language to Greek?
I like that! Very good! 8)
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: If no OOP, how about object-based coding style in PB?

Post by Dude »

heartbone wrote:It would be interesting to know if PB could be recreated using the current PB compiler.
Don't know about the compiler, but PureBasic's IDE (the editor) is written in PureBasic.
Post Reply