Sounds like TDD to me, which is ironic given the scorn it has with some game devs who preach performance from day 1 but think they don't have to worry about bugs sapping their productivity later on. Studies show TDD's ROI increases with programmer productivity: counter-intuitive.
-
-
-
Not liking TDD is not the same as being cool with bugs. We just use other methods that are better suited to the kinds of code we work on and the process we use to get there (this includes automated tests, just not TDD, and usually not unit tests either IME).
-
I've written plenty of unit tests for AAA game engines but I'm in the minority. When stuff breaks I can guarantee it's not in my code when I have a test to prove it works. CYA. Asserts all over the place are a poor man's TDD IMO & sadly the only tool in most coders' toolboxes.
-
Footnote 16 from the Wikipedia TDD page concludes: "The higher the initial productivity, the higher the chance for TDD to get a financial return over conventional development." https://en.wikipedia.org/wiki/Test-driven_development …
-
When serious bugs crop up, and people start pointing fingers, TDD has shielded me many times from the blame game (yes this happens at all studios, even those who preach otherwise). I can run the unit (or regression) test, show it passes and thus the code works -> bug is elsewhere
-
There are plenty of good reasons to use it, namely APIs are cleaner since their use cases are written in advance, saving potentially wasteful syntax or superfluous parameters. You work at Google, I see, I used Chrome's unit tests in 2011 to guide its integration into Age of Conan
-
Unit tests tell other programmers how to use an API, what are sane / expected input and return values, what other steps need to be taken (e.g. init / de-init). The price you pay upfront more than pays for itself later on, and data show this is even more true for experienced teams
-
I disagree with all of that. Imo TDD is insane and while unit tests w/o TDD have their uses their uses, there’s plenty of cases where they don’t pay for themselves. You don’t ship your tests, so fetishizing them is a mistake. For games in particular there’s better bang for buck.
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Yeah, and deferring features is also a disaster. Deferred just doesn't seem to work for software development :)
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।