News for hackers. Stuff that matters.
Re:C will never stop you from making mistakes by bigdict on Monday August 10, 2020 @03:03PM (#24112806)
Agree 100%. It is a tradeoff that detracts from ease of human interpretation.

Because C makes that tradeoff,

  int *a;
is idiomatic C and

  int* a;
isn't.

For C programming to be pleasant, you have to understand and agree with the philosophy at least while you're writing C.

Go developers changed this in a particularly elegant way. Here's what Rob Pike has to say: https://blog.golang.org/declaration-syntax.

I too gained a better understanding of the problem after going through a compiler-writing exercise.

There are no comments on this comment yet.