One of the most important aspects in professional software development is to detect errors as early as possible. Of course, the best case would be if we couldn’t even write erroneous code.
Source: Preferring Compile-time Errors over Runtime Errors with Vulkan-hpp | NVIDIA Developer Blog