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


Groups > comp.lang.python > #79941

Re: optional types

Newsgroups comp.lang.python
Date 2014-10-29 13:40 -0700
References (3 earlier) <545127D8.1040408@stoneleaf.us> <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>
Message-ID <823b7ef6-ebc4-4718-b862-d9d16f8c4aa8@googlegroups.com> (permalink)
Subject Re: optional types
From Kiuhnm <gandalf23@mail.com>

Show all headers | View raw


On Wednesday, October 29, 2014 8:23:30 PM UTC+1, Mark Lawrence wrote:
> On 29/10/2014 19:03, Kiuhnm wrote:
> > On Wednesday, October 29, 2014 7:19:11 PM UTC+1, Marko Rauhamaa wrote:
> >> Chris Angelico <rosuav@gmail.com>:
> >>
> >>> Yes, but if it's official, the standard library (large parts of it, at
> >>> least) will use it, which will make it a lot more useful than it
> >>> currently is.
> >>
> >> I doubt it. Python should decide if it wants to stay Python or become
> >> another Java. I don't really believe in this "be everything for
> >> everybody" thing. You'll only become nothing for anybody.
> >>
> >>
> >> Marko
> >
> > 1) Java is not optionally typed.
> > 2) Having optional types is not "being everything for everybody", it's just being smart.
> >
> 
> 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.

The only thing I know is that I programmed in ASM and C++ for many years and I liked it. Then I moved to C#, Haskell, Scala, and many other languages. Then I learned Python and I liked it. Then I tried Dart (with optional static typing) and liked it very much. Finally, I've come back to Python and I don't like it anymore like I used to. Dart's syntax is not on par with Python's but its type system is so lightweight and non intrusive that it's a joy to work with it and I miss it.

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