14
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 29 Aug 2023
14 points (93.8% liked)
General Programming Discussion
10014 readers
1 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 7 years ago
MODERATORS


You have to try and remember the primitive operations available. Say you want to check if any array element matches a predicate. This is a basic operation that's abstracted for almost every language. If we look for "JS array any", we'll get the right function as an MDM result (
some). And this works for almost anything. Just try to describe the operation in simple terms and google - you'll quickly find the function you need, and after some time it will become easier and easier :)