On Jan 2, 2008 3:39 PM, David Brown <[EMAIL PROTECTED]> wrote: > On Wed, Jan 02, 2008 at 03:29:42PM -0800, James G. Sack (jim) wrote: > > >I haven't noticed that python's whitespace invites more errors that > >other language peculiarities. There's plenty of other things that come > >to mind as more frequent. Cobra's static typing and (several languages') > >warnings about unused variables seem more important, for example. > > Static vs dynamic typing is a tradeoff. It restricts what you can write, > but it also turns a set of possible problems into compilation errors. It > tends to require more complicated data structures to be effective. Many > languages have gone for a compromise (Java's non-generic containers for > example). Generics work nicely in this context. > > I like what Hindley-Milner type-inference brings, but it has it's > disadvantages, too, such as very cryptic error messages. > > Dave
Not clear if you guys already noticed this, but Cobra supports *both*. The first language I encountered such support in was Objective-C and I liked it a lot. -Chuck -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
