-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Looking at some libraries that implement monads (like monad-php), I feel a bit clunky using php's syntax, specifically because generics are not baked into the language (for example it's hard to know what you're binding to when you $o->bind(fn($whatIsThisExactly)=>...) ).
I was playing with the idea and in my own small world and it looks nice (to me), but I wonder if that's applicable in real use cases? I mean it would imply many other things, like the way one uses json_decode and pdo fetches.
The much, much easier solution is to just write a lens helper, which I did for my Crell/fp helper library. It's basically a user-space pipe operator with a series of convenience functions, two of which look like this:
Related posts
-
I asked GPT-4 what top 5 improvements it would make to the PHP language to make it more competitive
-
How do I become a better dev?
-
How to Lose Functional Programming at Work
-
The Android Clean Architecture is surely so clean that I barely see any packages here
-
When is it useful to implement a Pipeline?