— Quality, probably is the comparison over other, similar apps or projects, relative.. no quality exists in a blackbox
Message permanent page
There are statically analyzable metrics, like complexity, lines per function, per file, etc.eslint defines them.But there are much more metrics.
— Good if they cover only your code🤤 my case is simple, single file, so i track LOCs.. saw some online testers, what you use🤨 eslint
— They cover whatever code has eslint configured 🙄
— Delete doesnt delete objects from memory.Instead it removes properties from them.So do I need to use 'delete' after every 'new' like in C++ or not?(Node JS backend question)
— No. If the object isn't used anymore, it will be automatically GC'd
— Delete usage is rare
— And it should be
— ..but delete movement is rising, it has a big future🤤 everyone can use delete operator, no more code supremacy! break the chainz!
— I know one use-case already, it fixes fetch api bug
— I sometimes use it kinda like
const originalConsole = _.cloneDeep(console);delete console;console = require('betterconsolemodule');
— K thx