Message from JavaScript discussions

December 2020

— So apparently my telegram bot framework is up to 8k loc, but I don’t know if that’s my biggest. I have a whole collection of nlp libraries that are harder to get a total for.

Message permanent page

— 

Like if to do something you only need to call a function which takes 300 parameters, then it's one line for one parameter..

— Dependencies that you didn’t write yourself definitely shouldn’t count, but loc is a pretty bad metric for success anyway. If you’re learning you’re succeeding as far as I’m concerned

Message permanent page

— You can learn infinitely, but results should weight something, impact its name

— Results are always nice, but not as important when you’re just starting out. Idk how long I’d been programming before I really had a functional personal project to speak of.

Message permanent page

— Quality is also mysterious thing, how you weight quality

— Starting out.. as i understood from those articles, result is achieved through time but experience doesn't matter much (or at all).. crazy, have to think about it myself🤤

Message permanent page

— 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.

Message permanent page

— 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

Message permanent page

— 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)

Message permanent page