News for hackers. Stuff that matters.
Re:Starbase Tour and Interview with Elon Musk by tjpnz on Saturday August 07, 2021 @07:18AM (#28097685)
>This is really interesting, probably controversial, but worth a lot of contemplation and I wonder how this could apply to software.

I was wondering that too. Is it the same as deleting unit tests?

Re:Starbase Tour and Interview with Elon Musk by maxerickson on Saturday August 07, 2021 @07:28AM (#28097731)
It's like removing bounds checking (a runtime safety feature).

A manufacturing line is more analogous to software during use than it is to software during creation.

Re:Starbase Tour and Interview with Elon Musk by nickik on Saturday August 07, 2021 @11:26AM (#28099269)
I think its kind of like when in Clojure, you only activate validation on the boundaries of your program in production, and disable the validation in the internals of the program.

Because a factory would still test its input, or the input would have been tested by the supplier.

Re:Starbase Tour and Interview with Elon Musk by jollybean on Saturday August 07, 2021 @08:44AM (#28098190)
I've noticed that my unit tests are really useful to work out the bugs, but then they might get stale.

Once something is tested and worked out, it's like they become a little redundant.

In software of course re-iterating the tests is maybe cost free, whereas in physical production 'unit tests' introduce maybe non-negligible costs so the 'advantage' in not having to repeat them possibly makes a difference.