Re: [go-nuts] Why isn't there "number plus" postfix syntax for more than or equal?

2020-04-23 Thread anon notmyfault64
In this context, this number plus syntax short-circuit more than or equal, so a 99+ is same as a >= 99 On Thursday, April 23, 2020 at 11:43:32 PM UTC+7, Ian Lance Taylor wrote: > > On Thu, Apr 23, 2020 at 8:48 AM anon notmyfault64 > wrote: > > > > Many times ou

[go-nuts] Why isn't there "number plus" postfix syntax for more than or equal?

2020-04-23 Thread anon notmyfault64
Hello, Many times outside programming we use "number plus" postfix syntax to denote more than or equal, for example: a 99+ But why isn't there such syntax above in all programming languages, including Go? That is, why does following code not compile with invalid syntax error? var r int = 18