Type safety or null safety
Author: Kuncheria-KuruvillaCreated Jun 7, 2021Updated Mar 24, 2025
In chapter 8, section Usecases. The following line got me confused
safeHead is like our normal head, but with added type safety
Maybe adds more of null safety than type safety right. Please correct me if I am wrong.
Source: MostlyAdequate/mostly-adequate-guide