> Florian Klaempfl wrote:
>  > > Skybuck Flying schrieb:
>  > > For records, I would use an extension field like:
>  > >
>  > > IP.Payload
>  > >
>  > > and
>  > >
>  > > UDP.Payload
>  > >
>  > > I would hardly call that obfuscation :)
>  >
>  > Having the same name for different things is always obfuscation.
> 
> 
> procedure test;
> procedure test(i: integer);
> procedure test(s: string);
> // oh shit, a STRING? Shortstring? or ANSISTRING!!

UTF16 Widestring on Tiburon (D2008 when it comes out) even.

(rest of rant skipped). 

You are partially right. If you encounter code that uses a "string" and its
implementation expects a certain type, please file a bug.
_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-other

Reply via email to