Python and the need for speed
ben.usenet at bsb.me.uk
Wed Apr 12 09:38:52 EDT 2017
Steve D'Aprano <steve+python at pearwood.info> writes:
> On Wed, 12 Apr 2017 03:39 am, Paul Rubin wrote:
>> I still do my everyday stuff in Python and I'd like to get more
>> conversant with stuff like numpy, but it feels like an old-fashioned
>> language these days.
> "Old fashioned"? With await/async just added to the language, and type
> annotations? And comprehensions and iterators?
> Admittedly type annotations are mostly of interest to large projects with
> many developers and a huge code base. But the rest?
> Comprehensions may have been around for a decade or two in Haskell, but most
> older languages don't have them. I'm pretty sure Java doesn't. Does
They've been in in Haskell for nearly three decades, but they were
around before that. Miranda had them, as did Miranda's immediate
predecessor, KRC. KRC dates from about 1980, so if you've been using
that lineage of languages, list comprehensions have been a standard
feature for 37 years. I've been using them almost my entire programming
them, but then JS seems to hide its function nature under an imperative
Just another perspective...
More information about the Python-list