Hacker News new | past | comments | ask | show | jobs | submit login

> The way const/immuatable works, makes some devs just give up and remove them from their code.

That's true. The thing with D const/immutable is they are transitive, and the compiler means it. It's not a suggestion.

The advantage of enforced transitive const/immutable is, of course, is it's foundational if you want to do functional style programming.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: