Resetting Arrays menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Cephalopod's Avatar Member
    Reputation
    5
    Join Date
    Sep 2008
    Posts
    85
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The reason I preferred EE over public forums is there is no flaming, flaming doesn't really bother me but I cbf reading a thread of flaming every time I ask a question which might be considered basic but I didn't understand fully at the time of learning :P

    I guess it just comes down to whether you care about parting with $15 a month or whatever it was for ee, that and how patient you are :P I'm impatient. People respond fast on ee because they want points

    Resetting Arrays
  2. #17
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree with previous statements about the structure of coding; I go for this order personally..

    Optimization
    Functionality
    Readability / Least code

    I always work to find better ways of doing something, usually smaller ways work better; But previously stated not always. So you have to conform to what you're working with and go from there.


  3. #18
    Cush's Avatar Elite User
    Reputation
    504
    Join Date
    May 2006
    Posts
    528
    Thanks G/R
    3/19
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So how do you know which should be used? (Long or short way)

    I mean, with a very small program you cant see a difference.

  4. #19
    Cephalopod's Avatar Member
    Reputation
    5
    Join Date
    Sep 2008
    Posts
    85
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Time it, or use common sense.

    These are two useless pieces of code but using them to demonstrate:

    Code:
    void Blah(int x)
    {
    for (int i = 0; i < 5; i++)
    {
         Console.Print(x.ToString());
    }
    }
    
    void Blah(int x)
    {
    for (int i = 0; i < 5; i++)
    {
         if (i < 5)
             Console.Print(x.ToString());
    }
    }
    Pretty clear the second takes longer.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Farm and reset Mara forever
    By xkillerb in forum World of Warcraft Exploits
    Replies: 1
    Last Post: 08-10-2007, 07:47 PM
  2. Reseting Daily Quests
    By Wesk. in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 06-07-2007, 08:12 AM
  3. reset instances in 2.0
    By sportstud10124 in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 12-16-2006, 08:24 AM
  4. Reset an Instance While Still Inside
    By Matt in forum World of Warcraft Exploits
    Replies: 15
    Last Post: 07-27-2006, 09:04 AM
  5. Instance Resetting
    By Matt in forum World of Warcraft Guides
    Replies: 3
    Last Post: 07-21-2006, 09:18 AM
All times are GMT -5. The time now is 11:54 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search