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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 13, 2012 at 4:23 AM, walter harms <wharms@xxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux