r/programming • • Jan 21 '20

(from /r/webdev) awesome article on good programming habits learned from Soviet space accidents

https://evilmartians.com/chronicles/what-i-learned-as-a-developer-from-accidents-in-space
134 Upvotes

12 comments sorted by

18

u/[deleted] Jan 22 '20

This story reminds me of the infamous install script for video card drivers that destroyed Linux systems.

This seems to refer to this issue

3

u/flwftw Jan 22 '20

Jesus, I broke an anxiety sweat just reading that

5

u/masklinn Jan 22 '20

There’s also the time steam for linux deleted everything it could from / down if you moved (then symlinked?) your user profile: https://github.com/ValveSoftware/steam-for-linux/issues/3671

1

u/[deleted] Jan 23 '20
# Scary!

1

u/2rsf Jan 22 '20

Actually that contradicts the first lesson

Lesson One: Never blame users

1

u/[deleted] Jan 22 '20

How so?

2

u/2rsf Jan 23 '20

If you give your users the (easy) option to shoot themselves in the foot don't blame them for doing so by mistake.

While I appreciate the Linux command line it is extremely easy to make mistakes

1

u/YotzYotz Jan 22 '20

That first and foremost, you should find somebody to blame and punish?

1

u/[deleted] Jan 23 '20

This was an amazing read!

1

u/7981878523 Jan 22 '20

Unix in the end borrowed a lot from the Soviet mind. Automate everything you could, write scripts, let the machines solve the 90% for you.

1

u/woahdudee2a Jan 22 '20

Airbus/Dassault seem to subscribe to this philosophy as well