this post was submitted on 13 Dec 2025
268 points (96.2% liked)
Greentext
7472 readers
640 users here now
This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.
Be warned:
- Anon is often crazy.
- Anon is often depressed.
- Anon frequently shares thoughts that are immature, offensive, or incomprehensible.
If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
to me method names are imperatives, like when we order the dog to walk.
dog.walk() = "Dog, walk!"
i know that's how you're supposed to read it......and guess what..........it's wrong
How do you tell a dog to walk? "Dog, walks!" or "Dog, walk!"
i'm not telling the dog to walk, i'm describing it walking
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.
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
Python is an imperative language.
which was a mistake