[fpc-devel] New language idea: Unified types (assignmentsize-compatible types).

Lloyd Park lloyd.b.park at gmail.com
Mon Jun 20 16:30:01 CEST 2011


Not to mention that it breaks the strong typing that is central to Pascal's design.


On Jun 20, 2011, at 5:16 AM, Paul Dunn wrote:

> On Mon, Jun 20, 2011 at 6:12 AM, Skybuck Flying <skybuck2000 at hotmail.com> wrote:
> 
>> Not a problem, that's what the unified type is for.
>> 
>> It detects "pointer" and "longword" is of different size on 64 bit so then
>> it's not allowed ;)
> 
> Wouldn't that break your code between platforms quite considerably? I
> can't see how this would be remotely useful!
> 
> D.
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110620/fb3269f4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 235 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110620/fb3269f4/attachment.sig>


More information about the fpc-devel mailing list