4 ms·
It would be interesting to track the bug rate after this commit and compare it to the bug rate in the Typescript version of the code base.
by dmux 3y ago
It would be interesting to track the bug rate after this commit and compare it to the bug rate in the Typescript version of the code base.
- vlod 3y agoI expect they have a very large unit/integration test suite. Rails was the first (or very early pioneers) of doing TDD.
- _phred 3y agoA very cursory internet search shows that your history is entirely wrong: https://agileforall.com/history-of-tdd-as-told-in-quotes/ https://agileforall.com/history-of-tdd-as-told-in-quotes/ Djikstra proposed the idea in the 1970s. Rails did not in any way pioneer TDD. They were very vocal about it but “[stood] on the shoulders of giants.”
- vlod 3y agoSure, everything could probably be tracked back to the good golden years, but who was really doing TDD before Rails? I was doing Java back (during Kent Beck days of XP etc) and although I had heard of JUnit (and even heard Kent Beck preach about this at a conference) and it sounded cool, no team or company I knew was using it seriously. It's only when Rails came around where if (I believe if memory serves me right) the default controller/views generators created tests automatically. Ruby being a dynamic language and no compile step, you couldn't prove correctness before running it, meant you were skating on thin ice if you didn't write tests.
- vlod 3y ago> “[stood] on the shoulders of giants.” That's pretty much a given. I know someone people that worked at Xerox (when Steve Jobs visited) and they pretty much invented everything. lol. I've been told stories that pretty much technology after Xerox is a derivative from that time. Sure, I take that with a pinch of salt, but I half/mostly believe it.