Posted: 21st Jan 2011 10:54
Rather than keep everything in one big thread I will make a few threads so we can keep on topic for one issue.

In the previous thread I mentioned about removing spaces in command names. It looked like there was plenty of support for this so commands go from:

Load Image "your image.png", 1

to

LoadImage "your image.png", 1
Posted: 21st Jan 2011 11:40
If you do take out the spaces, make sure that it isn't case sensitive so people can choose whether they put capitals on individual words. - I personally hate having to have my finger hovering over shift while I'm coding and like to just freely spam text that does stuff but I can also see the advantage in coding like that.
Posted: 21st Jan 2011 12:10
I agree, keep it none case sensetive and take out the spaces.
Posted: 21st Jan 2011 12:47
On topic: definitely no spaces.
Posted: 21st Jan 2011 12:56
No Spaces
Posted: 21st Jan 2011 12:58
Since it'll make parsing easier, no spaces.
Posted: 21st Jan 2011 14:41
I don't care either way.
Posted: 21st Jan 2011 15:00
No spaces ... and thanks for the information...
Posted: 21st Jan 2011 15:37
No spaces.
Posted: 21st Jan 2011 15:53
No spaces

Although I doubt anyone will agree with me, I like using _ as space, so it's separted, but still one whole word.
load_image()
Posted: 21st Jan 2011 16:14
No spaces

@swissolo
The only bad thing about that is that it's slow to type _ compared to other letters.
Posted: 21st Jan 2011 22:33
Yep, completely aware of that, I got really used to using it in my variables, but I don't expect it to become a norm. Speed to type is the same reason I didn't like having sync with brackets... sync() instead of sync. I see everyone's reasoning, but I don't quite understand why it's so important... Doesn't really matter.
Posted: 21st Jan 2011 22:43
Looks like the 'no spaces' camp have it Imagine all those saved key presses and 'every so slightly' shorter commands!
Posted: 21st Jan 2011 23:22
Thread lock? Or am I jumping the gun.
Posted: 22nd Jan 2011 5:47
no spaces and im glad that basically everyone else thinks the same.
Posted: 22nd Jan 2011 8:10
No spaces
No object numbers

AGK should manage Object numbers, I shouldn't have to do that as it's 2011 and nobody should manage object numbers except AGK.

+ Code Snippet
myimage = loadimage("yourimage.png")


This in my opinion is just better to read and to code.
No image numbers for anyone to manage and remember.

No spaces in commands, easier to manage, easier to read, case insensitive (why should the computer worry how I type things, it should know what I mean--again this is 2011).

Spaces are confusing to humans and to the IDE and it's more to type for no reason and it looks sloppy.
Posted: 22nd Jan 2011 20:53
No image numbers for anyone to manage and remember.

You can already store that in a const variable.
But how do you propose we loop through every object from X to Y?
Storing them all in an array seems abit wasteful of time and resources.
Posted: 22nd Jan 2011 21:39
Having no image (or object, sound, etc...) numbers, would really cause issues, IMO.
How would you find the right image back if you'd had 500 images, all declared like this:

+ Code Snippet
myimage = loadimage("yourimage_01.png")
myimage = loadimage("yourimage_02.png")
myimage = loadimage("yourimage_03.png")
myimage = loadimage("yourimage_04.png")
myimage = loadimage("yourimage_05.png")
myimage = loadimage("yourimage_06.png")
myimage = loadimage("yourimage_07.png")
etc...


or even like this:

+ Code Snippet
myimage1 = loadimage("yourimage_01.png")
myimage2 = loadimage("yourimage_02.png")
myimage3 = loadimage("yourimage_03.png")
myimage4 = loadimage("yourimage_04.png")
myimage5 = loadimage("yourimage_05.png")
myimage6 = loadimage("yourimage_06.png")
myimage7 = loadimage("yourimage_07.png")
etc...


???

Posted: 22nd Jan 2011 21:44
Store the values in an array perhaps?
Posted: 22nd Jan 2011 22:09
Store the values in an array perhaps?

I'd rather have it the old way. Arrays and me don't go well together.