News for hackers. Stuff that matters.
Re:Write code top-down by turtleyacht on Friday September 08, 2023 @10:20AM (#37433863)
You should build up primitives and compose them instead.

---

In top-down design we say, in effect, "this problem is too complex for me; I shall dissect it into a number of smaller problems, and those into smaller problems still, until I have a set of problems simple enough to solve."

In bottom-up design we say instead "this machine is not well-suited to my problem, because the elementary operations are too elementary; I shall therefore use the elementary operations to create a more powerful machine, and the operations of that machine to create one still more powerful, until I have a machine on which my problem can be easily solved."

-- Jackson, M.A. Principles of Program Design (1975)

There are no comments on this comment yet.