On 2021-05-24 at 01:34:29 +1000,
Steven D'Aprano <st...@pearwood.info> wrote:

> On Sun, May 23, 2021 at 06:52:38PM +0530, Shivam Saini wrote:
> 
> > After all, python is known for one liners and this would be an another
> > great one liner if implemented.
> 
> Python isn't known for one-liners. You might be thinking of Perl.

I agree.

> Being known for one-liners is a bad thing. It means that your language 
> is famous for being written in an obfuscated, hard to read, hard to 
> maintain, style.

Being known for one-liners can (*can*, not must) mean that my language
has the right features, abstractions, and APIs for common use cases and
task(s) at hand.

Most programs are composed of multiple one-liners.  ;-)

Any program can be one line long if I put all the details into a library
function.  That said, a [standard] library that contains everything is
not a good goal.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/A7UJZXGCSKMZAVFWHXKNX7FCOAVCD33C/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to