3 ms·
The evolution of better error messages has been one of the biggest QOL improvements in language and API design of late. For instance, even a system as intricat
by skohan 5y ago
The evolution of better error messages has been one of the biggest QOL improvements in language and API design of late. For instance, even a system as intricate and demanding as Vulkan can be pleasant to work with, because when something goes wrong you always know exactly what it is, and you have a link to the documentation to read more about it.
- zbendefy 5y agoAnd the best thing is that when you are releasing, you turn this validation layer off, which is good for 2 reasons: -No performance is wasted in release builds -Validation checks can be expensive and exhaustive as it will not run in production code