- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Unit Testing is the REASON why your Code Sux and has Bugs!!
Our industry is so full of assumptions that it's quite frankly embarrassing. Testing indeterministic code results in spaghetti, because now you need an IoC container, interfaces with multiple implementations, configuration code for your services and mock objects, DTO objects, mapping libraries, etc, etc, etc. All because you thought you needed unit tests.
If you throw away unit testing of your indeterministic code, you can get rid of 96% of your technical debt. At this point your code is literally so easy to maintain and read, that you no longer *NEED* unit testing. In addition, the cognitive complexity of your codce has been reduced by 96%, so the statistical probability of that you'll add bugs to your code as you maintain it, is almost reduced to zero.
Once you have removed 96% of your code, you've also removed 96% of your "bug surface area", resulting in *LESS* bugs!
Facts are, the assumption of that you need unit testing, becomes the *REASON* why your code contains bugs. Because the very act of adding unit testing to your code, ensures that your code becomes 22x as complex as it needs to be, resulting in a lot of bugs originating simply from the need to ensure the code doesn't have bugs in the first place.
Visit https://ainiro.io
Видео Unit Testing is the REASON why your Code Sux and has Bugs!! канала AINIRO
If you throw away unit testing of your indeterministic code, you can get rid of 96% of your technical debt. At this point your code is literally so easy to maintain and read, that you no longer *NEED* unit testing. In addition, the cognitive complexity of your codce has been reduced by 96%, so the statistical probability of that you'll add bugs to your code as you maintain it, is almost reduced to zero.
Once you have removed 96% of your code, you've also removed 96% of your "bug surface area", resulting in *LESS* bugs!
Facts are, the assumption of that you need unit testing, becomes the *REASON* why your code contains bugs. Because the very act of adding unit testing to your code, ensures that your code becomes 22x as complex as it needs to be, resulting in a lot of bugs originating simply from the need to ensure the code doesn't have bugs in the first place.
Visit https://ainiro.io
Видео Unit Testing is the REASON why your Code Sux and has Bugs!! канала AINIRO
Комментарии отсутствуют
Информация о видео
5 июня 2025 г. 16:21:38
00:06:03
Другие видео канала





















