What's missing to make D2 feature complete?
via Digitalmars-d
digitalmars-d at puremagic.com
Wed Dec 24 03:24:25 PST 2014
On Wednesday, 24 December 2014 at 10:32:33 UTC, Daniel Murphy
wrote:
> I see this as more of an argument for avoiding long functions.
> Marking every possible parameter as const/immutable has a cost,
> and I don't think the number of bugs it prevents justifies it.
> If it was the default the cost wouldn't exist.
I want immutable by default, everywhere... Yes.
A lot of the semantics of current programming languages is due to
bad habits that was caused by languages designed for less capable
backends. When those languages were designed you had to optimize
trivial code by hand. C falls into this category.
More information about the Digitalmars-d
mailing list