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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to