[合集] funny code I saw in work# Programming - 葵花宝典
b*y
1 楼
☆─────────────────────────────────────☆
jingriver (fairyland) 于 (Fri Feb 22 09:52:15 2008) 提到:
1. c = (max(a,b)+min(a,b))/2
2. if a is not true or a is not false: a = false
☆─────────────────────────────────────☆
wbaghd (sirtophamhat) 于 (Fri Feb 22 10:28:09 2008) 提到:
engineer in MS did this?
☆─────────────────────────────────────☆
kfk (忘情四百年,快意山水间) 于 (Fri Feb 22 11:44:43 2008) 提到:
I ever saw code like this:
if (a==b) {
...
} else if (a!=b) {
...
}
☆─────────────────────────
jingriver (fairyland) 于 (Fri Feb 22 09:52:15 2008) 提到:
1. c = (max(a,b)+min(a,b))/2
2. if a is not true or a is not false: a = false
☆─────────────────────────────────────☆
wbaghd (sirtophamhat) 于 (Fri Feb 22 10:28:09 2008) 提到:
engineer in MS did this?
☆─────────────────────────────────────☆
kfk (忘情四百年,快意山水间) 于 (Fri Feb 22 11:44:43 2008) 提到:
I ever saw code like this:
if (a==b) {
...
} else if (a!=b) {
...
}
☆─────────────────────────