GuildWiki

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE

GuildWiki
This is a talk page. New posts should be placed at the bottom of the page/relevant topic. Please remember to sign your posts using four tildes (~~~~).
Warning: You are not logged in. Your IP address will show up in the page history if you edit anonymously.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that is not vandalism, explain the reason in the edit summary rather than using only the default message.
Latest revision Your text
Line 20: Line 20:
 
:::Or maybe no one get nothing :| [[User:Foo|'''Foo''']] 11:05, 3 January 2007 (CST)
 
:::Or maybe no one get nothing :| [[User:Foo|'''Foo''']] 11:05, 3 January 2007 (CST)
 
:Courious as to what programming language that is. Im use to BASIC my self, so it would be a if...then...else statement. Either way if i programed it i would evoid everyone getting a hat if the total vote was 0 because of lack of participation. Sort of like if scoreTotal 0 then endif else if scoreDwayna > scoreGrenth... and so on. Other then that though i do not no how it would be a tie.--[[User:68.102.128.17|68.102.128.17]] 17:04, 4 January 2007 (CST)
 
:Courious as to what programming language that is. Im use to BASIC my self, so it would be a if...then...else statement. Either way if i programed it i would evoid everyone getting a hat if the total vote was 0 because of lack of participation. Sort of like if scoreTotal 0 then endif else if scoreDwayna > scoreGrenth... and so on. Other then that though i do not no how it would be a tie.--[[User:68.102.128.17|68.102.128.17]] 17:04, 4 January 2007 (CST)
βˆ’
::It would not be hard to program an exception in for same score in the rare occasion that it could/would happen, I doubt it did ever happen though so we shall never find out what would have happened. If anyone actually cares that much anyway. --''<font color="Green">[[User:Lemming64|Lemming64]]</font>'' 17:23, 4 January 2007 (CST)
 
   
 
:::My example was Java. I corrected where my semicolons were. Anyway, while it's a good practice to account for every possible case (ties, zero participation as you have, etc.), my simple code would account for these cases to allow the program to continue flowing. But if you had a "if scoreDwayna == scoreGrenth" case, you'd have to creatively think of something for Dwayna and Grenth to say if they tied. Since it likely won't happen (and hasn't happened ever yet) the developers have probably found it easier to have a simple if-else (or if-then-else depending on language) instead of a long tree of near 0 probability cases. Also, just a comment about your proposed flow--it's better to put the most likely cases at the top of an if tree. 0 participation isn't as likely, and should be near the bottom.
 
:::My example was Java. I corrected where my semicolons were. Anyway, while it's a good practice to account for every possible case (ties, zero participation as you have, etc.), my simple code would account for these cases to allow the program to continue flowing. But if you had a "if scoreDwayna == scoreGrenth" case, you'd have to creatively think of something for Dwayna and Grenth to say if they tied. Since it likely won't happen (and hasn't happened ever yet) the developers have probably found it easier to have a simple if-else (or if-then-else depending on language) instead of a long tree of near 0 probability cases. Also, just a comment about your proposed flow--it's better to put the most likely cases at the top of an if tree. 0 participation isn't as likely, and should be near the bottom.
Please note that all contributions to the GuildWiki are considered to be released under the CC BY-NC-SA
Cancel Editing help (opens in new window)
Please note:
  • If you don't want your writing to be edited mercilessly or redistributed by others, do not submit it.
  • For testing, please use the sandbox instead.
  • On talk/discussion pages, please sign your comment by typing four tildes (~~~~).
  • Please use the Show preview button before saving changes to reduce the number of edits shown in the recent changes list.
  • See our editing guide for more information on editing.

Templates used on this page: