[wp-trac] [WordPress Trac] #14657: Resync Boolean Type Case

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 23 12:14:26 UTC 2010


#14657: Resync Boolean Type Case
-------------------------+--------------------------------------------------
 Reporter:  jacobsantos  |       Owner:                  
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  Awaiting Review 
Component:  General      |     Version:                  
 Severity:  trivial      |    Keywords:  has-patch tested
-------------------------+--------------------------------------------------

Comment(by jacobsantos):

 Well, to me they should be lowercase because of having to type them out a
 lot. The other reason is that language reserve words or keywords should
 always be lowercase to differentiate from other user defined terms.

 The argument is whether or not the language type lowercase usage should be
 used verses the language implementation of them actually being constants,
 albeit case-insensitive constants.

 The problem also is that if we switch over to using what is defined as
 constants, we'll have to use {{{NULL}}} instead of {{{null}}} as well.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14657#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list