On Thu, Dec 14, 2017 at 11:45:23PM +0100, Xen wrote:
> The move towards Python 3 was forced, it didn't come natural for anyone.

Nope, I have preferred Python 3 since ~3.3, and the transition has
happened over _more than a decade_.

>   Lists became iterables. That is one glaring thing, even though I am novice
> in Python, that
>   appalled me.

Nope:

In [1]: type([x for x in range(3)])
Out[1]: list

In [2]: type(x for x in range(3))
Out[2]: generator

>   Stuff was taken out (or moved away) that the devs considered "useless"
> (like the filter
>   function) but they don't give you the choice.

Nope:

% python3 -c"print(list(filter(lambda x: x == 'b', ['a', 'b', 'c'])))"
['b']


Please stop.


Dan

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to