[wp-hackers] do you guys distinquish between various PHP commenting options?
nikolov.tmw at gmail.com
Fri Jul 18 21:06:19 UTC 2014
I prefer // for single-line comments and usually go with /**/ for
multi-line comments(although if I'm quickly commenting a couple of lines of
code while I'm working, I'd use the quick insert/remove comment function of
Sublime Text and it will just add // at the beginning of all selected
I'm not sure if there's a reason why you'd need a minified version of
WordPress(not sure if the license allows the WordPress source code to be
obscured in any way) - as far as I know the decreased file size won't make
a huge difference in performance or anything.
On Fri, Jul 18, 2014 at 11:33 PM, Haluk Karamete <halukkaramete at gmail.com>
> Commenting is great...
> But do you have personal guidelines as to which of the 3 commenting options
> that come with PHP when you comment on SINGLE LINES?
> We got 3 to choose from.
> /* */
> There must be a reason why we have 3 choices I'm thinking...
> And I'm also curious if a leaner version of WordPress (with 0 comments & 0
> unnecessary white space ) has been considered as an optional download for
> those who choose to do so (from the repository) discussed any earlier.
> For example, one can choose to download the minified version of 3.9.1 per
> I'm just curious how that discussion went - if any.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers