If you could make any changes to D, what would they look like?
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Thu Oct 28 10:58:15 UTC 2021
On Wednesday, 27 October 2021 at 19:53:52 UTC, H. S. Teoh wrote:
> The bigger benefit is the mechanical verification that you
> didn't accidentally depend on global state when you didn't want
> to, which can help with improving code quality.
It could if "pure" was default and you had to type "uses_globals"
if you went past that. Adding pure all over the place is just too
tedious and visually annoying.
More information about the Digitalmars-d
mailing list