News for hackers. Stuff that matters.
Re:Twelve Years of Go by skybrian on Wednesday November 10, 2021 @01:46PM (#29178642)
It depends on what kind. I didn’t find maintaining codebases littered with platform-specific ifdefs all that fun.

If statements used for error checking are a bit verbose but basically fine.

Re:Twelve Years of Go by mseepgood on Wednesday November 10, 2021 @01:56PM (#29178815)
Go doesn't have platform-specific ifdefs sprinkled throughout the source. Platform-specific code is separated into files guarded by build tags as recommended in 'The Practice of Programming'. Compile-time control flow is not mixed with runtime control-flow.
Re:Twelve Years of Go by skybrian on Wednesday November 10, 2021 @04:14PM (#29180905)
Sure, that was in C. Go is an improvement.