News for hackers. Stuff that matters.
Re:Three Months of Go from a Haskeller’s perspective (2016) by thesz on Wednesday November 04, 2020 @02:33AM (#24987062)
I disagree with only 1 way to write programs in Go.

Go is not an old Fortran (see [1] about "the only real structure is an array") so there is always choice between array-of-structures and structure-of-arrays.

[1] https://www.ee.ryerson.ca/~elf/hack/realmen.html

Haskell (and C++ for that matter) can hide the difference with associated types (and templates).

PS Speaking about arrays - I once read Go's specification for some obscure fun and realized that I read a third of it and still am reading about arrays and stuff and not about programming.

There are no comments on this comment yet.