←back to thread

1070 points dondraper36 | 2 comments | | HN request time: 0s | source
Show context
ternaryoperator ◴[] No.45069018[source]
It's a shame he doesn't give the origin of this expression in programming. It comes from Ward Cunningham (inventor of the wiki) in his work with Kent Beck. In an interview a few years back on Dr. Dobb's, he stated that as the two of them were coding together in the late 80s, they would regularly remind each other of the principle. Eventually, it became a staple of their talks and writing.

They were cognizant of the limitations that are touched on in this article. The example they gave was of coming to a closed door. The simplest thing might be to turn the handle. But if the door is locked, then the simplest thing might be to find the key. But if you know the key is lost, the simplest thing might be to break down the door, and so on. Finding the simplest thing is not always simple, as the article states

IIRC, they were aware that this approach would leave a patchwork of technical debt (a term coined by Cunningham), but the priority on getting code working overrode that concern at least in the short term. This article would have done well to at least touch on the technical debt aspect, IMHO.

replies(9): >>45069607 #>>45069661 #>>45070112 #>>45070489 #>>45071324 #>>45071754 #>>45071867 #>>45072137 #>>45073871 #
rendaw ◴[] No.45071867[source]
This sounds a lot like the apocryphal Einstein quote

> Everything should be made as simple as possible, but not simpler.

And I found a similar quote from Aquinas

> If a thing can be done adequately by means of one, it is superfluous to do it by means of several; for we observe that nature does not employ two instruments where one suffices

(Aquinas, [BW], p. 129).

replies(2): >>45072049 #>>45079510 #
ternaryoperator ◴[] No.45072049[source]
Not apocryphal. The article is referenced and discussed in this interview with Kent Beck[0]. As you see, the link goes directly to Dr. Dobb's--although the page is down. Search for "Cunningham" and the first hit takes you right to the conversation.

[0] https://blogs.oracle.com/javamagazine/post/interview-with-ke...

replies(1): >>45073245 #
placebo ◴[] No.45073245{3}[source]
Really surprised there in no mention of William of Ockham - you know, the guy that made razors...
replies(2): >>45074989 #>>45079303 #
1. threetonesun ◴[] No.45074989{4}[source]
Ol' Billy Ockham never saw a world with six bladed personal razors though.
replies(1): >>45075894 #
2. nrvn ◴[] No.45075894[source]
To honor the memory of this noble man I am using a single bladed razor.