2 ms·
Are 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
by hardwaresofton 11y ago
Are 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