is(x = module) vs. __traits(isModule, x)

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Oct 8 00:02:39 UTC 2020


On Wed, Oct 07, 2020 at 11:37:06PM +0000, Stefan Koch via Digitalmars-d wrote:
> On Wednesday, 7 October 2020 at 23:17:18 UTC, Walter Bright wrote:
> > I'm not sure which is the one to go, but we should not have both.
> 
> I agree.
> 
> Removing the either now would be a breaking change though ...

We could go through the deprecation process...?


> Which version is used more often?

Maybe grep through the most popular code.dlang.org repos?


T

-- 
Государство делает вид, что платит нам зарплату, а мы делаем вид, что работаем.


More information about the Digitalmars-d mailing list