Hacker News new | ask | show | jobs
by d--b 1616 days ago
Ok. there's shitty, and there's _shitty_.

I hope that screenshot is a joke, cause holy crap! That doesn't look good.

I seriously wish the author is not defending that kind of shittiness.

I am all good with the if(process.env.env !== 'notProd') part, but indentation, come on?

I think this can't be a real piece of code anyways, cause the author would have done console.log('here1'), console.log('here2'), and console.log('here3').