You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because your code is embarrassing. There, I said it. I mean, using console.log to debug is fine when it’s just you and your code in the privacy of your local environment. But once it’s out there in the wild, it’s like leaving the house without your pants on. People *will* notice, and they *will* judge you. So save yourself the awkwardness and let **noconsolejs** sweep those logs under the rug, where they belong.
23
+
Because your code is embarrassing. There, I said it. I mean, using `console.log` to debug is fine when it’s just you and your code in the privacy of your local environment. But once it’s out there in the wild, it’s like leaving the house without your pants on. People *will* notice, and they *will* judge you. So save yourself the awkwardness and let **noconsolejs** sweep those logs under the rug, where they belong.
23
24
24
25
Most of us (*aka everyone*) use `console.log` as if it’s the answer to all of life’s problems. But guess what? It’s not. It's more like a 'Post-It' note you slapped on your code because you couldn't figure out what went wrong.
25
26
@@ -104,7 +105,7 @@ console.warn("No one will ever see your shame.");
104
105
105
106
## Will this Fix your Code?
106
107
107
-
Haha, **No**. Absolutely not. Your code is still a hot mess. But at least people won’t be able to tell from the console. It’s like sweeping everything under the rug, except no one trips over it. You’ll still need to actually fix your code at some point, but with *noconsolejs*, you can take your time. No one’s looking — for now, at least.
108
+
Haha, **No**. Absolutely not. Your code is still a hot mess. But at least people won’t be able to tell from the console. It’s like sweeping everything under the rug, except no one trips over it. You’ll still need to actually fix your code at some point, but with **noconsolejs**, you can take your time. No one’s looking — for now, at least.
0 commit comments