[fpc-devel] ObjC branch

dmitry boyarintsev skalogryz.lists at gmail.com
Sat Sep 12 18:00:56 CEST 2009


Hello FPC Developers.

With the recent discussion of "what new fpc feature students can
implement" (at lazarus mailling list), I've followed the given link:
http://edn.embarcadero.com/article/34324

Do understand things right? Delphi  (.net?) class helpers are very
close to objective-C categories, for the expection, that helpers can
also add additional members and properties. While categories are
allowed to add new methods only?

Personally i don't like any kind of .nettism in Pascal. (as well as i
don't follow delphi "new features").
But still, if the fp compiler is to "catch up" with newer Delphi,
should Obj-C branch use the similiar syntax?!

NSSomeCategory = objcclass for NSObject
end;

imho, the following code looks much better:

NSSomeCategory = objccategory (NSObject)

thanks,
dmitry



More information about the fpc-devel mailing list