|
|
|
|
|
by waleedka
3435 days ago
|
|
The nice thing about Python is that it's intuitive and feels natural. To that end, this syntax for defining functions is nice, and I would love to see it implemented in native Python: f(x) = x^2 + 1
But most of the other ideas are less intuitive than their native counterparts. For example, I think that the native form: 3 in [1,2,3,4,5]
is clearer than: [1,2,3,4,5] /contains/ 3
|
|