ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Rule #25- Avoid nested if/else blocks

Автор: 10 Minutes with Coach Joe

Загружено: 2023-03-22

Просмотров: 1145

Описание: RULE DESCRIPTION:

There is no limit to the number of methods or lines of code allowed, however if there are more than 20 to 50 methods or more than 200 to 500 lines of code, this should be an indicator that the class is doing more than one thing. Verify the single action being performed by this class and consider refactoring if this class is doing too much.

TIMESTAMP:

0:14 Intro
0:24 Harder to read nested code
0:39 More than 1 thing happening?
0:53 Improperly used if statement
1:04 “Arrow code”
1:20 Solution options
1:23 Guard clause
1:51 Many nested if’s with no else statements
2:18 Use positive conditionals
2:29 Consider rule #7
2:38 Consider rul3 #22
2:49 Many correct answers

COACH JOE MISSION:

This video series will cover all Coach Joe rules. Lesson tutorials are broken down into visual descriptions along with good and bad code examples. Following these preferred standard coding rules will help write cleaner more maintainable code, test driven development (TDD) and unit testing. Many rules apply to other languages like C#, Python, Typescript and Kotlin. Below are a list of Coach Joe rules included in this series that will help with your learning and education process.


Amazing pictures and artwork provided by:
https://www.pexels.com/photo/blue-and...
https://www.freepik.com/free-vector/s...
https://www.pexels.com/photo/three-sn...
https://unsplash.com/@jeshoots?utm_so...
https://www.pexels.com/photo/woman-in...
https://www.freepik.com/free-vector/b...
https://www.freepik.com/free-vector/n...
https://www.pexels.com/photo/textured...
https://www.pexels.com/photo/asian-ch...
https://unsplash.com/es/@beckerworks?...
https://www.freepik.com/free-vector/r...
https://unsplash.com/@jipy32?utm_sour...
https://www.freepik.com/free-vector/l...
https://unsplash.com/@saksham?utm_sou...
https://www.freepik.com/free-vector/m...

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Rule #25- Avoid nested if/else blocks

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Rule #26 - Code should be formatted and readable

Rule #26 - Code should be formatted and readable

Python Программирование с Нуля! Полный Курс Python для Начинающих с нуля! [*12 часов из 41]

Python Программирование с Нуля! Полный Курс Python для Начинающих с нуля! [*12 часов из 41]

Avoid Deep Nesting | Clean Code

Avoid Deep Nesting | Clean Code

25 nooby Python habits you need to ditch

25 nooby Python habits you need to ditch

why are switch statements so HECKIN fast?

why are switch statements so HECKIN fast?

Я СДЕЛАЛ ИДЕАЛЬНЫЙ ШАР ИЗ ОБЫЧНОЙ ЗЕМЛИ - ДРЕВНЯЯ ЯПОНСКАЯ ТЕХНИКА

Я СДЕЛАЛ ИДЕАЛЬНЫЙ ШАР ИЗ ОБЫЧНОЙ ЗЕМЛИ - ДРЕВНЯЯ ЯПОНСКАЯ ТЕХНИКА

If Else Statements in Python // Python RIGHT NOW!! // EP 4

If Else Statements in Python // Python RIGHT NOW!! // EP 4

Why You Shouldn't Nest Your Code

Why You Shouldn't Nest Your Code

Python  - Полный Курс по Python [15 ЧАСОВ]

Python - Полный Курс по Python [15 ЧАСОВ]

💡 JavaScript: вдохновленные Rust концепции владения (ownership) и трейтов (trait) в ECMAScript

💡 JavaScript: вдохновленные Rust концепции владения (ownership) и трейтов (trait) в ECMAScript

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]