Would it be worth using a function rather than a hash, so that more functionality can be added later if necessary?

John

On 23 Jan 2008, at 17:20, Xin Zheng wrote:

Tom,

My aim is to clean up the code so I can easily and safely add new functionality. Extracting the output string like this takes a step in that direction.

From the lessons I've learnt while developing software, I would highly recommend this change.

This change would make the application more cohesive. http:// en.wikipedia.org/wiki/Cohesion_%28computer_science%29

Xin
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to