Re:Porting 30K lines of code from Flow to TypeScript
by arcturus17 on Tuesday January 15, 2019 @02:13AM
(#18909345)
I keep hearing that but I dunno. I’m building a fairly large side project in Express + React and I keep finding ways of doing things in ES6 - lodash is still not to be found in package.json. I think I might cave in eventually but as it stands my code feels clean and succinct and it’s all done in modern functional style.
[ Parent
| on HN ]
Re:Porting 30K lines of code from Flow to TypeScript
by untog on Tuesday January 15, 2019 @08:35AM
(#18911009)
One example is doing deep comparison on objects. ES6 still has no equivalent for that, and it's something you can do in one line in other languages.
Re:Porting 30K lines of code from Flow to TypeScript
by patates on Tuesday January 15, 2019 @10:07AM
(#18911588)
Which languages? I'd think it's rare because I know no such standard function from the top of my head.