matejcerny on Nostr: Is Scala difficult to learn❓ I believe that F[_] might be the reason many people ...
Is Scala difficult to learn❓ I believe that F[_] might be the reason many people think Scala is hard.
Simply put, the idea behind F[_] is that you should not force programmers to use your preferred async system. This is great for library developers, but many apps adopt this highly abstract way of programming. In reality, there is usually no reason to switch from one effect system to another.
In our projects, we chose cats effect IO. We use it directly, avoiding unnecesarry abstraction. The result? Super simple and clean code, even for newcomers who have no prior experience with Scala. Not caring about all the effect system bounds is liberating. #scala
Simply put, the idea behind F[_] is that you should not force programmers to use your preferred async system. This is great for library developers, but many apps adopt this highly abstract way of programming. In reality, there is usually no reason to switch from one effect system to another.
In our projects, we chose cats effect IO. We use it directly, avoiding unnecesarry abstraction. The result? Super simple and clean code, even for newcomers who have no prior experience with Scala. Not caring about all the effect system bounds is liberating. #scala