http://www.perlmonks.org?node_id=710348

in reply to Programming is more like:

Programming is harder than rocket science, because it still doesn't have a firm mathematical machinery behind it. Yes, there is lambda calculus and other calculi, theory of infinite and finite automata, Boolean algebra, and other strands in mathematics that define the entire field. But what we miss is useful things rocket engineers can use: analysis and algebra. Set up the initial conditions and requirements as equations, and derive a solution, for instance (say) solving Newton's laws of motion for an accelerating rocket engine. We don't have any of that, much less laws of motion.

There are several reasons why there is no such thing:

• Social resistance. Your job is secure if you don't frame and divulge your knowledge explicitly.
• Artificial complexity. It seems to be human nature to create order where it is not really needed (in terms of reaching the goal).
• Real complexity. Many requirements are impossible to express with mathematical precision; some are fuzzy, some change frequently, some have temporal qualities that cannot be encoded in predicate logic, etc.
• A part of programming is an art. Perhaps due to inadequate notation, or deficiencies in education, or simply because it requires a certain way of thinking that not everyone can do, you do need tacit knowledge to do anything.

So even if you tried to be precise about the requirements, you will be swamped by (unnecessary) detail and complexity. Perhaps we just need to develop better abstractions.

--

Replies are listed 'Best First'.
Re^2: Programming is more like:
by moritz (Cardinal) on Sep 10, 2008 at 13:17 UTC

(Sorry for be rather off-topic, but it's an important topic for me, so... no real excuse, I know ;-)

Programming is harder than rocket science, because it still doesn't have a firm mathematical machinery behind it.

I don't know about engineering, but in physics the mathematical machinery isn't as firm as one would think. Well in research papers it usually is, but not in the typical course.

I've witnessed this several times, at various universities:

```teacher: Now we can write \$this integral like \$that
student: Wait, /can/ we even do this transformation
teacher: Well, the mathematicians know a list of
conditions that determine if it's allowed, but
I don't know them because it's allowed for all
functions that physicists ever use.