Do everything in Java…

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 4 21:19:24 PST 2014


On Thu, 04 Dec 2014 21:03:59 -0800
Walter Bright via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> On 12/4/2014 6:47 PM, ketmar via Digitalmars-d wrote:
> > and what i also can't grok is "test-driven developement". ah, we spent
> > alot of time writing that tests that we can't even run 'cause we didn't
> > start working on the actual code yet. it's splendid! we didn't start
> > the real work yet and we are already bored. i don't believe that this
> > is a good way to develop a good project.
> 
> What I find most effective is writing the unit tests and the code they drive at 
> the same time.
that's it. programmer needs something to test his newly written code
anyway, so tests are natural here. some tests can be added as a
reminders: "oh, and i want it to do this too, but don't want it to
distract me right now. let's add a test for it, so i will not forget
about it later." failed tests works, "TODO" comments are not. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141205/e0771007/attachment.sig>


More information about the Digitalmars-d mailing list