Rant after trying Rust a bit
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 24 11:39:03 PDT 2015
On 2015-07-23 22:44, Walter Bright wrote:
> I knew someone would bring that up :-)
>
> No, I do not believe it is the same thing. For one thing, you cannot
> test the various versions on one system. On any one system, you have to
> take on faith that you didn't break the version blocks on other systems.
Perhaps it might be good idea to allow to set a predefined version
identifier, i.e. set "linux" on Windows just to see that it compiles.
Think of it like the "debug" statement can be used as an escape hatch
for pure functions.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list