alvin alexander
Nodes for the term “option”
Scala Either type: How to get the value out of an Either
Read more
ZIO 2: Using Either with ZIO in a Scala for-expression
Read more
A Scala Either, Left, and Right example (like Option, Some, and None)
Read more
Using the Scala Option, Some, and None idiom (instead of Java null)
Read more
Scala: Handling nested Options with flatMap and for
Read more
Scala/for/Option: How to process multiple Option values in a Scala ‘for’ loop
Read more
Functional error handling in Scala
Read more
Scala best practice: How to use the Option/Some/None pattern
Read more
Scala: “IO monad doesn’t make a function pure; it just makes it obvious it’s impure”
Read more
Ammonite REPL and ZIO, Option, Try, Either, Future in a for-expression
Read more
Scala: How to create a None with a specific data type
Read more
The fastest way to learn functional programming (for Java/Kotlin/OOP developers)
Read more
Scala: How to use ‘fold’ on an Option (syntax, examples)
Read more
Scala 3: Functions: Options and Functional Error Handling (Part 1)
Read more
Some Scala Exception ‘allCatch’ examples
Read more
Scala: How to use higher-order functions (HOFs) with Option (instead of match expressions)
Read more
Functional error handling in Scala (Martin Odersky’s strawman proposal, 2022)
Read more
Functional error handling in Scala (links)
Read more
Scala best practices: null values, Option, Some, and None
Read more
A simple Scala Try, Success, Failure example (reading a file)
Read more
Thinking With Types: Functional error handling in Scala
Read more
A list of United States for an HTML select/option tag (drop-down list)
Read more
Never make someone a priority ... (Maya Angelou quote)
Read more
Comparisons of Java’s Optional and Scala’s Option
Read more
Scala: Idiomatic processing of an Option
Read more
How to declare, set, and use Option, Some, and None fields in Scala
Read more
Scala Option, Some, None syntax examples
Read more
More null values seen in the wild
Read more
Another Scala nested Option + flatMap example
Read more
An interesting story on the Scala phrase, 'flatMap that sh*t'
Read more
How to use `curl` to get headers from a URL
Read more
Database-driven version of United States dropdown data
Read more
The rationale for Optional (in Java)
Read more
Initialize Scala variables with Option, None, and Some (not null)
Read more
Erlang rule: Don’t program defensively
Read more
The Java PrintFlagsFinal Java/JVM option (maxpermsize, maxheapsize)
Read more
iPhone web apps - the HTML SELECT element
Read more