r/programming • • Jun 27 '18

Python 3.7.0 released

https://www.python.org/downloads/release/python-370/
2.0k Upvotes

383 comments sorted by

View all comments

Show parent comments

1

u/Homoerotic_Theocracy Jun 28 '18

Everything Python is is "stuff bolted onto it after the fact"; in that sense it's quite the dynamic C++ and guess what C++ also now has support for dynamic typing.

0

u/[deleted] Jun 28 '18

[deleted]

13

u/Homoerotic_Theocracy Jun 28 '18

And I'm not talking about "auto"; I'm talking about std::any where a datum is stored together with a type tag in a fat pointer that preserves the type information at runtime which can be queried.

10

u/ThePantsThief Jun 28 '18

It's a box class, not a language feature. That's even more "bolted on" than python's static typing.

→ More replies (3)