Author: Miral Gandhi

Error Handling Using EitherT

Are you aware of Either, if yes then you must know how it’s use for error handling , but don’t you think things get messy when it is┬áplaced into effectful types such as Option or Future, a large amount of boilerplate is required to handle errors.

Table Driven Approach For Testing

Most of us would have been in a situation where multiple test cases are same but the input data isn’t, Or even when input data is same and is used for multiple test cases. So In cases like these we can use Table driven approach, it is a way of testing that allows you to write minimal test code with increased readability.

%d bloggers like this: