Hacker News new | ask | show | jobs
by achierius 597 days ago
Not really. For example, tutorial code will often leave out edge cases so as to avoid confusing the reader: if you're teaching a new programmer how to open a file, you might avoid mentioning how to handle escaping special characters in the filename.
1 comments

Don't forget about Little Bobby Tables! These types of tutorials probably killed the most databases over time.