173 private links
A dump of all stack exchange in sqlite files
Key Takeaways
- Stack Overflow snippets can be buggy, even if they have thousands of upvotes.
- Test all edge cases, especially for code copied from Stack Overflow.
- Floating-point arithmetic is hard.
- Do include proper attribution when copying code. Someone might just call you out on it.
Here is why in this example
The original post announcing StackOverflow.
And how to earn points :)
Why this post ?
The software industry is filled with a chaotic mess of a developer experience. Everything and anything can break.
🤣😭
If you figure out something fun, and integration that otherwise wasted an hour or two. Find ways to document it. On StackOverflow or on your blog or what have you. Just do that. Many developers including your future self will thank you for that.
So does this implies writing question and posting your own answer ?
LOL. Lesson : don't copy/paste without knowing what's happening
Explanations in french by Korben : Une erreur de code sur StackOverflow perpétue un bug depuis plus de 10 ans