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

if r 13+ {
    fmt.Println("Hooray! We are teen! We can do anything!")
} else {
    fmt.Println("Oh No! We are still child, so we need parental control!")
}


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b12b55b0-10e8-4eb6-a902-aeec3132f486%40googlegroups.com.

Reply via email to