View Single Post
  #14  
Old 10-28-2007, 09:42 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Novo View Post
Yes. Sadly, this isn't Python or PHP or any other languages that make use of associative arrays.
Whats your point? I can't tell if you're being sarcastic or not.
Quote:
Originally Posted by Novo View Post
Taken into considering that we're talking about GScript... I would say that it isn't part of the language...
Which is why I'm asking for it.
Quote:
Originally Posted by Novo View Post
I provided you a way to do this... You can easily call functions, but right now, you just want it to LOOK pretty... Which isn't the purpose of programming language... It just converts it back to the very same thing.
GScript isn't a programming language. And if thats your opinion explain why Python has this feature since you could easily make functions as you said.
Quote:
Originally Posted by Novo View Post
And implementing that would mean you'd have to change the lexical of the language... And that's not pretty.
I wont take your word for it since you're not Stefan, sorry.
Quote:
Originally Posted by Novo View Post
There are ways that an associative array can be 'simulated'... So I don't see any more purpose to this than for aesthetic reasons.
Well, why not go and ask those Python people why they added a dictionary data type.
Quote:
Originally Posted by Novo View Post
Stefan is busy enough fixing things that ARE useful. For instance, new features.
Stefan isn't very good at documentation, if I were him I would be keeping a public list of things that are being worked on, considered, denied, or completed for the next version.

I asked for the feature because it would be an easy solution to an irritation, and I'm not going to make functions and bother joining them everytime I use the feature when they could be done much better this way. Using functions would be more troublesome than giving the data specified indexes.

Such a feature would also be good for those newer to scripting/programming.

I don't think you're doing a good job of explaining why not to add a simple feature present in other languages.
__________________

Last edited by Inverness; 10-28-2007 at 11:25 AM..