[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Py[t]hon syntax (sic)
Benjamin Scherrey <scherrey at proteus-tech.com> writes:
> FWIW - the concept of 'const correctness' in C++ is one that I've
> come to love and wish other languages would support it, especially
> python. The other thing missing from python is a parameterized type
> capability like C++ templates. You can fake it via the reflection
> capabilities of python but you're gonna pay a performance penalty
> whereas C++ templates are often a performance improvement.
Why would you need parameterized types in a dynamically-typed
language like Python? IMO adding explicit typing to Python
would negatively impact the language's usability, and I
don't see any reason to have parameterized types unless
type information is present in the source code. Can you
elaborate?
-- Joe
--
No sig for you today.
--
pub 1024D/BA496D2B 2004-05-14 Joseph A Knapka
Key fingerprint = 3BA2 FE72 3CBA D4C2 21E4 C9B4 3230 94D7 BA49 6D2B
If you really want to get my attention, send mail to
jknapka .at. kneuro .dot. net.