25 ms·
"Guess and check" is a technique that I have also used in Go code, and it is fine. A lot of the compiler errors really could be errors in pre-commit hooks (lik
by cbhl 6y ago
"Guess and check" is a technique that I have also used in Go code, and it is fine.
A lot of the compiler errors really could be errors in pre-commit hooks (like, the one about unused variables), but the language designers made a trade-off to be Even More Opinionated (than, say, Rails) because they thought it was best from a pedagogical perspective.