Kagamin Wrote: > Now I'm working on a large project written in C#. C# has only D1 const > system. Here I've seen no bugs caused by all data beign mutable. Even with > public mutable fields. Usually bugs we have are unimplemented logic, > incorrectly implemented logic, exceptions swallowing, undocumented external > unmanaged (and buggy) library, that wants nice parameters. And bad design, > oh... desing is baaaad.
Ah, and many casts to object and from object. This caused many bugs. That's why I will always advocate for throwing cast, it's unacceptable that D by default provides bug-prone behavior. I will never accept this.