Results 1 to 7 of 7

Thread: I hate programming..........

  1. #1
    Dino Sherlockian
    Join Date
    Dec 2011
    Gender
    Location
    America
    Age
    18
    Posts
    844
    Thanks
    315
    Thanked 341 Times in 208 Posts


    Downloads
    34
    Uploads
    2
    Mentioned
    179 Post(s)
    Time Online
    1 d 16 h 55 m
    Avg. Time Online
    1 m
    Rep Power
    8

    I hate programming..........

    Because I can't figure out the dumbest thing. GSB, why do you no do your job?

    On the other hand, how are y'all doing?

  2. #2


    Join Date
    Dec 2011
    Gender
    Posts
    79
    Thanks
    3
    Thanked 32 Times in 22 Posts


    Downloads
    30
    Uploads
    0
    Mentioned
    24 Post(s)
    Time Online
    18 d 20 h 37 m
    Avg. Time Online
    14 m
    Rep Power
    7
    try looking into regular expressions, they're better to use than GSB in most cases

  3. #3
    Dino Sherlockian
    Join Date
    Dec 2011
    Gender
    Location
    America
    Age
    18
    Posts
    844
    Thanks
    315
    Thanked 341 Times in 208 Posts


    Downloads
    34
    Uploads
    2
    Mentioned
    179 Post(s)
    Time Online
    1 d 16 h 55 m
    Avg. Time Online
    1 m
    Rep Power
    8
    Yeah... I've tried it all... I must have a hiccup in the code somewhere. *sigh* I'm gonna read it all again.

  4. #4
    Little Brother


    Zachafer's Avatar
    Join Date
    Dec 2011
    Gender
    Posts
    1,206
    Thanks
    723
    Thanked 1,392 Times in 651 Posts


    Downloads
    81
    Uploads
    17
    Mentioned
    497 Post(s)
    Time Online
    21 d 17 h 34 m
    Avg. Time Online
    16 m
    Rep Power
    15

  5. #5
    Dino Sherlockian
    Join Date
    Dec 2011
    Gender
    Location
    America
    Age
    18
    Posts
    844
    Thanks
    315
    Thanked 341 Times in 208 Posts


    Downloads
    34
    Uploads
    2
    Mentioned
    179 Post(s)
    Time Online
    1 d 16 h 55 m
    Avg. Time Online
    1 m
    Rep Power
    8
    Quote Originally Posted by Zachafer View Post
    Indeed. I have used this many times... but I don't want to jump straight there unless I am truly stuck. I am slowly fixing the errors. Thank you though.

  6. #6
    Banned
    Join Date
    Dec 2011
    Gender
    Age
    25
    Posts
    490
    Thanks
    304
    Thanked 549 Times in 260 Posts


    Downloads
    13
    Uploads
    4
    Mentioned
    34 Post(s)
    Time Online
    1 h 58 m
    Avg. Time Online
    N/A
    Rep Power
    0
    Quote Originally Posted by Hexx View Post
    try looking into regular expressions, they're better to use than GSB in most cases
    In most languages regex is slower than string functions. In some cases you can't get around regex, but in this case I think it would be wise to just keep with the standard GSB.

  7. #7


    Join Date
    Dec 2011
    Gender
    Posts
    79
    Thanks
    3
    Thanked 32 Times in 22 Posts


    Downloads
    30
    Uploads
    0
    Mentioned
    24 Post(s)
    Time Online
    18 d 20 h 37 m
    Avg. Time Online
    14 m
    Rep Power
    7
    Quote Originally Posted by ./m View Post
    In most languages regex is slower than string functions. In some cases you can't get around regex, but in this case I think it would be wise to just keep with the standard GSB.
    if you're doing manipulation on a single string then basic string functions like InStr and Mid would be quicker but for more complex string manipulation regex is usually much quicker and simpler to implement and use, it's important to be able to recognise when to use each method. either way it's definitely good to learn as an alternative.
    Last edited by Hexx; 03-11-2012 at 03:39 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •