[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Open source? -> Need to read source to model?
From: |
Ralf Stephan |
Subject: |
Re: Open source? -> Need to read source to model? |
Date: |
Wed, 19 Jan 2000 11:47:22 +0100 |
Pietro:
> I agree absolutely, but my suggestion (and my auto-discipline) is that
> of
> testing deeply, step by step, my results, never accepting a good result
> that arise from a simulation code if the same code is not reproducing also
> some well known verification result.
>
> Obviously, also in this way, mainly in the presence of random choices,
> we
> are never absolutely sure of out outputs, but ... browising a code (both
> our code or a professional one) are we sure of understanding all the
> consequences of the traduction of an algorithm in languages as C, Lisp, etc.?
That's the right spirit, and you touch an issue I was wondering about
with ObjC programming. First, let me say that testing step-by-step is
also the way to reduce possible bugs when writing code - this applies
esp. with OO languages, as the encapsulation within classes is a natural
compartmentalization of the testing space. Now, the Java and Sather
communities are used to writing test classes within relevant class files,
and there are Java tools that call these automagically after installation.
I had a huge reduction of debugging time when I forced myself to think
about, and write test cases/classes in the abovementioned languages.
Offhand, does anyone have pointers to/experience with how to do this
in ObjC?
Thanks in advance,
ralf
--
http://www.in-berlin.de/User/rws/
Decades of TV,
now watchers are being watched:
Society karma?
==================================
Swarm-Modelling is for discussion of Simulation and Modelling techniques
esp. using Swarm. For list administration needs (esp. [un]subscribing),
please send a message to <address@hidden> with "help" in the
body of the message.
==================================
- Re: Open source? -> Need to read source to model?, (continued)
Re: Open source? -> Need to read source to model?, David O'Sullivan, 2000/01/17
Open source? -> Need to read source to model?, James Odell, 2000/01/17
- Re: Open source? -> Need to read source to model?, Marcus G. Daniels, 2000/01/17
- Re: Open source? -> Need to read source to model?, Darren Schreiber, 2000/01/18
- Swarm by example (was Re: Open source? -> Need to read source to model?), glen e. p. ropella, 2000/01/18
- Re: Swarm by example (was Re: Open source? -> Need to read source to model?), Joseph & Kathleen Villa, 2000/01/18
- Re: Swarm by example, Darren Schreiber, 2000/01/18
- Re: Swarm by example, Marcus G. Daniels, 2000/01/18