Type Gymnastics with Builder Pattern

scalabuildertypesseries

The Builder pattern provides a way to construct complex objects step by step with a fluent API, where each method call returns the builder itself, allowing for method chaining. Let us play some type …

Read more →

A world without types - Part 3

scalaseriesseries-typestypes

Guest post by Bahul Jain. In this post, he talks about algebraic data types (ADTs) and its benefits. He discusses how ADTs can be used to model complex data and boost developer productivity.

Read more →

A world without types - Part 2

scalaseriesseries-typestypes

Guest post by Bahul Jain. In this post, he talks about addressing the performance implications of creating types everywhere. He explores AnyVal and a light-weight library called Supertagged to …

Read more →

A world without types - Part 1

scalaseriesseries-typestypes

Guest post by Bahul Jain. In this post, he explains why types are essential for modeling data and operations in a meaningful way. He goes into detail about how types help clarify the purpose of data, …

Read more →