Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Rage post - Everyone's admin

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
10/17/2013 2:03:50 PMBRrank[V]sheep before revert after revert
10/17/2013 1:57:29 PMBRrank[V]sheep before revert after revert
Before After
1 Anarchid's point that using force prefix would be ambiguous is a good point. 1 Anarchid's point that using force prefix would be ambiguous is a good point.
2 \n 2 \n
3 [img]http://chrisguillebeau.com/files/2013/03/The-Two-Problems.jpg[/img] 3 [img]http://chrisguillebeau.com/files/2013/03/The-Two-Problems.jpg[/img]
4 \n 4 \n
5 Just let me point a few things, to demonstrate that confusion is probably a design goal, or that lack of design leads to lack of coherency and thus confusion. 5 Just let me point a few things, to demonstrate that confusion is probably a design goal, or that its just the result of lack of design leading to absence of consistency and thus confusion.
6 \n 6 \n
7 [quote] 7 [quote]
8 public void ComForce(TasSayEventArgs e, string[] words) 8 public void ComForce(TasSayEventArgs e, string[] words)
9 { 9 {
10 if (spring.IsRunning) 10 if (spring.IsRunning)
11 { 11 {
12 SayBattle("forcing game start by " + e.UserName); 12 SayBattle("forcing game start by " + e.UserName);
13 spring.ForceStart(); 13 spring.ForceStart();
14 } 14 }
15 else Respond(e, "cannot force, game not started"); 15 else Respond(e, "cannot force, game not started");
16 } 16 }
17 [/quote] 17 [/quote]
18 \n 18 \n
19 And: 19 And:
20 \n 20 \n
21 [quote] 21 [quote]
22 public void ComForceStart(TasSayEventArgs e, string[] words) 22 public void ComForceStart(TasSayEventArgs e, string[] words)
23 { 23 {
24 ... 24 ...
25 tas.StartGame(); 25 tas.StartGame();
26 ... 26 ...
27 } 27 }
28 \n 28 \n
29 [/quote] 29 [/quote]
30 \n 30 \n
31 If you didn't understand the code, it means: 31 If you didn't understand the code, it means:
32 - force is a command that does a forcestart 32 - force is a command that does a forcestart
33 - forcestart is a command that does start the game 33 - forcestart is a command that does start the game
34 \n 34 \n
35 So yes, adding various "force" prefixed commands is probably adding more confusion if nothing else is changed. Or, now is a good time to actually make things logical... 35 So yes, adding various "force" prefixed commands is probably adding more confusion if nothing else is changed. Or, now is a good time to actually make things logical...
36 \n 36 \n
37 (sorry for the bad code formatting, this Forum Done Right (TM) is missing a few features. But we have avatars, so who cares about code formatting?) 37 (sorry for the bad code formatting, this Forum Done Right (TM) is missing a few features. But we have avatars, so who cares about code formatting?)