5 ms·
as a node dev, I see people using typescript with node. I wonder why don't those people just use java ? and let us clay potters shape plain js to our will. rath
by dzonga 5y ago
as a node dev, I see people using typescript with node. I wonder why don't those people just use java ? and let us clay potters shape plain js to our will. rather than pollute the node ecosystem with typescript
- txdv 5y agoWhen you drop the pot, get a job and work with an entire team on a single project - you learn to appreciate the safety of types
- dzonga 5y agoyeah, types in js e.g flow are useful in quickly learning the codebase but end of day you end up fighting the tooling. instead of the tooling to help you. I prefer inferred types such as what F# or Elm have.
- isbvhodnvemrwvn 5y agoTypescript has about as much to do with java as javascript. The similarities are at best superficial.
- paulddraper 5y ago> pollute the node ecosystem with typescript And there's the beauty of TypeScript....you can still use JavaScript as if TypeScript never existed. Of course, many teams will fall in love with TS. But you the library user don't have to give two farts.
- roguas 5y agoDefine pollute? Provide you with free type hints for your linter/autocomplete while at the same time not taking anything away from your experience? This type of pollute? Pardon sarcastic tone, but why would typescript be considered a pollutant. I sometimes develop in javasript and enjoy the hints I get now much more.