lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> By the way... some consider C and C++ to be weakly-typed.  (See
> http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?weak+typing.)  For our
> discussion the terms statically-typed  and dynamically-typed may be more
> appropriate.

I think strongly-typed and weakly typed is more important here; I don't so
much care when my errors are caught as that they are caught at all,
without my having to write the type-checking code by hand. If you do
generic programming in C, which is weakly typed, then you have this
problem; C++ can be strongly typed if you use it right (as I understand
it).