Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
But why jsfuck, isn't that just making life more complicated for the next Dev ?
Overriding built-in functions? Yikes! Better global replace "console.log(" with "//console.log(" ?
I joined the proj weeks before prod,codebase was a mess, no unit tests, and spies on integration tests on console.log calls... plus client pissed off because of those freaking logs. override the function was the quickest fix (and probably the dirtiest) that came to my mind on two legs
@incognito jsfuck was only to buy time with the client, as he was checking the bundle and the source code. even he's not into coding, he knows enough to be annoying (given that was also right...)
Codebase needs to be fixed, the jsfuck thing is only a monkey patch that we didn't want to show
Snob22822yJust webdev things