59
x2sam
7y

People who use alerts in js for debugging. Fuck you _|_

Comments
  • 7
    (function(){
    let oldAlert =
    window.alert = function noAlert() {
    debugger;
    oldAlert(...arguments);
    };
    })();
    is that better?
  • 16
    Well F you too. If alerts help me debug, why the F not
  • 8
    Console.log ist far more civilized
  • 1
    sorry but fuck you too because it's helping me a lot :D
  • 0
    Well fuck you too, you don't pay my debugging tools!
  • 3
    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?
  • 3
    @TobyAsE civilize my butthole.

    Lol, sorry but im in war mode, I'll cool off in a min
  • 1
    @TobyAsE do it in IE, I tripple dare you!!
  • 0
    Also much better than breaking code on purpose to stop at runtime..
  • 9
    How do you feel about this?
  • 4
    Use bootstrap modals when debugging like a boss
  • 3
    Did you ever hear about chrome tools? Also the debbuger from VS Code is awesome.
  • 2
    I 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.
  • 0
    I totally do this. Usually only temporarily for edge cases / etc.

    Most of the time though it’s just a good ol’ “debugger;” keyword fest.
  • 4
    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?
  • 0
    @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.
  • 0
    @daintycode fuck reasonable time. Id rather delay and deploy a functional product and if alerts help me then fuck yeah.
  • 0
    I use console.log, debugger and throw sometimes it depends on the code
  • 0
    It is slow to go to open console :"( and it closes view of page.
  • 3
    @Pogromist
    1) F12, once, when your day begins
    2) you can detach it
  • 2
    Wow... People that use alerts (at all, not only for debugging) still exist and even rage here...
    That's surprising indeed.
  • 0
    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().
  • 0
    @daintycode i know.
Add Comment