A question about static typing
A question about static typing
- Subject: A question about static typing
- From: Chris Gehlker <email@hidden>
- Date: Sat, 21 Jul 2001 00:14:51 -0700
I've been working my way through "Learning Cocoa" and I can't figure out why
the authors static type some places and not others. I'm trying to convince
myself that they static type where they are more likely to catch errors but
that doesn't seem to be the case.
They particularly like to static type outlets but I can't understand why
outlets are especially error prone. It seems that static typing is less
likely to help here than in the general case since one is more likely to,
for example, send a button message to the wrong button than to send a
textField message to a button.
Am I missing something?
How much do folks really use static typing?