News for hackers. Stuff that matters.
Re:Most Unit Testing Is Waste (2014) [pdf] by osrec on Saturday June 29, 2019 @07:56AM (#20312075)
They can also be more difficult to refactor and adjust at a later date. This can be especially problematic if you're in an environment where logic needs to be altered rapidly in response to changing external conditions/requirements.
Re:Most Unit Testing Is Waste (2014) [pdf] by dahfizz on Saturday June 29, 2019 @08:22AM (#20312168)
The added "difficulty" is just the cost of doing a proper, correct refactor.

Dynamic languages are not helpful just because they let you write bugs faster.

Re:Most Unit Testing Is Waste (2014) [pdf] by chrisan on Saturday June 29, 2019 @08:31AM (#20312206)
I wouldnt even call that difficulty. That is a bloody loved feature in my book
Re:Most Unit Testing Is Waste (2014) [pdf] by sjy on Saturday June 29, 2019 @08:41AM (#20312254)
Developers are expensive though. If dynamic languages let you write buggy code in half the time that it would take to write perfect code in a static language, that would be an acceptable trade-off in many contexts.
Re:Most Unit Testing Is Waste (2014) [pdf] by adwn on Saturday June 29, 2019 @11:31AM (#20313121)
> If dynamic languages let you write buggy code in half the time that it would take to write perfect code in a static language, that would be an acceptable trade-off in many contexts.

Shit at 50% off is still shit. You're not being paid to produce shit, even if you might be really, really efficient at doing so.

Re:Most Unit Testing Is Waste (2014) [pdf] by sjy on Sunday June 30, 2019 @02:19AM (#20316674)
I assure you that many developers are being paid to produce shit.
Re:Most Unit Testing Is Waste (2014) [pdf] by walshemj on Saturday June 29, 2019 @09:54AM (#20312580)
Fixing bug later on get progressively more expensive, I though we had got over the KLOC metric decades ago.
Re:Most Unit Testing Is Waste (2014) [pdf] by walshemj on Saturday June 29, 2019 @09:49AM (#20312555)
Can you give some examples why - do you mean changing a variables type? that should jut be a matter of a find and replace.