-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comment up console methods #1279
Comments
Is this really necessary? Given that the purpose of the function is just to protect against stray |
To help educate developers about these methods. which definitely can make On Fri, Dec 28, 2012 at 6:47 AM, Nicolas Gallagher <[email protected]
|
IMO, this isn't the place to do it. |
I think it can be really helpful. For example, I actually didn't discover ...or wait it's actually Lots of people use html5 boilerplate, and as what I've taken from @paulirish, a key thing is to make developers think, hence Equipping developers with this knowlege can only help. We could at least link to an article outlining all the console methods. |
Thanks for the suggestion, Devin, but I think we should pass on this. That plugins.js function has a specific purpose that's orthogonal to explaining what every console method does in various contexts. Including those comments feels like "code smell". If the project is meant to set an example, then inappropriately commented code is one I'd like to avoid. Finding out what specific console methods are for, as you did, is just a simple google query away. |
Somethin like:
I tried to put them in order of usefulness. Log is probably the most used method, so that's first.
Feel free to tweak and edit it up, I nearly have a PR for this when we're ready
The text was updated successfully, but these errors were encountered: