To me, saying it’s about expressiveness but not brevity sounds similar to e.g. 
“we are in compliance with green policies of EU, but we are not making effort 
to save nature.”

Well, you might not consciously intend to save nature, but those who gave you 
presentation about green legislation had that intent, but used fancy words so 
it sounds cooler. Well, saving nature is at least one of major factors, other’s 
being someone profiting from it, other political implications etc...

I might be completely wrong here, some simple and clear emphasis of how they 
are unrelated is welcome.

> On 18 Jul 2023, at 18:11, Dom Grigonis <[email protected]> wrote:
> 
> To me, they are in the inverse relationship.
> 
> Terseness ~ 1 / expressiveness.
> 
> Maybe I am not getting something.
> 
> But surely if list comprehension took 5 lines to write, it wouldn’t be 
> justifiable? So, even if implicit, brevity and its relation to complexity is 
> always a factor.
> 
>> On 18 Jul 2023, at 17:57, Chris Angelico <[email protected]> wrote:
>> 
>> On Wed, 19 Jul 2023 at 00:55, Dom Grigonis <[email protected]> wrote:
>>> Here I am a bit confused, how is this the case in the language containing 
>>> list comprehensions?
>>> 
>> 
>> Do you understand the difference between expressiveness and terseness?
>> You still seem to be focused on the completely wrong thing here. List
>> comprehensions are not about saving lines, they are about expressing
>> the concept of "build a list from a list".
>> 
>> ChrisA
>> _______________________________________________
>> Python-ideas mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> https://mail.python.org/mailman3/lists/python-ideas.python.org/
>> Message archived at 
>> https://mail.python.org/archives/list/[email protected]/message/HES5J5CLNNBHXAKIMIQA5WV43GBI6Q4W/
>> Code of Conduct: http://python.org/psf/codeofconduct/
> 

_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/2L7DMWBTWD3KO7DLZDKOKLJI3NZILC3Q/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to