Skip to content

Comment on Go Testing by Example [video]

Comments

Go tests are fantastic. Fast, easy to write and just works. Another reason we moved to Go when moving off of Common Lisp.

Also, writing benchmarks that report time, memory, and allocations is just as easy as writing a test. A huge win for Go compared to trying to accurately benchmark memory or cycles in TypeScript or Java.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.