Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
(function(){
let oldAlert =
window.alert = function noAlert() {
debugger;
oldAlert(...arguments);
};
})();
is that better? -
Well, sorry for not debugging MY projects in my LOCAL environment using your debugging standards :v
(Truth is I mostly use console.log, but sometimes i need alerts)
If some people feel more confortable using alerts than console.log, then why the fuck not? -
-
cjbatz14717yI refuses to apologize for any alert debugging I did before 2011!
And yes, Console.log has only been a thing for the last 7 years. -
Brolls31557yI totally do this. Usually only temporarily for edge cases / etc.
Most of the time though it’s just a good ol’ “debugger;” keyword fest. -
Dafuq is wrong with you all.😂
Aside from debugger; not really making it better, how do you debug when your alert says [Object object], while you could nicely click thru the object with console.log?
And what the hell I read about paying debug-tools? -
@darkMatter because you are to finish the fucking thing in a reasonable time maybe?
You can't tell me you are doing stuff efficient and fast with fucking alert boxes in your face. -
@daintycode fuck reasonable time. Id rather delay and deploy a functional product and if alerts help me then fuck yeah.
-
Noob64667yWow... People that use alerts (at all, not only for debugging) still exist and even rage here...
That's surprising indeed. -
Well some people don't know how to use console.log() before so they use alert(). Some people already know both but sometimes they just want to see quickly something so that's why they use alert().
People who use alerts in js for debugging. Fuck you _|_
rant