How to Use Debug Assertions in a Complex Function
In this video, you will learn how to apply debug assertions to a truly complex piece of code, which consists of loops, branching instructions and even recursive calls. As the demo unfolds, we will find ourselves in a desperate situation, with code becoming increasingly non-readable, while at the same time adding three orders of magnitude (!!!) to its running time.
By the end of the video, you will learn how to remove logic used in debug assertions into the helper classes and extension methods that will improve code readability at places where assertions are made; you will also learn how to choose which assertions to make, so to remove those that are hurting performance without effectively lowering the quality of conclusions made from those assertions that remain.
Видео How to Use Debug Assertions in a Complex Function автора Programming C#
Видео How to Use Debug Assertions in a Complex Function автора Programming C#
Информация
2 марта 2025 г. 16:00:48
00:15:00
Похожие видео