3
tizo
7y

Which do you guys prefer when checking object values? Console.log or setting break points?

Comments
  • 4
    Break points means that you are less likely to leave it in your code when you push it out to production
  • 1
    Should use: Breakpoints
    Using: std output in general
  • 0
    @niederschlag what is std output. I'm not familiar with that.
  • 2
    @tizo standard output (stdout) methods. For example: Console.log in JS, "syso" in J or Console.Out in C#
  • 0
    @niederschlag gotcha. Thanks for the explanation.
  • 0
    -uses both
    -gets confused
    -starts over again
  • 1
    Mild curiosity gets a std::out. Sherlock-level inspection gets breakpoints.
  • 1
    @fyroc using a linter and a pre-commit hook helps with that. For me eslint doesn't let me commit if I have a console.log in my code.
Add Comment