5 ms·
In expressions such as: uint(48, ~); What does ~ mean? If it means anything is allowed, then it would be more concise to simply say: uint(48);
by cabalamat 4y ago
In expressions such as:
uint(48, ~);
What does ~ mean? If it means anything is allowed, then it would be more concise to simply say:
uint(48);
- kstenerud 4y agoYes I thought about that, but then it would require allowing function overloads, which adds complexity to the metalanguage. Since the purpose is for documentation, I think it's better to be explicit anyway.
- cabalamat 4y agoIt's your metalanguage so you should make it the way you like. If I was doing it, I'd allow for default values for stuff.