Hacker News new | ask | show | jobs
by joshxyz 1419 days ago
knowing difference between es5 es6 es2017 es2018 and so on

knowing the internal modules of nodejs such as fs, events, process, streams

knowing utility modules like lodash, asyncjs, rxjs

these could help.

but the fact is if your workmate is writing unreadable and unmaintainable code, hes the problem, not you.

you need linters, code conducts, test sequences, dependency upgrade schedules, node runtime update schedules, things like that.

i once left a high paying job because a colleague there is code golfing on our code. the team suffered more when i left lol.

in life choose your battles, dont stick with a shitty one. when applying for work, it is not just you applying for their company, it is you screening if their tech stack and coding practices is the right fit for you. screen hard.

1 comments

>> My problem: I do not understand his code.

> but the fact is if your workmate is writing unreadable and unmaintainable code, hes the problem, not you.

That's a stretch, especially since OP also says:

> Or anyone elses.

Idiomatic new js/typescript is a completely different beast from old javascript. For all intents and purposes, it's a different language entirely. No one would be expected to pick it up in a minute. Sounds to me like this guy has decades old knowledge and doesn't know where to learn the new stuff, since the target is moving from one year to the next.

You yourself are suggesting today, that he learns libraries that are no longer necessary, like lodash.