Questions about app design - OOP with python classes
greg at cosc.canterbury.ac.nz
Mon Mar 5 01:45:30 CET 2007
John Nagle wrote:
> The Pascal/Ada/Modula family of languages all had type systems
> with restrictions on conversion. Unlike C, types in Pascal
> are not simply abbreviations of the type; they're unique types.
Ada is the only one of those that would let you
define things like "a new kind of integer" that
is not compatible with other integers.
Pascal and Modula just had a fixed set of numeric
types with various predefined compatibility
rules, not much different from C.
More information about the Python-list