< Previous
Very Short Story Search Requests >

: My programming philosophy is "Once is a special case, twice is a copy-and-paste, three times is a generalization."[0] I've revamped my devel page once since I put it up, and I needed to do it again, if only to add ksethdavidschoen. But it's such a pain to write all that HTML with the anchors and the alphabetization and the blah and blah. So I generalized: behold The Me Software Map! (And its concretion, The Leonard Software Map) Now I keep all the project metadata in a simple, no-frills (well, one-frill) configuration file and serve it up to you in a nice HTML form when you request it.

[0] Canonically, you're supposed to generalize the second time, but I've found it more helpful to have three cases (assuming that copy-and-paste is significantly easier than generalizing) because with the triangulation thus provided you're less likely to generalize in the wrong direction. (Also, if I copy-and-paste maybe there won't be a third time and I'll get away with it; sometimes my time is more valuable than the well-factoredness of the code.)

Filed under:


[Main] [Edit]

Unless otherwise noted, all content licensed by Leonard Richardson
under a Creative Commons License.