
|
Life in a Northern Virginia suburb of Washington, D.C. B.M.A.T.C., and Etruscan typewriter erasers. Blogged by David Gorsline.
Joel Spolsky makes an excellent case for what you might call
semantics-based Hungarian notation.
[Charles] Simonyi mistakenly used the word type in his paper, and
generations of programmers misunderstood what he meant.
If you read Simonyi's paper closely, what he was getting at was the same
kind of naming convention as I used in my example above where we decided
that us meant "unsafe string" and s meant "safe string."
They're both of type string. The compiler won't help you if you assign one
to the other and Intellisense won't tell you bupkis. But they are
semantically different; they need to be interpreted differently and treated
differently...
He also outlines the naming convention for functions KindFromKind,
which preserves the prefix as the identifier of the kind of data being
returned.
(Thanks to blogdex.)
posted:
5:51:24 PM
|
|
Elena Nicoladis confirms what every good actor knows: physical gestures help you remember your words.
She studied bilingual children retelling a story.
"What we think is going on here," Nicoladis said, "is that the very fact of
moving your hands around helps you recall parts of the story—the
gestures help you access memory and language so that you can tell more of
the story."
(Thanks to Boing Boing.)
posted:
12:50:35 PM
|
|
|
|