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 ... 174 175 176 177 178 179 180 181 182 ... 371  | » ]
Cedric Beust

Posts: 140
Nickname: cbeust
Registered: Feb, 2004

Re: Programming with "Duh" Typing Posted: Jul 17, 2007 5:14 AM
Reply to this message Reply
Advertisement
> Programming usually goes down two routes:
>
> 1) the problem at hand is trivial. In this case, a static
> type system won't help because the problem is trivial.
>
> 2) the problem at hand is quite complex. In this case, a
> static type won't help as well, because the code will
> usually involve lots of subclasses and interfaces.

Oh, that sounds like fun. Let me try!

1) The problem at hand is trivial. In this case, you won't have that many types since the program is trivial, so a statically typed language doesn't have any overhead and is safer.

2) The problem at hand is quite complex. In this case, you need types even more because the code will involve lots of subclasses and interfaces.

--
Cedric

Flat View: This topic has 370 replies on 371 pages [ « | 174  175  176  177  178  179  180  181  182 | » ]
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