Re:Vugu – Modern UI Library for Go and WebAssembly
by farah7 on Tuesday July 16, 2019 @06:53PM
(#20454654)
>It's like adding unit tests AFTER you've written everything. Just don't do it.
Funny you say this, because that's exactly what I do :)
I don't start unit tests on a new project/library until I flesh out most of the major components as I'm sure I'd be rewriting things multiple times as I'm iterating in the beginning. My guess is this method isn't uncommon....
Re:Vugu – Modern UI Library for Go and WebAssembly
by MrGilbert on Thursday July 25, 2019 @02:21PM
(#20527952)
Yeah, I know - that's how it's mostly done. I guess a Mish-Mash might make some sense? Because, often, I see people in my team creating "ConsoleApplication1"-kind of projects, so that they can build their components and already test them. That's when I mostly say "write a Unit test instead."
It's like adding unit tests AFTER you've written everything. Just don't do it.