python - Pickles: Why are they called that? -


i'm surprised such hard answer me find.

it's such strange name. why pickles called pickles?
http://en.wikipedia.org/wiki/pickle_(python)

i understand "pickling" means respect vegetables , understand python concept analogous. but, why choose "pickle" instead of "serialization"? inside joke? there history it?

from verb to pickle:

vegetables, such cauliflowers, onions, etc, preserved in vinegar, brine, etc

it python objects, preserved later use. name taken modula-3 concept, language inspired many python features. see module-3 pickle documentation.

i suspect guido picked name because:

  • it better first name thought of (flatten, see this old usenet post announcing it)
  • funny names better drab ones, in tradition monty python background of language
  • there nice alliteration going on there p's (python pickles)
  • you put pickles (in jars) on shelve, module added library in same commit.

if ever hold of guido's time machine travel november 1994 , ask him why picked specific name. notice ken mannheimer uses term pickled objects mere 10 days after announcement of flatten part of follow-up discussion, referencing modula-3 inspiration concept, , name must've stuck.


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -