Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Union, intersection, difference, and more are coming to JavaScript Sets (sonarsource.com)
3 points by kiyanwang on Feb 16, 2024 | hide | past | favorite | 4 comments


Hmm looks like similar to python. I hope something like pandas also come to, so that I can do all complex claculations client side instead of doing it with python backend


> If you wanted to operate on or compare more than one set, you had to write your own functions.

This may be a 20th century viewpoint, but I would hesitate to call anyone who couldn't write all of these functions a programmer.

Introducing network round trips to use convenient syntax seems ... suboptimal.


Using pandas or numpy is more than uisng optimal syntax

There is a reason why python is used for ML for mathematical calculations. You could do all low level matrix multiplication using custom functions uisng any language. But is that optimal way to dob that.

My use case is similar


Fair enough; where's the breakeven?




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

Search: