Quote: "And I see absolutely no reason other than sheer sloppiness or laziness for code to resemble your first snippet."
I thought I had a pretty good reason to be honest.
It's dead handy for when I wanna replace the name of a variable for being too long, too short, silly, or out of date.
Imagine you had something like this:
// setup
sync on
sync rate 0
// make a temporary array
dim t(128)
// fill the temporary array
for i=0 to 128
t(i)=rnd(100)
next i
// make some objects
make object cube 1,1
make object cube 2,1
position object cube 2,10,0,0
do
if object collision(1,2) then end
move object right 2,rightkey()-leftkey()
sync
loop
Then imagine you really wanted to use that temporary array for something sensible, so you Ctrl+R to replace the array name everywhere it's being used. - You'd end up with this:
// sesomethingup
sync on
sync rasomethinge 0
// make a somethingemporary array
dim something(128)
// fill somethinghe somethingemporary array
for i=0 somethingo 128
something(i)=rnd(100)
nexsomething i
// make some objecsomethings
make objecsomething cube 1,1
make objecsomething cube 2,1
posisomethingion objecsomething cube 2,10,0,0
do
if objecsomething collision(1,2) somethinghen end
move objecsomething righsomething 2,righsomethingkey()-lefsomethingkey()
sync
loop
Wheras if you'd made all the variables capitals, you could successfully replace all the capital Ts with capital SOMETHINGs and avoid it.
I'm not making this up, it's saved my bacon a number of times in long programs where I've wanted to rename something that I've used everywhere but clashes with keywords and comments etc.