3 ms·
: doesn't work because that's for type ascription (i.e. specifying what the type of something is). The angle brackets were chosen because they match the way ne
by pcwalton 12y ago
: doesn't work because that's for type ascription (i.e. specifying what the type of something is).
The angle brackets were chosen because they match the way nearly all C-family languages except D notate generics: C++, Java, C#, Swift, Dart, TypeScript, ActionScript, …
The underscore improves readability here, IMO. We use underscores where they improve readability, similarly to PEP 8.