Index

Subject : Re: LUG: Coding Horrors -- post your evils

From : Alexander Ray <alexjray.ncsu@gmail.[redacted]>

Date : Thu, 06 Aug 2009 08:25:14 -0400

Parent


Thanks for the cool answers.

You know what, i think i might have an idea why this happened.

Which code do you think runs faster, A or B?

A)

c = x-y
d = x+y
e = c*d

B)

e=(x+y)*(x-y)

The answer to that might be why there are lines literally spanning
thousands of characters.