News for hackers. Stuff that matters.
Re:Interview with Go’s Russ Cox and Sameer Ajmani by rdtsc on Thursday March 26, 2015 @10:10AM (#9269700)
You are right, it would help with documentation, good point.

In general I use integration and unit tests for checking breakage. And of course documentation is in comments but that is not forced. The first set of unit or integration tests also function as "example code". Even when reading documentation I usually gravitate to "examples" section quickly anyway.

I just had smaller components that are rather independent if I can. It depends on the project of course. I guess I've been doing micro-services before they were cool.

There are no comments on this comment yet.