←back to thread

129 points surprisetalk | 6 comments | | HN request time: 1.147s | source | bottom
1. jonstewart ◴[] No.44454173[source]
Max wrote a simple php script. Mel wrote delay loops by accessing previous memory addresses on drums. They are not the same.
replies(4): >>44454315 #>>44454760 #>>44454917 #>>44454929 #
2. wwfn ◴[] No.44454315[source]
I didn't get the reference. For anyone else in my shoes: https://en.wikipedia.org/wiki/The_Story_of_Mel
replies(1): >>44454482 #
3. stuartd ◴[] No.44454482[source]
I remembered this story the other day but couldn’t remember the name - and then coincidentally came across this link to it! https://users.cs.utah.edu/~elb/folklore/mel.html
4. bitwize ◴[] No.44454760[source]
I think that's the point. Max did things in the stupidest way that could possibly work, and it did work, and was simpler than the "smart" way, so was he less of a "real" programmer than Mel?

I think for a kid, Max's code was great but ultimately you do need to learn to think about things like error handling, especially if your code is intended to go into "production" (i.e., someone besides yourself will use/host it).

5. mrweasel ◴[] No.44454917[source]
No they are not, which makes the case for breaking up applications whenever possible. Some thinks that means micro services, but that's not my point.

The example with the image sharing is pretty good, because it only needs to share images. In, shall we say more commercial settings, it would grow to handle meta data, scaling, comments, video sharing, account management and everything in between. When that happens Max's approach breaks down.

If you keep your systems as "image sharing", "comments" and "blog" and just string them together via convention or simply hard coding links, you can keep the simple solutions. This is at the cost if integration, but for many use that's perfectly fine.

Edit: Oh, that Mel.

6. ferguess_k ◴[] No.44454929[source]
I'd argue that early computers are simple enough that one can actually put everything into one's head. Nowadays it is impossible.