PB5.40B8 - #Empty$ should be #EMPTY$

Everything else that doesn't fall into one of the other PB categories.
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

PB5.40B8 - #Empty$ should be #EMPTY$

Post by uwekel »

Hi,

i am just wondering why the name of the new #Empty$ and #Null$ constants are not all in upper case.

Greetings
Uwe
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Kuzmat
User
User
Posts: 13
Joined: Mon Jan 27, 2014 9:09 am

Re: PB5.40B8 - #Empty$ should be #EMPTY$

Post by Kuzmat »

#True, #False :D
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PB5.40B8 - #Empty$ should be #EMPTY$

Post by netmaestro »

Virtually all the words PureBasic knows are expressed in CamelCase. For these two to be different would confuse things.
BERESHEIT
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: PB5.40B8 - #Empty$ should be #EMPTY$

Post by Dude »

Only Windows constants are uppercase. PureBasic constants, as mentioned above, have always been camelcase.
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB5.40B8 - #Empty$ should be #EMPTY$

Post by skywalk »

Also, PB constants are # prefixed, so caps are not needed to differentiate.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply