Manu Evans

Results 325 comments of Manu Evans

> That’s strong evidence that those operators aren’t a good idea. The G++ devs probably don’t deprecate and remove features for no good reason. The evidence shows that it wasn't...

xbox, xbox360, xbone all use windows slash too...

This keeps coming up for me again and again and again. Anyone who uses `@nogc` and also tries to use lambdas will very quickly encounter this issue. A delegate has...

This would also make it really easy to do one really common operation; promote a function to a delegate: ```d void function() f; void delegate() dg; dg = () =>...

🤨 It's not really either of those things; just that small closures should never allocate. There are many advantages.

Yeah, it was discussed up-thread that it only works if it's head-const. Does the compiler have enough knowledge to know if a value is ever written?

Great! An error is even better; I just assumed such a change would be impossible, because it will break the holy code in the wild.

> The `int[$]` would be a better solution. `[$]` would be glorious and it would mitigate some cases, but this is actually separate than that; sometimes you don't want an...

> Small sample size, but 80% erroneous usage is clearly a problem, or do you want me to look at buildkite projects as well to collect more data? My own...

Me and Dennis have both done an audit and found the error-rate is between 50-85%... cases of wrong-design are rarely more clear or egregious.