2 ms·
> People don't commit code without any tests (because it will break production!) It sounds like a really bad idea. It's like saying: When juggling, it's best t
by js8 6y ago
> People don't commit code without any tests (because it will break production!)
It sounds like a really bad idea. It's like saying: When juggling, it's best to start with knifes, because every mistake will mean you're going to cut yourself, and you will quickly learn not to make mistakes.
- virgilp 6y agoExcept the "production" when you start is really a pre-production environment, meaning you won't _really_ cut yourself. To modify your analogy - which strategy is better: - start with blunt knives, realize the opportunities to hurt yourself, put safeguards in place (e.g. use protective gloves) OR - practice juggling balls until you get really good at it, then switch to knives for the real show.