3 ms·
I think this is a great insight. I know that I prefer test-first because I haven't been testing for very long, and if I don't test first, I don't get around to
by steveklabnik 17y ago
I think this is a great insight. I know that I prefer test-first because I haven't been testing for very long, and if I don't test first, I don't get around to testing.
- michael_dorfman 17y agoThat's great, if it works for you. I certainly never discouraged my employees from using test-first, if that was what helped them write good code. But it's a long way from there to a categorical imperative.
- dalke 17y agoGoing from Wittgenstein to Kant's categorical imperative - nice!
- Nwallins 17y agoDon't mistake the instance for the class. The class of categorical imperatives, per Wikipedia: A categorical imperative ... denotes an absolute, unconditional requirement that asserts its authority in all circumstances, both required and justified as an end in itself. Whereas Kant's Categorical Imperative is an instance of that class, specific to morality: Act only according to that maxim whereby you can at the same time will that it should become a universal law.