On Mon, Jul 26, 2010 at 4:40 AM, Graeme Geldenhuys
<graemeg.li...@gmail.com>wrote:

> In short - Delphi in-compatibility is not a
> problem here, just like Generics or Compiler Modes or ..... FPC doesn't do
> everything like Delphi, sometimes it does things _better_ than Delphi. FPC
> Namespaces would hopefully fall under the latter.


I'd say that the way FPC handles things different than Delphi in some cases
is worse. Take generics, which you mentioned.

type
  generic TSomething<T> = class

is worse than

type
  TSomething<T> = class

The only reason I can see having put the word "generic" in front of the
identifier, something which Pascal has never done (put keywords in front of
identifiers when declaring types), was to make it easier for the compiler
author. That is to say, negate the need to look ahead.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to