#zio

[ follow ]
#error-handling
Alvinalexander
3 weeks ago
JavaScript

Functional Programming FAQ: What are the benefits of an Effect System, like ZIO?

Effect systems, like ZIO, enhance type safety, error handling, concurrency, and modularity in programming, leading to more predictable and maintainable code. [ more ]
Alvinalexander
1 month ago
JavaScript

ZIO.fromOption returns Option[Nothing]; what is that? (Unit? None?)

ZIO.fromOption returns a ZIO with error type Option[Nothing], indicating the need for meaningful error mapping in applications. [ more ]
Alvinalexander
2 months ago
JavaScript

ZIO 2: From flatMap To for Expressions (Scala 3 Video)

Wrap non-failing computations in ZIO.succeed in functional programming using Scala. [ more ]
Alvinalexander
2 months ago
JavaScript

Bonus: The Mindset of a Functional Programmer | Video: Free Introduction to Functional Programming Course

FP mindset emphasizes immutable variables, data structures, pure functions, and expressive error handling using types like ZIO and Cats Effect. [ more ]
Alvinalexander
5 months ago
Scala

ZIO 2: Using Either with ZIO in a Scala for-expression

Use ZIO in Scala for-expressions with Either to manage errors effectively. [ more ]
Alvinalexander
5 months ago
JavaScript

ZIO 2: A ZIO.timeout interrupt example with ZIO.attempt

ZIO.timeout can be used in Scala 3 for adding a timeout to an operation, resulting in a None value if the timeout is triggered. [ more ]
Alvinalexander
3 weeks ago
JavaScript

Functional Programming FAQ: What are the benefits of an Effect System, like ZIO?

Effect systems, like ZIO, enhance type safety, error handling, concurrency, and modularity in programming, leading to more predictable and maintainable code. [ more ]
Alvinalexander
1 month ago
JavaScript

ZIO.fromOption returns Option[Nothing]; what is that? (Unit? None?)

ZIO.fromOption returns a ZIO with error type Option[Nothing], indicating the need for meaningful error mapping in applications. [ more ]
Alvinalexander
2 months ago
JavaScript

ZIO 2: From flatMap To for Expressions (Scala 3 Video)

Wrap non-failing computations in ZIO.succeed in functional programming using Scala. [ more ]
Alvinalexander
2 months ago
JavaScript

Bonus: The Mindset of a Functional Programmer | Video: Free Introduction to Functional Programming Course

FP mindset emphasizes immutable variables, data structures, pure functions, and expressive error handling using types like ZIO and Cats Effect. [ more ]
Alvinalexander
5 months ago
Scala

ZIO 2: Using Either with ZIO in a Scala for-expression

Use ZIO in Scala for-expressions with Either to manage errors effectively. [ more ]
Alvinalexander
5 months ago
JavaScript

ZIO 2: A ZIO.timeout interrupt example with ZIO.attempt

ZIO.timeout can be used in Scala 3 for adding a timeout to an operation, resulting in a None value if the timeout is triggered. [ more ]
moreerror-handling
#scala
Alvinalexander
2 months ago
JavaScript

ZIO and the Power of IOs (Part 2) | Video: Free Introduction to Functional Programming Course

Using ZIO.succeed to create a ZIO-based printing function [ more ]
Alvinalexander
2 months ago
JavaScript

How Either Relates to ZIO | Video: Free Introduction to Functional Programming Course

Understanding the Either type is integral to functional programming. [ more ]
Alvinalexander
2 months ago
Scala

ZIO and the Power of IOs (Part 1) | Video: Free Introduction to Functional Programming Course

The ZIO type offers a powerful IO data type for functional programming, providing an industrial-strength solution requiring years to develop. [ more ]
Alvinalexander
5 months ago
Scala

How to use ZIO 2 in the Ammonite REPL

ZIO can be added into the Ammonite REPL using import statements for both ZIO and ZIO Worksheet libraries. [ more ]
Alvinalexander
5 months ago
JavaScript

A ZIO ZLayer logging example (with Scala-CLI)

Demonstrates enabling logging in a ZIO application using ZLayer. [ more ]
Alvinalexander
6 months ago
Scala

ZIO 2: How to read a file and write its output to the console

Reading files and processing output using ZIO 2 in Scala. [ more ]
Alvinalexander
2 months ago
JavaScript

ZIO and the Power of IOs (Part 2) | Video: Free Introduction to Functional Programming Course

Using ZIO.succeed to create a ZIO-based printing function [ more ]
Alvinalexander
2 months ago
JavaScript

How Either Relates to ZIO | Video: Free Introduction to Functional Programming Course

Understanding the Either type is integral to functional programming. [ more ]
Alvinalexander
2 months ago
Scala

ZIO and the Power of IOs (Part 1) | Video: Free Introduction to Functional Programming Course

The ZIO type offers a powerful IO data type for functional programming, providing an industrial-strength solution requiring years to develop. [ more ]
Alvinalexander
5 months ago
Scala

How to use ZIO 2 in the Ammonite REPL

ZIO can be added into the Ammonite REPL using import statements for both ZIO and ZIO Worksheet libraries. [ more ]
Alvinalexander
5 months ago
JavaScript

A ZIO ZLayer logging example (with Scala-CLI)

Demonstrates enabling logging in a ZIO application using ZLayer. [ more ]
Alvinalexander
6 months ago
Scala

ZIO 2: How to read a file and write its output to the console

Reading files and processing output using ZIO 2 in Scala. [ more ]
morescala
Alvinalexander
6 months ago
Scala

ZIO, ZIO HTTP Server, and Scala-Cli

The article provides a simple ZIO HTTP server application example.
Instructions on setting up the ZIO dependencies and running the application were shared. [ more ]
Alvinalexander
3 months ago
JavaScript

ZIO/ZLayer FAQ: How to use a Typesafe Config HOCON properties file with ZIO

Use hand-coding approach with ZIO for reading Typesafe Config HOCON files. [ more ]
Alvinalexander
3 months ago
JavaScript

ZIO/ZLayer FAQ: How do I create a very simple ZLayer with ZIO 2?

ZIO ZLayer provides dependency injection, modularity, resource management, testability, and type safety in ZIO 2 applications. [ more ]
Alvinalexander
10 months ago
JavaScript

A ZIO 2 collectAllPar example using Scala 3

ZIO collectAllPar method example with for expression. [ more ]
Alvinalexander
3 years ago
Scala

A ZIO cheatsheet

Creating a ZIO cheat sheet while learning ZIO and reading Zionomicon is beneficial. [ more ]
[ Load more ]