Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #31  
Old 01-22-2010, 11:14 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Skyld View Post
No. Regular expressions are a fantastic way to make code harder to edit and understand (a lot of scripters manage to make things terribly overcomplicated as it is without them!), especially for newer people who will take one look at a regular expression and not know what it is, little less what to do with it. Let's focus on functions that make gscript easier, perhaps.
God forbid we have a useful feature that not everybody can use. God forbid people who don't know how to use something...oh, I don't know, not use it.

I have at least one useful feature in mind where regular expressions would be invaluable, and I'm not the only one. So basically, we can **** off because there are a lot of idiots who want to script on Graal? Sounds reasonable.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #32  
Old 01-22-2010, 11:34 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
This is such a silly debate. People will have trouble with any feature they don't understand, it's no reason to not add something. From what others have said, it doesn't sound like it would be hard to add, either.
__________________
Reply With Quote
  #33  
Old 01-22-2010, 11:36 PM
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
Regex is in a whole other class of difficulty, imho. I've considered learning regex before but I'm intimidated and haven't encountered a need to learn it yet.
__________________
Reply With Quote
  #34  
Old 01-23-2010, 12:34 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
The only time I think I've ever needed regex was with getstringkeys(). Those instances are few and far between though, and I don't even remember them. Would I have loved to be able to use regex in the few times I actually needed it? Hell yes. Do I really think it's needed? Not really. It's just not something I see being used too much to justify the effort of adding it. Now that can be said about a lot of things, but I feel this is one of those additions that everyone gets all giddy over and then they get it and don't know what the **** they actually want to do with it, and forgets about it. However, if there were any regex added, a very simple form of it would suffice. At least, if not regex then a rip-off wildcard system that format uses(%s, %d, and so on). Anything more complicated would definitely not be used in my opinion.
Reply With Quote
  #35  
Old 01-23-2010, 01:11 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by coreys View Post
God forbid we have a useful feature that not everybody can use. God forbid people who don't know how to use something...oh, I don't know, not use it.

I have at least one useful feature in mind where regular expressions would be invaluable, and I'm not the only one. So basically, we can **** off because there are a lot of idiots who want to script on Graal? Sounds reasonable.
GScript2 is a game scripting language though, and it's not really needed at all in game server development.

The only way I can really see this getting implemented is if Stefan finds that he needs it one day, until then it'll be low on priorities as far as adding features/functions to GScript2 goes.
__________________
Quote:
Reply With Quote
  #36  
Old 01-23-2010, 03:25 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by DustyPorViva View Post
However, if there were any regex added, a very simple form of it would suffice. At least, if not regex then a rip-off wildcard system that format uses(%s, %d, and so on). Anything more complicated would definitely not be used in my opinion.
That alone would make me an extremely happy scripter.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #37  
Old 01-23-2010, 04:00 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Even *** scripting has a regexp lookalike and people use it literally all the time!!

Last edited by Loriel; 01-23-2010 at 06:24 AM..
Reply With Quote
  #38  
Old 01-23-2010, 04:33 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Who cares about WoW, it sucks.

Anyways, I'm for what Dusty suggested. I don't see how that would be unreasonable.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #39  
Old 01-23-2010, 04:41 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by coreys View Post
Who cares about ***,
Literally millions of people who do not care about Graal?

Last edited by Loriel; 01-23-2010 at 06:25 AM..
Reply With Quote
  #40  
Old 01-23-2010, 05:46 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by coreys View Post
Who cares about WoW, it sucks.

Anyways, I'm for what Dusty suggested. I don't see how that would be unreasonable.
if WoW sucks, what does Graal do?
Reply With Quote
  #41  
Old 01-23-2010, 06:14 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Not here to argue how much WoW sucks.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #42  
Old 01-23-2010, 06:24 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by coreys View Post
Not here to argue how much *** sucks.
Only to argue that we need to copy its features?
Reply With Quote
  #43  
Old 01-23-2010, 09:14 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Loriel View Post
Only to argue that we need to copy its features?
Yes, because WoW invented this and was the first to ever, ever use it. Yes, we'll be copying WoW. Make's perfect sense. I see it now. Oh, woe is me, we'll be copying WoW. I should have known, even though I had no idea that WoW had such or feature nor would I care, nor does WoW have anything to do with it. I should have known I'd be trying to copy WoW! You, sir, have slain me!
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #44  
Old 01-24-2010, 12:02 PM
SKJF91 SKJF91 is offline
Registered User
Join Date: Dec 2009
Location: United States of America
Posts: 89
SKJF91 will become famous soon enough
Quote:
Originally Posted by Loriel View Post
Only to argue that we need to copy its features?
why do you keep 'sensoring' the letters 'WoW'..
Reply With Quote
  #45  
Old 01-24-2010, 12:47 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Loriel View Post
Only to argue that we need to copy its features?
Blizzard didn't invent Lua's pattern system.


Quote:
Originally Posted by SKJF91 View Post
why do you keep 'sensoring' the letters 'WoW'..
It's not allowed to discuss other MMORPGs.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.