Fix image URLs to relative paths, add code block fencing
This commit is contained in:
@@ -11,10 +11,12 @@ Digging around in some code circa 6 months ago I discovered a method that I had
|
||||
|
||||
Luckily, that behavior wasn’t being used anywhere in my project (yet!), but still, it was essentially a land mine waiting for someone to trip it. My first reaction was “shame on them for posting that without testing it!” Of course, this code didn’t end up in my project because of the author. It was I who blindly accepted and given it the “it’s from the internet!”-stamp-of-approval.
|
||||
|
||||
Lessons learned today:[](http://popcyclical.com/content/binary/images/fd79eac90e05_13202/itsfromtheinternet.png)
|
||||
Lessons learned today:[](../media/images/fd79eac90e05_13202/itsfromtheinternet.png)
|
||||
|
||||
- Trust is earned, not given.
|
||||
- Source code becomes trusted by-way-of thorough unit and functional testing.
|
||||
- Do not trust untested code from the internet.
|
||||
- Do not trust untested code from your own keyboard even more so – at least on the internet it’s likely that someone else has reviewed it.
|
||||
- Do not trust untested code from your own keyboard even more so – at least on the internet it’s likely that someone else has reviewed it.
|
||||
|
||||
|
||||
I’ve written the author a friendly note with a simple fix – it’s better to diffuse that bomb than let it get somebody else!
|
||||
Reference in New Issue
Block a user