Other notes
BCS
ao at pathlink.com
Sat Nov 24 13:03:16 PST 2007
Reply to bearophile,
> 3c) This is a bug that Python avoids, because it doesn't use { } to
> define blocks. In D leading spaces are ignored but they can be used by
> the compiler to spot this situation and maybe it can issue a warning:
>
> if (...)
> first();
> else
> printf("Calling second()");
> second();
leave that to some sort of "Lint for D"
> 4) Every language feature adds complexity to the compiler, makes the
> language manual longer, requires programmers to remember more things,
> etc. So every language feature has to be kept only if enough people
> use it, without a good way to replace it, etc. I like D real type, but
> so far I have't found a situation where double can't solve my problem.
> So who of you is using the real type? If there isn't enough people
> using it then it may be removed from the D specs.
>
I only use real. On most, if not all, systems it's just as fast as double
(OK it needs more IO time but...) so why not use it?
> Bye and thank you,
> bearophile
More information about the Digitalmars-d
mailing list