The Artima Developer Community
Sponsored Link

Weblogs Forum
Programming with "Duh" Typing

370 replies on 371 pages. Most recent reply: Aug 8, 2007 9:54 AM by James Watson

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 370 replies on 371 pages [ « | 1 ... 208 209 210 211 212 213 214 215 216 ... 371  | » ]
Achilleas Margaritis

Posts: 674
Nickname: achilleas
Registered: Feb, 2005

Re: Static Type Checks are not Tests Posted: Jul 20, 2007 7:54 AM
Reply to this message Reply
Advertisement
> I've thought about it, and I've decided that static type
> checks are not tests. Tests are dependent on codepath.
> Each test excerises a different codepath (well,
> , more-or-less, some may validate that several different
> inputs have the same codepath). While static type
> checking is completely independent of codepath.

Actually, type checks are tests, if done correctly. Type checking is a form of theorem proving. See the following link for details:

http://lambda-the-ultimate.org/node/2353#comment-35194

The problem is that current static type systems of mainstream programming languages leave a lot to be desired.

Flat View: This topic has 370 replies on 371 pages [ « | 208  209  210  211  212  213  214  215  216 | » ]
Topic: Programming with "Duh" Typing Previous Topic   Next Topic Topic: Python 3000 Plea for Help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use