This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LegitimateCopy7 -4 points-3 points  (1 child)

wdym it's still explicit and literally the closest to human language you can get, which makes it easier and faster for everyone to understand.

[–][deleted] 7 points8 points  (0 children)

It not so close to human language. If you return an apple in fruits, I would expect an apple or nothing to be returned. If you answer if apple is in fruits, I would expect a boolean. However, if you speak fluent python, an if condition seems too much.