Topic List | Page List: 1 |
---|---|
Topic | Software Developer/Engineer Thread |
SilvosForever 03/30/23 10:09:49 AM #141: | Unit tests are most useful for parts of code that have complexity to them - like engineering math or geometry calculations etc. Things that you need to really make sure produces the right answers. I never understood people making unit tests for button clicks calling whatever function. Those seem like just pointless churn unit tests that don't really add any value. Unit tests are good - but be smart about it and don't be overboard. It's like programmers that add a comment to EVERY line of code - it's really not necessary and clean, well-written code doesn't need that on ever line. Only on the non-obvious bits. --- All your favorite RPGs: http://www.youtube.com/user/silvosforever http://i996.photobucket.com/albums/af84/silvosforever/funnygif.gif ... Copied to Clipboard! |
Topic List | Page List: 1 |