On Saturday, 19 March 2016 at 09:35:00 UTC, tsbockman wrote:
Both of the literals I used in my example explicitly indicate the type, not just the value.

Yes, but few people specify unsigned literals and relies on them being implicitly cast to unsigned. You don't want to type 0UL and 1UL all the time. This is a another thing that Go does better, numeric literals ought to not be bound to a concrete type. So while I agree with you that the integer situation is messy, changing it to something better requires many changes. Which I am all for.


Reply via email to