Re: [Proposal] Remove the tail ws in codes

From: Date: Sat, 24 Dec 2011 11:11:30 +0000
Subject: Re: [Proposal] Remove the tail ws in codes
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-57075@lists.php.net to get a copy of this message
hi! Laruence refers to the PHP C source code and removing trailing white spaces is a good thing as it is part of our CS. Go ahead Laruence :) On Sat, Dec 24, 2011 at 12:09 PM, Rafael Kassner <kassner@gmail.com> wrote: > AFAIK, PHP files are transformed in bytecode before the execution, so > white spaces will not interfere in nothing except more time to > transfer the file over SFTP. > > It's pretty good to implement on our IDEs (and a lot of them is doing > it), once trailing white spaces are annoying while we are developing. > > On Sat, Dec 24, 2011 at 4:21 AM, Laruence <laruence@php.net> wrote: >> Hi: >>    I noted there are a lot of tail white spaces in our codes, >> >>    it is better to remove them all,  and we also should watch such ws >> in furture. >> >>    a simple way to erase such ws in vim, use :%s /\s\+$//g >> >> thanks >> >> -- >> Laruence  Xinchen Hui >> http://www.laruence.com/ >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > > > -- > Atenciosamente, > Rafael Kassner > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#57075) next »