R
Russ P.
I just stumbled across this video and found it interesting:
My apologies if it has been posted here already.
My apologies if it has been posted here already.
Russ P. said:I just stumbled across this video and found it interesting:
My apologies if it has been posted here already.
The slides for it are here, so I didn't bother watching the 1 hour
video:
http://gbaz.github.io/slides/hurt-statictyping-07-2013.pdf
I guess for Python programmers looking to expand their horizons a bit,
it's worth at least looking at the slides. But, it may overstate its
case a little bit. Haskell's type system is way cool but the language
introduces other headaches into programming.
The slides for it are here, so I didn't bother watching the 1 hour video:
http://gbaz.github.io/slides/hurt-statictyping-07-2013.pdf
Paul Rubin said:The slides for it are here, so I didn't bother watching the 1 hour video:
http://gbaz.github.io/slides/hurt-statictyping-07-2013.pdf
Steven D'Aprano said: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.
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.
The slides for it are here, so I didn't bother watching the 1 hour video:
http://gbaz.github.io/slides/hurt-statictyping-07-2013.pdf
I guess for Python programmers looking to expand their horizons a bit,
it's worth at least looking at the slides. But, it may overstate its
case a little bit. Haskell's type system is way cool but the language
introduces other headaches into programming.
Thank you for posting that.
My favorite slide (especially since for the past few years, I've mostly
worked in 3 person teams).
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).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.