Sep-01-2021, 10:20 PM
(This post was last modified: Sep-01-2021, 10:24 PM by Yoriz.
Edit Reason: Added code tags
)
I have just started learning python and being a logical person and seeing this language with fresh new eyes I get curious about the logic in some of the rules. For instance,
My point is - why not make python more logical and easy to learn and perhaps also use by adapting it more to the english language, whenever that's possible?
for x in "banana": print(x)I find this not logical. Instead I would use the word loop, like
loop x in "banana": print(x)or why not even
loop letters in "banana" verticallyThe word "loop" would be much easier to remember as it´s an english word that means what I want to do with x. The word "for" doesn't have that meaning in the english language forcing the newbie to memorize its meaning among so many other things to memorize.
My point is - why not make python more logical and easy to learn and perhaps also use by adapting it more to the english language, whenever that's possible?