Ned Batchelder on Nostr: I'm often surprised at experts giving over-complicated answers to beginners' ...
I'm often surprised at experts giving over-complicated answers to beginners' questions (#Python in this case):
Q: What's the difference between a for loop and a while loop?
A: For uses the iter protocol; while calls an expression each loop.
Published at
2024-08-10 11:15:53Event JSON
{
"id": "b911346deeb2069b21ad61d8554560f71d0447901269018d3032fb6332727b77",
"pubkey": "3c1a5dbc82cfc12f65f6bd9e283d71bd4a6f1ca853640666cfd5c856037806b1",
"created_at": 1723288553,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"proxy",
"https://hachyderm.io/users/nedbat/statuses/112937438634988060",
"activitypub"
]
],
"content": "I'm often surprised at experts giving over-complicated answers to beginners' questions (#Python in this case):\nQ: What's the difference between a for loop and a while loop?\nA: For uses the iter protocol; while calls an expression each loop.",
"sig": "1247b5574e683f286ac2b3111fe6c477fc9bfc6af3fd3d98139b13454404ca7fcf9ab0a893c064de7f5be046528527031d577b1c1bc01812782516386852c1f6"
}