Is this really the best way?

Roddy

New Member
There is no "best way" of doing just about anything. The best way for me is not necessarily the best for you.

When it comes down to the wire, we're all idiots - its just a matter of degree.
 

CaldwellYSR

Member
There is no "best way" of doing just about anything. The best way for me is not necessarily the best for you.

When it comes down to the wire, we're all idiots - its just a matter of degree.

That's incorrect when it comes to coding. There is quite clearly a "best way" for every problem. This is why we have analysis of algorithms... After spending 2 hours on a simple problem last night I asked the question here finally and then immediately figured out the best method... thus the edited post.
 

Edge

Member
issue

do you think we could still have a heated debate about it? I think that whatever the solution was it was either unsemantic, not object oriented or uh inappropriate...
 

CaldwellYSR

Member
It's funny that a thread that was edited away has gotten this much attention! All I was trying to do was search a string input for different commands. I wanted to use a text input to let people put commands into it and see output above. For example /d is a dice roll command. I couldn't figure out how to search the string (because I'm stupid) and once I finally got around to asking I remembered about regular expressions... was simple from there
 

AsheSkyler

New Member
Ohhhh, okay. I remember reading it before you edited it and it has been irritating me to no end that I couldn't remember what the post was originally about.
 
Top