/
22.08.2020 at 05:49 pm
Cuttings

Decoding Code Specimens

Dissect code like 18th century scientists do their biological specimens.

... But then it hit me. Code is not literature and we are not readers. Rather, interesting pieces of code are specimens and we are naturalists. So instead of trying to pick out a piece of code and reading it and then discussing it like a bunch of Comp Lit. grad students, I think a better model is for one of us to play the role of a 19th century naturalist returning from a trip to some exotic island to present to the local scientific society a discussion of the crazy beetles they found: "Look at the antenna on this monster! They look incredibly ungainly but the male of the species can use these to kill small frogs in whose carcass the females lay their eggs."

The point of such a presentation is to take a piece of code that the presenter has understood deeply and for them to help the audience understand the core ideas by pointing them out amidst the layers of evolutionary detritus (a.k.a. kluges) that are also part of almost all code. One reasonable approach might be to show the real code and then to show a stripped down reimplementation of just the key bits, kind of like a biologist staining a specimen to make various features easier to discern.

Peter Seibel's analogy on the good (but difficult to maintain) habit of reading code.


Filed under:
#
Words: 234 words approx.
Time to read: 0.94 mins (at 250 wpm)
Keywords:
, , , , , , , , ,

Other suggested posts

  1. 31.07.2022 at 10:08 pm / Hades And (Non-Ending) Desk Jobs
  2. 08.06.2022 at 04:13 pm / Counsel vs Client Perspectives
  3. 04.07.2021 at 09:08 am / Learning D3 with P5/Processing
  4. 07.04.2021 at 12:00 am / Harangued Commitments
  5. 29.09.2020 at 12:24 pm / Rays of Circumstance
  6. 03.12.2017 at 12:00 am / Declarative, Imperative, Functional Sandwiches
  7. 16.10.2015 at 12:00 am / Don Ted E. Bear Waltz - Guitar Arrangement (Sam & Max)
  8. 03.01.2014 at 12:00 am / Write With Vigour
  9. 08.12.2013 at 12:00 am / Alien Blue Entrances
  10. 02.12.2013 at 12:00 am / Coloured Plasmids
© Wan Zafran. See disclaimer.