|
|
|
|
|
by i_do_not_agree
2904 days ago
|
|
Just need something like blocks in Smalltalk. Wikipedia page on list comprehensions says Smalltalk-80 had list comprehensions and that was ~ 40 years ago. Smalltalk also uses ":=" for assignment and "=" for comparison. In Pharo, VA and Dolphin at least does what this Python proposal does - return the value of the last expression. |
|
Python chose a different design trajectory - personally I can't stand it but it certainly follow some sort of internally consistent reason.