Re: Alignment Nazi?
"Bryan Ewbank" <[email protected]>
| Newsgroups | gmane.comp.programming.language-of-the-year |
|---|---|
| Message-ID | <[email protected]> |
Wow! This is a great insight. I've been working with "engineer-written code" for several years, but never really surfaced the issue before. Thank you very much! - Bryan On Sun, Apr 27, 2008 at 9:47 PM, John Carter <[email protected]> wrote: > Bad code is endemic in functions originating in a mathematical or engineering domain. > > Why? > > Because, like all Good Mathematicians, we expand the terms in an > expression as much as possible looking for further opportunities for > simplifications / cancellations / application of identities / theorems > etc. > ... > But somehow an expression coughed up by the Big Brain Engineer / > Mathematician / ... is sacred and is implemented, usually buggily, as > a huge monolithic, badly tested, function containing many stack > variables and subexpressions.