Does D have too many features?
SomeDude
lovelydear at mailmetrash.com
Sat Apr 28 13:08:29 PDT 2012
On Saturday, 28 April 2012 at 20:02:12 UTC, q66 wrote:
> On Saturday, 28 April 2012 at 19:57:08 UTC, SomeDude wrote:
>> On Saturday, 28 April 2012 at 19:23:00 UTC, q66 wrote:
>
> So you don't agree version() is horribly half assed without
> AND/OR (how do you generate the same code for two different
> versions without copying or creating a new version covering
> both cases then?) and that "version = FOO;" makes no sense?
Sorry, with that, I agree. Nick Sabalausky proposed to remove
version entirely.
But I agree there could be something like:
version(LINUX|OSX){
...
} else {
...
}
More information about the Digitalmars-d
mailing list