Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53547
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Subject | Re: A Pragmatic Case for Static Typing |
| Date | 2013-09-03 02:10 +0100 |
| Message-Id | <pan.2013.09.03.01.10.36.789000@nowhere.com> |
| Newsgroups | comp.lang.python |
| References | <8bc2f539-ae7a-4cd8-83c0-91449aecd616@googlegroups.com> <7xfvtnwsn9.fsf@ruckus.brouhaha.com> <52245df4$0$2743$c3e8da3$76491128@news.astraweb.com> |
| Organization | Zen Internet |
On Mon, 02 Sep 2013 09:44:20 +0000, Steven D'Aprano wrote: > One factor I don't see very often mentioned is that static typing > increases coupling between distant parts of your code. If func() changes > from returning int to MyInt, everything that calls func now needs to be > modified to accept MyInt, no matter how similar MyInt is to int. You have > to make changes just to satisfy the compiler. Not if the language has type inference (e.g. Haskell, or C++ templates).
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A Pragmatic Case for Static Typing "Russ P." <Russ.Paielli@gmail.com> - 2013-09-01 21:24 -0700
Re: A Pragmatic Case for Static Typing Paul Rubin <no.email@nospam.invalid> - 2013-09-02 01:10 -0700
Re: A Pragmatic Case for Static Typing Steven D'Aprano <steve@pearwood.info> - 2013-09-02 09:44 +0000
Re: A Pragmatic Case for Static Typing Roy Smith <roy@panix.com> - 2013-09-02 09:37 -0400
Re: A Pragmatic Case for Static Typing Nobody <nobody@nowhere.com> - 2013-09-03 02:10 +0100
Re: A Pragmatic Case for Static Typing Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-02 21:36 -0400
Re: A Pragmatic Case for Static Typing Chris Angelico <rosuav@gmail.com> - 2013-09-02 22:04 +1000
Re: A Pragmatic Case for Static Typing Roy Smith <roy@panix.com> - 2013-09-02 08:41 -0400
Re: A Pragmatic Case for Static Typing Chris Angelico <rosuav@gmail.com> - 2013-09-03 08:43 +1000
Re: A Pragmatic Case for Static Typing "Russ P." <Russ.Paielli@gmail.com> - 2013-09-02 11:33 -0700
csiph-web