[HN Gopher] My Wish for Python 4
       ___________________________________________________________________
        
       My Wish for Python 4
        
       Author : lumpa
       Score  : 9 points
       Date   : 2021-02-18 21:25 UTC (1 hours ago)
        
 (HTM) web link (aroberge.blogspot.com)
 (TXT) w3m dump (aroberge.blogspot.com)
        
       | pizza wrote:
       | I think having pluggable language features would be nice; on the
       | one hand, you'd keep the "1 obvious way only" people happy- just
       | don't use it, or come to some agreement with your team - and on
       | the other hand you'd be able to scratch itches for people whose
       | main value for Python is plugging into its ecosystem rather than
       | the language itself. Heck, why limit it to 4 dialects, you could
       | have a whole Babel scenario where you could pip dialect install
       | some nice language feature. I think people would mainly be using
       | this type of feature to reduce mental burdens, for a small buy-in
        
         | aroberge wrote:
         | Author of the blog post here. What you describe can already be
         | done: https://aroberge.github.io/ideas/docs/html/. For example,
         | if you wish to use a new syntax so that you can use Decimal
         | literals, you can install https://pypi.org/project/decimal-
         | literal/.
        
           | pizza wrote:
           | That's quite cool! Do you think it would be possible to do
           | something really quite crazy, like eta reduction like in
           | Haskell?
        
             | aroberge wrote:
             | Any code transformation is possible to do in theory
        
       | ggm wrote:
       | My wish for python4 is that it isn't called python. I think at
       | this point, language divergence would be more beneficial
        
         | Jouvence wrote:
         | Agreed. I would rather just have Nim evolve into a Python
         | successor, alas that doesn't seem too likely.
        
       ___________________________________________________________________
       (page generated 2021-02-18 23:01 UTC)