Re: [Q] Cleaning string whitespace trimming. Does it make any sense?

Ezequiel Garcia
2012-06-13T17:06:18Z

On Wed, Jun 13, 2012 at 4:23 AM, walter harms <wharms@bfs.de> wrote:
Hi Walter,

>
> as rule-of-the-thumb: just do it.

Thanks for this advice. I'm gonna do just that.

>
> Convenience functions like trim() are added add irregular intervals because
> they appear only if someone spots a pattern that he things is worth the effort.
> Older Code does not know about it, so changes are required through the whole
> code (look at patches from Julia Lawall, she has developed a tool to spot pattern).
>
> How does it look from a maintainers perspective ?
> 1. He can remove a function from your code and reduce what you have to maintain -> good
> 2. He has a special need and need its own code -> but at least you know about it now :)
>
> in short: you can make nothing wrong

Okey, thanks again.

Regards,
Ezequiel.