Difference between Private and Public on PAWN
#6

Quote:
Originally Posted by T0pAz
Посмотреть сообщение
Thanks for sharing it. I did some research on implementing object oriented programming on PAWN watching some C Programming Language book. I am pretty sure it can be implemented. Not only OOP but keywords such as virtual, explicit, struct, protected, etc.
In order to implement it you'd have to explicitly change the language which is really out of the league of 98% of the people here. The same goes for those keywords, this is in no way an easy task at all (we're talking about adding an entirely new paradigm with advanced things like polymorphism after-all). At that point its like building an entirely new language!

The best you can really do is use macros to make a pseudo-OOP feel. Anyone who has real experience with the paradigm will never be satisfied with that though.

Edit: Also please note that C does not support object oriented programming. You can have object oriented programming concepts like polymorphism (which would be function pointers), and data encapsulation, but ultimately its not an OOP language.
Reply


Messages In This Thread
Difference between Private and Public on PAWN - by T0pAz - 23.01.2012, 02:42
Re: Difference between Private and Public on PAWN - by cessil - 23.01.2012, 03:03
Re: Difference between Private and Public on PAWN - by T0pAz - 23.01.2012, 03:24
Re: Difference between Private and Public on PAWN - by Kyosaur - 23.01.2012, 03:48
Re: Difference between Private and Public on PAWN - by T0pAz - 23.01.2012, 03:52
Re: Difference between Private and Public on PAWN - by Kyosaur - 23.01.2012, 06:39

Forum Jump:


Users browsing this thread: 1 Guest(s)