[OSM-dev] extracting output text from api_controller

John McKerrell john at mckerrell.net
Wed Jan 23 17:26:46 GMT 2008


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
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080123/7b330ab0/attachment.html>


More information about the dev mailing list