in reply to Solution Approach
I'm not sure i necessarily agree with this statement. It would seem to me to imply that you're going off creating algorithms without a clear idea of what you want.
Documentation should be a part of your solution design anyways. From a design perspective the method i use to describe an algorithm is a UML / use case based approach. This gives me enough room to break down the problem then describe its components to a very detailed level including exceptions.
It will also solve one more problem in the long run: Documentation.
Anyone who is serious about their projects and the long term viability of their code should have their algorithms and application design documented anyways. It eliminates (or reduces) the bus factor associated with many shops. In a broader sense, on one hand no documentation may equal job security, but on the other hand, it also means you cant get promoted.
Its not really clear to me what you're attempting to demonstrate here.. colaborative design effort? code reuse, best practice?
Lots and lots of code ends up being one offs, and quite often taylored for a specific purpose - meaning the algorithm is really only useful in that situation. Looking at a wider picture there are lots and lots of permy solutions/algorithms that are designed as reusable solutions. Check out CPAN, a perfect example.
One of the things I love about perl is it is easy to go both ways. A dirty hackup that will do the job just that once for you can be written quickly, as can a more robust library that can fit into your growing toolbox...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Solution Approach
by artist (Parson) on Dec 23, 2002 at 19:06 UTC |