2 registered members (VoroneTZ, TipmyPip),
1,316
guests, and 0
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
OOP in lite-c
#266537
05/18/09 16:13
05/18/09 16:13
|
Joined: Mar 2009
Posts: 276 Cebu City, Philippines
boyax
OP
Member
|
OP
Member
Joined: Mar 2009
Posts: 276
Cebu City, Philippines
|
Hi, Just a tip in my mind... Hope lite-c would follow/support object-oriented programming paradigm. I think that would be a much work for the engine.. just a suggestion though.. Cheers
|
|
|
Re: OOP in lite-c
[Re: Nowherebrain]
#266988
05/21/09 10:18
05/21/09 10:18
|
Joined: Aug 2006
Posts: 652 Netherlands
bstudio
User
|
User
Joined: Aug 2006
Posts: 652
Netherlands
|
maybe you should look at C++, OOP is not a "C" thing...it is pretty much what separates C and C++. Well, you have Objective-C which is an object oriented paradigm of c, but it isn't usable with C. You can do a sort of fake OO with lite-C though.
BASIC programmers never die, they GOSUB and don't RETURN.
|
|
|
Re: OOP in lite-c
[Re: bstudio]
#267003
05/21/09 11:25
05/21/09 11:25
|
Joined: Jan 2004
Posts: 2,062 Hamburg, Germany
slacer
Expert
|
Expert
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
|
Well, there is no inheritance, no interfaces, no abstract classes. It does not make sense to fake this, because it would be just more complicated to maintain the source codes.
- Information hiding is not possible - you can not even create modules and link them. - One has to "include" .c files instead of linking compiled object files. - no modules, means that there is no file based scope for global variables.
I am missing some basic features here.
DLL creation is listed in the forecast, but it is not in development. At least there is no progress shown for this feature.
-- slacer
|
|
|
|