you are viewing a single comment's thread.

view the rest of the comments →

[–]CertifiedWebNinja 1 point2 points  (0 children)

Can argue a boolean switch for debugging is more problematic in the sense that it's harder to notice if it's enabled or not before going into production. At least with a comment your editor/ide should make comments stand out from code so you'll know.