4 ms·
You like the dependency management & testing stories of go? I'd say those are pretty common universal complaints from the people I know programming go.
by kasey_junk 11y ago
You like the dependency management & testing stories of go? I'd say those are pretty common universal complaints from the people I know programming go.
- hardwaresofton 11y agoAre you referring to vendoring? That's where I usually see the most complaints -- I mean the fact that something like "go get" was baked in from the get-go (to be fair, just about every modern language no considers this important). Not all languages came with any pre-baked (and decently considered) As far as testing goes, I find the stdlib to be adequate, especially for relatively simple programs. Are the complaints your familiar with over the lack of more powerful testing tools like quickcheck?
- hardwaresofton 11y agoAlso I wanted to add, if you are having problems with testing in golang, I've found great success with Gomega, Ginkgo and Agouti. They are fantastic libraries
- spriggan3 11y agoAnd then some guy somewhere will tell you using third party testing libraries is not "idiomatic" and shame the maintainer publicly in a blog post like it happened before. "You don't need that in Go"™
- kasey_junk 11y ago> Are the complaints your familiar with over the lack of more powerful testing tools like quickcheck? Yes but not just that, the stdlib test library is missing basic functions you will find in other testing libraries (things like equality asserts etc). It is of course adequate. But its certainly not great.
- hardwaresofton 11y agoYeah you're right -- fantastic is definitely an exaggeration
- dominotw 11y ago> dependency management & testing stories of go I've heard ppl complain about dependency management but what about testing ? Are there specific issues with testing in golang?
- kasey_junk 11y agoThe stdlib is very basic and many of the maintainers are opinionated about that being a positive.