News for hackers. Stuff that matters.
Re:It's not what programming languages do, it's what they sh... by naikrovek on Friday March 27, 2020 @12:08AM (#22700367)
I have never witnessed that in 15 years of working at places which write unit tests. I've witnessed a LOT of unit tests which test nothing and manually return the pass/fail result desired so the indicators stay green.
Re:It's not what programming languages do, it's what they sh... by NathanKP on Friday March 27, 2020 @12:33AM (#22700458)
That's very unfortunate.
Re:It's not what programming languages do, it's what they sh... by mdpopescu on Friday March 27, 2020 @08:52AM (#22702448)
I think the "leave the site better than you found it" advice applies here. Whenever you need to touch a piece of code, write the proper tests (hell, add some fuzzy testing if you don't want to write them by hand) and then improve that code.