🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2960

Re: Dynamic typing (part 3)

#2960
From: Dan Bernstein
Date: Tue, 12 Mar 1991 21:07
17 lines
1076 bytes
In article <609@optima.cs.arizona.edu> gudeman@cs.arizona.edu (David Gudeman) writes:
> Why should a programming language be expected to catch this type of
> error at compile time, and not some other class of errors?  Why are
> type errors so special?

Compiler writers generally find it convenient to catch type errors.
Programmers generally find it convenient to know the type of a variable
and to have types always checked at compile time (rather than as an
optimization that a few compilers might provide). Who are you to argue
with taste?

> Required declarations are not in languages because they
> are a good idea,

I have to disagree. Declarations help catch typos, if nothing else.

---Dan
Technical Details
Message-ID: <25381:Mar1221:07:3891@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <609@optima.cs.arizona.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.lang.misc
Subject: Re: Dynamic typing (part 3)
Message-ID: <25381:Mar1221:07:3891@kramden.acf.nyu.edu>
Date: 12 Mar 91 21:07:38 GMT
References: <609@optima.cs.arizona.edu>
Organization: IR
Lines: 17