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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ab1d177a5a26577d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 17 Feb 2011 07:38:39 -0600 Newsgroups: comp.lang.ada Date: Thu, 17 Feb 2011 08:38:25 -0500 From: "Peter C. Chapin" Subject: Re: What's wrong with C++? In-Reply-To: Message-ID: References: <1ee1a434-4048-48f6-9f5e-d8126bebb808@r19g2000prm.googlegroups.com> User-Agent: Alpine 2.00 (WNT 1167 2008-08-23) X-X-Sender: pcc09070@vtc.vsc.edu@webmail.vtc.edu MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-5uY0Dx0Q2pIB5KT8RQkBD0Ny6ikdSNTLWTJwHqPWwSr+3bJ+3xKfiiBsWZQLXeqlswmKHun9ZXSYZUT!org7DR/SAtisS06V+nyG0QvlJerYf4r4HMUJ88SlHWd6W1JuOiOtCI15NCBQYKEIvY+uEQ9bsA== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1895 Xref: g2news1.google.com comp.lang.ada:17335 Date: 2011-02-17T08:38:25-05:00 List-Id: On Thu, 17 Feb 2011, Dmitry A. Kazakov wrote: > The flaw here is structural equivalence and, more generally, type > inference. Not everybody agree that type inference is bad. I do believe > that it is. Could you elaborate a little on why you think type inference is bad? In the functional languages that support it, type inference is completely type safe (for example: Haskell, OCaml, Scala). Perhaps you mean something different. I do agree that type annotations can be useful documentation for the programmer trying to read the program, but a program won't "go wrong" because of type inference. Peter