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

Well, they list "Inheritance + Polymorphism" as a pro.

Sounds like the writer hasn't too much experience, so be kind :)



Mmmm, no kidding. Stateless functional components are the absolute bomb from a “reasoning about your code” perspective.

FWIW I’ve found the most prosuctive front-end combination to be React + Typescript, which has the benefit of being seamlessly interoperable with JavaScript, really excellent at capturing common errors, and allowing the type system to be exploited for much more expressive code. YMMV of course.


I tried Flow with VSCode and found it rather flaky. Had to open up files to get autocomplete etc.

Is TypeScript better in that regard?


I’ve had no problems with Typescript in that regard (in fact the typechecking and linting is astonishingly fast) but I’m using Sublime integration. From what I understand though, VSCode has very thorough Typescript support, given its Microsoft pedigree and all.


> I tried Flow with VSCode and found it rather flaky. Had to open up files to get autocomplete etc.

Sounds like an editor issue. Have you tried it with something like IDEA/WebStorm where there's a bit more code intelligence?


This seems like a very uncharitable reading of the article.

Inheritance has it's place in the toolbox.




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

Search: