Timothy Wolodzko on Nostr: When learning a new programming language one of the things I focus on a lot is what ...
When learning a new programming language one of the things I focus on a lot is what are the commonly used patterns. For example, how do you handle errors in Go, or that in Rust you should strongly prefer iterators over loops. When using the patterns you follow the paved path. If you don't, and try writing Rust like Python, or Python like Java, you will soon start hitting strange edge cases, performance issues, and syntax potholes. That's why tutorials that show only the syntax are so useless.
Published at
2024-07-14 08:45:44Event JSON
{
"id": "cbd0589bb38524cd0f9f3af0137b298d3925806e781b946dd3cba3bd8ded6ea7",
"pubkey": "5b2de570887c99dd5d9e58de9194c96a722be713dd0a56efa92a485281b0948f",
"created_at": 1720946744,
"kind": 1,
"tags": [
[
"proxy",
"https://hachyderm.io/users/tymwol/statuses/112783965865078315",
"activitypub"
]
],
"content": "When learning a new programming language one of the things I focus on a lot is what are the commonly used patterns. For example, how do you handle errors in Go, or that in Rust you should strongly prefer iterators over loops. When using the patterns you follow the paved path. If you don't, and try writing Rust like Python, or Python like Java, you will soon start hitting strange edge cases, performance issues, and syntax potholes. That's why tutorials that show only the syntax are so useless.",
"sig": "3f6a3c742a2169faf5aeddc37171d0092af3ba4d1389b52bc784b3864181a0107c9abbec00d1b2838d8400fddbd4f6b311d423406d57589d8be712a3edd8686b"
}