Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Kill then all, and find a new team.
letanque228dWho the fu.... why would that be allowed to happen? That's like selling a car with a quarter of the tools used to build it in the trunk.
Hazarth14018dWhat we do is add a var debug = true/false
If (debug) console.log()
Logs are useful, you never know when you break some old logic somewhere or if the backend suddenly stops working and having these debugging lines ready can help.
My philosophy is to keep as much debugging information in the code as possible, but to be able to switch it off or on like on backend.
Im not a FE dev myself, so maybe theres a library for it? Breakpoints are cool, but they don't show you the entire flow of the runtime, and navigating the stacktrace is slower in most cases.
Sometimes you don't want to take out the drill if the screwdriver is already on the table