LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 21 Feb 2012 10:12 PM |
Hi all.
This is a thread to discuss development strategies.
I'm thinking of beginning to use a test-driven development strategy (because I've only tried a couple times, and it wasn't very well planned out.)
What development strategies do you use? What do you think of test-driven development? What strategies are best for what types of projects? |
|
|
| Report Abuse |
|
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 21 Feb 2012 10:29 PM |
| TDD looks awful to me... It's too organized. I use a very unorganized strategy that generally follows the pattern of Behavior Driven Development although I deviate slightly. i think BDD works well for nearly anything. TDD is too organized and doesn't think ahead imo. |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2012 10:33 PM |
| I don't know what you people are talking about, care to elaborate? |
|
|
| Report Abuse |
|
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
| |
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 21 Feb 2012 10:51 PM |
| I like the idea of TDD because it lets me know what my code will be without actually implementing it, and then implementing it and watching it fail in almost real time. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 21 Feb 2012 11:11 PM |
It may be too powerful of a tool for the kind of code that you typically write on Roblox. While you'd certainly have nice robust code if you wrote it that way it may not be worth the extra time that it would take.
I suspect that if you tried writing the code in that fashion that you would lose interest and stop writing tests for all the stuff that you do, at which point you might as well not be doing it that way in the first place. |
|
|
| Report Abuse |
|
|
mustyoshi
|
  |
 |
| Joined: 27 Dec 2007 |
| Total Posts: 41651 |
|
|
| 21 Feb 2012 11:48 PM |
I write at most 20 lines of code before testing to make sure all is well.
~Monica |
|
|
| Report Abuse |
|
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 22 Feb 2012 12:43 AM |
My record for most coding written without testing that had no bugs was 328 lines. That was a year ago, and I haven't gotten close since.
Maybe I'll make some sort of plugin to ease the idea of making unit tests, like Visual Studio's Unit Test template (doesn't it have one?) |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2012 07:14 AM |
1.Get game idea 2.Make half finished hacky badly designed scripts 3.Hack it together 4.Copypasta code made for other games and add code to make it not crash 5.Add vip 6.Publish |
|
|
| Report Abuse |
|
|
1Ra
|
  |
| Joined: 02 May 2010 |
| Total Posts: 2400 |
|
|
| 22 Feb 2012 02:07 PM |
| i always test after a block or two of code, like if I finished 2 functions then i would test. |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2012 03:03 PM |
| I'm crazy, I have to constantly make sure it's working, lulz. |
|
|
| Report Abuse |
|
|