Geek: Humor

A trail of 17 pages, marked with comments, by chrisOdd
About this trail:
In the beginning was the Tao. The Tao gave birth to Space and Time. Therefore Space and Time are Yin and Yang of programming.

Programmers that do not comprehend the Tao are always running out of time and space for their programs. Programmers that comprehend the Tao always have enough time and space to accomplish their goals.

How could it be otherwise?
17 marks in this trail
1
In the beginning was the Tao. The Tao gave birth to Space and Time. Therefore Space and Time are Yin and Yang of programming.

Programmers that do not comprehend the Tao are always running out of time and space for their programs. Programmers that comprehend the Tao always have enough time and space to accomplish their goals.

How could it be otherwise?
11
Re: If ++ Increments ... by andrew Reply Quote c'mon...use OO, it's simpler: private void button1_Click(object sender, System.EventArgs e) { Incrementer i = new Incrementer(0); i.OnTooFar += new Incrementer.TooFarHandler(number_OnTooFar); i = IncrementBy11(i); MessageBox.Show(i.Value.ToString()); } private bool _isTooFar = false; public Incrementer IncrementBy11(Incrementer number) { while(!_isTooFar) { number.Value++; } return number; } public class Incrementer { private int _value; public Incrementer(int value) { _value = value; } public int Value { get {return _value;} set { _value = value; OnTooFar(new TooFarArgs(_value)); } } public event TooFarHandler OnTooFar; public delegate void TooFarHandler(TooFarArgs args); public class TooFarArgs { public int HowMuch = 0; public TooFarArgs(int howMuch) { HowMuch = howMuch; } } } private void number_OnTooFar(FP.Member.TestApp.SqlBuilder.Incrementer.TooFarArgs args) { _isTooFar = args.HowMuch > 10; }
13
CSS You shoot your right foot with one hand, then switch hands to shoot your left foot but you realize that the gun has turned into a banana.
16
Having looked at it, we've decided that a complete rewrite is the only solution. Here's just one example of what can only be called "paid by the line" programming.

Add your comment: