Python vs. Perl

Alex Martelli aleaxit at yahoo.com
Sat May 26 18:01:58 EDT 2001


"Suchandra Thapa" <ssthapa at classes.cs.uchicago.edu> wrote in message
news:slrn9gtmub.5uc.ssthapa at hepcat.telocity.com...
> Jonathan Gardner <gardner at cardomain.com> wrote:
> >"Dictionaries of Dictionaries"
> >
> >C/C++: I'll admit that in C++ STL some interpreters have problems with
> >templates that have template types that are templates themselves. For
> >instance, map<int, map<int, string>> fails in at least the Microsoft
> >compiler, but you can use typedefs to get around that. It is wordy, and
not
> >very friendly, but the syntax is clear and easy to follow.
>
>     Frankly, I don't think you should expect to much out of the Microsoft
> STL.  I remember an annoying bug where I would get crashes in my app when

Microsoft does not really distribute STL (go to SGI for that...), but the
Standard C++ Library they do distribute is from Plauger, once head of
the Standard C++ Committee's subcommittee about the library and
well-known book author & general good guy.  I think you SHOULD expect
quite a bit out of it:-).  With the fixes available from Plauger's site
('dinkumware'), I find it pretty good indeed.

> Also the scoping rules for declarations in a for loop is annoying.

Yes, but it has nothing much to do with the Standard Library:-).


Alex (Brainbench MVP for C++)






More information about the Python-list mailing list