Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I do not understand his code

I believe that's your main problem. You are seeing a foreign language kinda close to what you know and expect to understand it right away (while it's the same "Javascript", using different writing ways is more akin to another dialect). It takes a bit of time and practice to familiarize yourself with it. Try to decompose it until you become fluent. When you learned to read, you would read a word one letter at a time. Do the same: read the code one operator at a time, until you understand what's going on and how they work together.

For example, a ternary is just a compressed if/else with a different syntax. An arrow function is just an inline function with a different syntax. etc...

> I do not get Typescript

Typescript is Javascript with type safety. In Javascript, if you pass a number to something that expects a string, it will convert without any complaint. Typescript will complain that it's the wrong type. You can go much further than this with complex types that have to be passed correctly.

> thousands of dependencies, while nobody cares, that 20 to 100 of them are deprecated

Some people care, but for most dev, it's a black box that just works. It's frankly not something to worry about when starting.

> I do not understand, how this whole eco system works

If I had to sum it up, it would be building on the shoulders of giants, over and over again, at a break-neck speed, valuing improvements over backward-compatibility. I'm personally not a fan of it, but that's how it is.



to sum it up our dude here wasnt properly onboarded on the tech stack the team uses before he is given any tasks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: