Rant after trying Rust a bit
via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jul 25 00:19:54 PDT 2015
On Saturday, 25 July 2015 at 05:29:39 UTC, Jonathan M Davis wrote:
> Well, even if concepts _were_ where it was at, at least D
> basically lets you implement them or do something far more lax
> or ad hoc, because template constraints and static if give you
> a _lot_ flexibility. We're not tied down in how we go about
> writing template constraints or even in using the function
> level to separate out functionality, because we can do that
> internally with static if where appropriate. So, essentially,
> we're in a great place regardless.
The point of having a type system is to catch as many mistakes at
compile time as possible. The primary purpose of a type system is
to reduce flexibility.
More information about the Digitalmars-d
mailing list