[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Jan 28 18:56:31 2005 -->
- <!--x-from-r13: wxancxn ng xarheb.arg (Xbr Yancxn) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 41FA9980.40107@proteus-tech.com --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Py[t]hon syntax (sic) -->
- <li><em>date</em>: Fri Jan 28 18:56:31 2005</li>
- <li><em>from</em>: jknapka at kneuro.net (Joe Knapka)</li>
- <li><em>in-reply-to</em>: <<a href="msg01279.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg01275.html">[email protected]</a>> <<a href="msg01279.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Py[t]hon syntax (sic)</li>
> 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.
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01275" href="msg01275.html">[ale] Py[h]hon syntax (sic)</a></strong>
<ul><li><em>From:</em> mhirsch at nubridges.com (Michael Hirsch)</li></ul></li>
<li><strong><a name="01279" href="msg01279.html">[ale] Py[t]hon syntax (sic)</a></strong>
<ul><li><em>From:</em> scherrey at proteus-tech.com (Benjamin Scherrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01291.html">[ale] C++ "not all control paths return a value"</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01293.html">[ale] C++ "not all control paths return a value"</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01279.html">[ale] Py[t]hon syntax (sic)</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01280.html">[ale] mod_perl + Apache</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01292"><strong>Date</strong></a></li>
<li><a href="threads.html#01292"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>