Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.


Which languages? I'd think it's rare because I know no such standard function from the top of my head.


Swift immediately comes to mind - structs are value types. Also, Kotlin has data classes.


`util.deepStrictEqual` in Node at least




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

Search: