<div class="gmail_quote">On Mon, Jul 26, 2010 at 4:40 AM, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graemeg.lists@gmail.com">graemeg.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In short - Delphi in-compatibility is not a<br>
problem here, just like Generics or Compiler Modes or ..... FPC doesn't do<br>
everything like Delphi, sometimes it does things _better_ than Delphi. FPC<br>
Namespaces would hopefully fall under the latter.</blockquote><div><br>I'd say that the way FPC handles things different than Delphi in some cases is worse. Take generics, which you mentioned.<br><br>type<br> generic TSomething<T> = class<br>
<br>is worse than<br><br>type<br> TSomething<T> = class<br></div></div><br>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. <br>