strong/weak typing and pointers

Gabriel Zachmann zach at cs.uni-bonn.de
Tue Nov 2 20:47:04 CET 2004


>  wall of abstraction".  A Smalltalk programmer would say that
>  Python is more weakly typed than Smalltalk for user-defined types.

which brings me to another related question.

I understand strong/weak typing is more like a continuum --
is there kind of a programming langauges hierarchy sorting various
langauges accoring to "type-strongness" that is generally agreed upon?

I'd be interested in a hierarchy containing some of the following
languages: ANSI-C++, C, Perl, Python, Pascal, ML.
(because these happen to be some of the languages i know a bit ;-) )

Would the following be justifiable?

    Perl < C < C++ < Pascal < Python < ML ?

Or does anyone have a pointer?

Best regards,
gab.


-- 
/-------------------------------------------------------------------------\
| There are works which wait,                                             |
| and which one does not understand for a long time; [...]                |
| for the question often arrives a terribly long time after the answer.   |
|                                                         (Oscar Wilde)   |
+-------------------------------------------------------------------------+
| zach at cs.uni-bonn.de            __@/'        www.gabrielzachmann.org     |
\-------------------------------------------------------------------------/



More information about the Python-list mailing list