re: Should I learn Go? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Don't. IMO, Go is a worse version of C, made for people who don't want to go the extra step to achieve the same goal in C. Yep, you won't have poi...
 

Interesting. Can you give some example of Go's restrictive syntax compared to C?

 

That won't work in C either:

#include<stdio.h>

typedef enum { false, true } bool;

int main() {
   bool isOk = true;

   if isOk {
       printf("Its ok");
   }
}

So it's subjective at the end of the day.

C allows you to format valid syntax freely. Your example is not valid syntax.

code of conduct - report abuse