3 ms·
Some of the items mentioned in that list are the reason why: "The code you write with Go just seems to be correct." e.g. - Having to always check errors (or
by Arnor 13y ago
Some of the items mentioned in that list are the reason why:
"The code you write with Go just seems to be correct."
e.g.
- Having to always check errors (or at least explicitly ignore them)
* By the way, do this anyway. It's really nice when every error in your app is handled. Since I've started with Go for a personal project, I've used a similar approach in my sigh PHP project so every error now has an explanation and suggestion.
-Can’t have variables/packages that aren’t used so to test simple things requires sometimes commenting out lines
-Python is more forgiving. You can take slices of strings using indexes that are out of range and it won’t complain. You can take negative slices – not Go.