How do you tell a dog to walk? “Dog, walks!” or “Dog, walk!”
Comment on Anon is a linguist
alias_qr_rainmaker@lemmy.world 10 months agoi know that’s how you’re supposed to read it…and guess what…it’s wrong
JackbyDev@programming.dev 10 months ago
alias_qr_rainmaker@lemmy.world 10 months ago
i’m not telling the dog to walk, i’m describing it walking
JackbyDev@programming.dev 10 months ago
Python is an imperative language.
alias_qr_rainmaker@lemmy.world 10 months ago
which was a mistake
FooBarrington@lemmy.world 10 months ago
But the dog can fail to walk before he ever walked, so you’re not describing him walking, you’re telling him to start walking.
fushuan@lemmy.blahaj.zone 10 months ago
Python is not a descriptive language, it’s a commands based language.
Go do functional programming if you want to describe instead of command.
Transpiling python and describing stuff when actually you are commanding is overly backwards and stupid, but I’d not expect anything else from a 4chan post. XD
Camille_Jamal@sh.itjust.works 10 months ago
Elaborate?
Tetragrade@leminal.space 10 months ago
Image