On 11/04/14 07:40, Walter Bright wrote:

You could, but then you'd lose the self-documenting aspect of static
type checking. See the "Color" example.

     alias int Color;

doesn't offer any protection from a Color value getting mixed up with a
file mode mask.

Then you might want to use a struct instead.

--
/Jacob Carlborg

Reply via email to