From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,acfbe6f43430943b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!news.germany.com!nuzba.szn.dk!pnx.dk!news2.arglkargh.de!news.karotte.org!uucp.gnuu.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Type declarations problematic? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Fri, 24 Nov 2006 09:52:14 +0100 Message-ID: NNTP-Posting-Date: 24 Nov 2006 09:52:14 CET NNTP-Posting-Host: e4f43a2b.newsspool4.arcor-online.net X-Trace: DXC=S:l`P=DoEA]AX0F2i>M>9B_ X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:7677 Date: 2006-11-24T09:52:14+01:00 List-Id: On Fri, 24 Nov 2006 09:17:35 +0100, Maciej Sobczak wrote: > http://www.joelonsoftware.com/items/2006/10/12.html > > "[it] seems to be that it�s explicit typing, where the programmer is > asked to declare the type of things, that leads to most of the problems. > > [...] it�s starting to look like type declarations are one of those > accidental difficulties that good programming languages can eliminate." > > > It is obvious that there is a place for dynamically typed languages, but > the above statements seem to be a bit too far-fetched. Do they mean that > "typeless" languages will just suck some of the Java audience (fine for > me), or is it maybe a more general problem that will drive the evolution > of programming languages further away from strongly typed systems? > Do you plan a switch to Ruby? ;-) > > Comments are welcome. It is difficult to judge about a book not having read it! (:-)) The argument that explicit typing makes things more difficult is an obvious and common rubbish (when taken literally, but see below). If types are accepted then what's difficult about specifying them? Clearly a total inference were far more difficult for both the programmer and the compiler. Because instead of dealing with types you would have to deal with the rules of inference of those. These rules constitute a higher-level language, inherently, a more complex one. But probably the answer to the riddle lies in the key turn of speech - "to express data..." You know, there is no data without types! Data are meaningless in a typed framework. So the whole argument goes back to the idea of getting rid of the types, be they explicit or implicit. I wouldn't reject it from the start, think about a kind of hyper functional language, if they showed a way. But I doubt they did. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de