Article View: pl.comp.objects
Article #16772Re: Groovy
From: Aleksander Galicki
Date: Thu, 10 May 2007 01:35
Date: Thu, 10 May 2007 01:35
46 lines
2584 bytes
2584 bytes
Adam Karpierz <karpierz@_NOSPAM_python.pl> napisał(a): > Użytkownik "Aleksander Galicki" <tretete@WYTNIJ.gazeta.pl> napisał: > > > Prosze zauwazyc, ze jezyki beztypowe (czyli dynamiczne) > > Nie zauwazylem tego wczesniej. > Jesli Pan uwaza ze jezyki dynamiczne sa beztypowymi to.. (..) > Python jest jezykiem dynamicznym ale jest _w pelni_ > jezykiem 'typowym'. > Nie ma obiektu w pythonie ktora nie ma scisle okreslonego typu. > Co wiecej. > Typ ten jest okreslany raz i nie mozna go zmienic. > > Prosze nie miaszac dwoch zupelnie ortogonalnych pojec. > Niczego nie mieszam. Prosze spojrzec: The Computer Science and Engineering Handbook. CRC Press, 2004. Chapter 97 "Languages that do not restrict the range of variables are called untyped languages: they do not have types or, equivalently, have a single universal type that contains all values." "Untyped languages can enforce good behavior (including safety) in a different way, by performing sufficiently detailed run time checks to rule out all forbidden errors. (For example, they may check all array bounds, and all division operations, generating recoverable exceptions when forbidden errors would happen.) The checking process in these languages is called dynamic checking; LISP is an example of such a language. These languages are strongly checked even though they have neither static checking, nor a type system." "Type system: A collection of type rules for a typed programming language. Same as static type system." "Untyped language: A language that does not have a (static) type system" Python jest wlasnie untyped - zgodnie z terminogia ktora istnieje od jakichs kilkudziesieciu lat. A. -- Wysłano z serwisu Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Technical Details
Message-ID:
<f1tss8$iq3$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<f1tdl6$2s4$1@inews.gazeta.pl> <f1todc$8s5$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: "Aleksander Galicki" <tretete@WYTNIJ.gazeta.pl> Newsgroups: pl.comp.objects Subject: Re: Groovy Date: Thu, 10 May 2007 01:35:04 +0000 (UTC) Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 46 Message-ID: <f1tss8$iq3$1@inews.gazeta.pl> References: <f1tdl6$2s4$1@inews.gazeta.pl> <f1todc$8s5$1@inews.gazeta.pl> NNTP-Posting-Host: 203.109.151.60 X-Trace: inews.gazeta.pl 1178760904 19267 172.20.26.239 (10 May 2007 01:35:04 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Thu, 10 May 2007 01:35:04 +0000 (UTC) X-User: tretete X-Forwarded-For: 172.20.6.161 X-Remote-IP: 203.109.151.60 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit