Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79942

Re: optional types

Newsgroups comp.lang.python
Date 2014-10-29 13:43 -0700
References (4 earlier) <mailman.15305.1414605822.18130.python-list@python.org> <87vbn268oc.fsf@elektro.pacujo.net> <07aadf0c-3e9f-4a17-bcca-3e57dcddf31d@googlegroups.com> <mailman.15308.1414610585.18130.python-list@python.org> <87h9ym64p4.fsf@elektro.pacujo.net>
Message-ID <b0ad9e23-e1bc-4a53-bf58-d188c2ae0e71@googlegroups.com> (permalink)
Subject Re: optional types
From Kiuhnm <gandalf23@mail.com>

Show all headers | View raw


On Wednesday, October 29, 2014 8:45:08 PM UTC+1, Marko Rauhamaa wrote:
> Mark Lawrence <breamoreboy@yahoo.co.uk>:
> 
> > Regarding 2) Python has somehow managed without optional types for
> > over 20 years so it's my belief that they're not the panacea that so
> > many people think they are. Sure if they get implemented and if they
> > improve Python then I'm all for them, but I'm not holding my breath.
> 
> I'm afraid of stylistic chaos and optional types turning into de-facto
> mandatory types as modules interface each other.

The only problem I see is that Python's type system might become too complex (Scala anyone???)
If you start adding covariance, contravariance, F-bounded types, etc..., the type system becomes more of a hindrance, IMHO.
But if you keep it simple (like Dart) it shouldn't get in your way.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

optional types Kiuhnm <gandalf23@mail.com> - 2014-10-29 09:17 -0700
  Re: optional types Peter Otten <__peter__@web.de> - 2014-10-29 17:51 +0100
    Re: optional types Kiuhnm <gandalf23@mail.com> - 2014-10-29 10:18 -0700
      Re: optional types Chris Angelico <rosuav@gmail.com> - 2014-10-30 04:25 +1100
      Re: optional types Ethan Furman <ethan@stoneleaf.us> - 2014-10-29 10:46 -0700
      Re: optional types Chris Angelico <rosuav@gmail.com> - 2014-10-30 05:03 +1100
        Re: optional types Marko Rauhamaa <marko@pacujo.net> - 2014-10-29 20:18 +0200
          Re: optional types Chris Angelico <rosuav@gmail.com> - 2014-10-30 05:43 +1100
          Re: optional types Kiuhnm <gandalf23@mail.com> - 2014-10-29 12:03 -0700
            Re: optional types Marko Rauhamaa <marko@pacujo.net> - 2014-10-29 21:07 +0200
            Re: optional types Kiuhnm <gandalf23@mail.com> - 2014-10-29 12:09 -0700
            Re: optional types Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-29 19:22 +0000
              Re: optional types Marko Rauhamaa <marko@pacujo.net> - 2014-10-29 21:44 +0200
                Re: optional types Kiuhnm <gandalf23@mail.com> - 2014-10-29 13:43 -0700
              Re: optional types Kiuhnm <gandalf23@mail.com> - 2014-10-29 13:40 -0700
  Re: optional types Nick Cash <nick.cash@npcinternational.com> - 2014-10-29 16:25 +0000

csiph-web