geekchick: (geek chick)
[personal profile] geekchick
Hauled out my copy of the Camel Book to look up something on dereferencing and tripped over this nugget of joy:
A hard reference refers not to the name of another variable (which is just a container for a value) but rather to an actual value, some internal glob of data, which we will call a "thingy", in honor of that thingy that hangs down in the back of your throat. (You may also call it a "referent", if you prefer to live a joyless existence.)



Don't you hate when you look at code you wrote a year ago and don't have the slightest idea anymore what you were doing when you did X? Not "why did I choose to do this", but "what does this even mean"? *facepalm*


* "That's the house's uvula." "So it's a girl house." (from "Monster House")

Date: 2006-11-02 09:01 pm (UTC)
From: [identity profile] n5red.livejournal.com
Have you considered becoming a follower of the Pickaxe book instead of the Camel book?

Date: 2006-11-02 10:35 pm (UTC)
ext_481: origami crane (Default)
From: [identity profile] pir-anha.livejournal.com
funny thingy. :)

Don't you hate when you look at code you wrote a year ago and don't have the slightest idea anymore what you were doing when you did X? Not "why did I choose to do this", but "what does this even mean"? *facepalm*

yes.

the happy coder's mantra: document, document, document.

Date: 2006-11-03 09:42 pm (UTC)
ext_481: origami crane (Default)
From: [identity profile] pir-anha.livejournal.com
*nod*. oh yeah, that happens to me, despite writing reams of documentation. sometimes i can go back through notebooks and retrace my train of thought because i compulsively doodle when writing code and working out a new way of doing things, but sometimes it's lost in the mists of time (or on a piece of paper not in a notebook).

Profile

geekchick: (Default)
geekchick

April 2017

S M T W T F S
      1
2345 6 78
9101112131415
16 171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 25th, 2026 07:26 am
Powered by Dreamwidth Studios