3 ms·
This post was completely not what I expected it to be. The "do not use in production" is the programming equivalent of taking a strong stance on an issue but t
by sattoshi 8y ago
This post was completely not what I expected it to be.
The "do not use in production" is the programming equivalent of taking a strong stance on an issue but then appending "but hey, I don't know" or "don't take my word for it".
They completely defeat the purpose of the entire statement and in the production comment's case, the code samples.
Let's ask a different question, what am I supposed to use in production? I had an email discussion with some blogger who wrote about a very narrow problem which I needed to solve. Their code samples worked, but poorly. The entire thing was a dumpster fire but it solved the problem and were the only one I could find after days of Googling and Stackoverflowing.
I did not care about their "do not use in production" comment. I needed their solution in my production system. What was I supposed to do?
Sorry for ranting, but I believe it is irresponsible to put code out there which shouldn't be used except for when it is the point.