RFC: Units of measurement for D (Phobos?)

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 16 10:33:14 PDT 2016


On Wednesday, 16 March 2016 at 17:12:42 UTC, ZombineDev wrote:
> Sometimes a more gradual approach may be useful:
>
> […]

How would this be any more than an informational annotation? If 
anything, you could build a custom lint tool to propagate and 
verify the unit annotations, but I don't quite see how the type 
system/compiler would make use of it.

  — David


More information about the Digitalmars-d mailing list