• ClipSaver
  • dtub.ru
ClipSaver
Русские видео
  • Смешные видео
  • Приколы
  • Обзоры
  • Новости
  • Тесты
  • Спорт
  • Любовь
  • Музыка
  • Разное
Сейчас в тренде
  • Фейгин лайф
  • Три кота
  • Самвел адамян
  • А4 ютуб
  • скачать бит
  • гитара с нуля
Иностранные видео
  • Funny Babies
  • Funny Sports
  • Funny Animals
  • Funny Pranks
  • Funny Magic
  • Funny Vines
  • Funny Virals
  • Funny K-Pop

What is DRY in programming and why it matters? скачать в хорошем качестве

What is DRY in programming and why it matters? 5 лет назад

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

скачать mp3

скачать mp4

поделиться

телефон с камерой

телефон с видео

бесплатно

загрузить,

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
What is DRY in programming and why it matters?
  • Поделиться ВК
  • Поделиться в ОК
  •  
  •  


Скачать видео с ютуб по ссылке или смотреть без блокировок на сайте: What is DRY in programming and why it matters? в качестве 4k

У нас вы можете посмотреть бесплатно What is DRY in programming and why it matters? или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:

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

Скачать mp3 с ютуба отдельным файлом. Бесплатный рингтон What is DRY in programming and why it matters? в формате MP3:


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



What is DRY in programming and why it matters?

Avoiding knowledge duplication is daily bread and butter of every programmer. In this #QuickAnswer I'll shed some light on the subject. #programming #tech #softwaredevelopment #developer #sde Clean Code (R. Martin) - US: https://amzn.to/3jVUEDU | UK: https://amzn.to/2Iij4Jz Best Practices for Programmers - US: https://amzn.to/2SPRSEg | UK: https://amzn.to/2Fr2h6e What is DRY in programming and why it matters? DRY stands for Do Not Repeat yourself. And it is one of the primary principles of good, clean code used by every professional programmer daily. If you don’t respect it - you won’t get very far. Very naive explanation of this rule says that you shouldn’t just copy and paste the code around, and that is true, but it’s about much more than that. Keeping your code DRY is about duplication of knowledge and intent. When we write our programs we codify the rules that govern the business side of the program, and this process is very costly. Time of programmers is expensive, and throughout the lifetime of a product - a single change gets the attention of very many people. There is an author, a reviewer, another programmer who finds a bug in the code, and fixes it, and then there is someone who builds on top of the code and extends it. Therefore it is very imperative to avoid writing a code that when change is needed - has to be modified in many places in order to support new requirements. Today we acknowledge change as an inherent part of building a product, so much that we formed entire methodologies around supporting constant change like agile. So whenever you need to check if your code is really dry, ask yourself: if the product has new requirements: how many places and formats do you need to change? Few bits of the code? Documentation? Database? Network layer? APIs? Answering yes too many times and your product isn’t DRY. Of course there is a tradeoff related to writing the code in DRY manner: you spend more time on initial stages, designing, cleaning and distilling interfaces, partitioning the code and refactoring things that no longer fit the new purpose. It may seem like it takes forever to produce such clean code, but because of that - the cost of maintaining this code in the future will be orders of magnitude less. Perhaps this is the cost you will be paying very soon. One thing that we need to be vary is overly extensive strictness when it comes to code duplication. Example given in The Pragmatic Programmer book is perfect to illustrate that: two validation functions that check for different things, but actually share the same body. Should we merge this under one function and just call it “validate_something”? Of course no, this isn’t the duplication of knowledge, it’s a coincidence. As soon as one of these things will need to be changed - we’ll have to break the function into two. Another issue is finding generic validators in the repository that we can’t immediately assign to validated value. Knowledge duplication really can be the source of all evil. Sooner or later the both versions will start to diverge, and keeping them in line always seems like wishful thinking. It doesn’t matter if these are two bits of code, comments or intent expressed in the database. It will break, believe me. Avoiding duplication will be your bread and butter, the further you go into the land of software development, and like everything in it - it’s another point to debate and pick from a myriad of solutions. Don’t worry - the expertise to solve these issues will come with practice. Subscribe, and I’ll see you in the next one, cheers!

Comments
  • Избегайте наследования при разработке ООП-программного обеспечения? 5 лет назад
    Избегайте наследования при разработке ООП-программного обеспечения?
    Опубликовано: 5 лет назад
  • 1 год назад
    "Clean Code" is bad. What makes code "maintainable"? part 1 of n
    Опубликовано: 1 год назад
  • Programming Principles Crash Course: KISS, YAGNI, Law of Demeter, DRY and etc. 3 года назад
    Programming Principles Crash Course: KISS, YAGNI, Law of Demeter, DRY and etc.
    Опубликовано: 3 года назад
  • DRY principle is why your codebase sucks? 1 год назад
    DRY principle is why your codebase sucks?
    Опубликовано: 1 год назад
  • Что такое API? Простыми Словами Для Начинающих 7 месяцев назад
    Что такое API? Простыми Словами Для Начинающих
    Опубликовано: 7 месяцев назад
  • Крупное обновление GO 1.26 1 день назад
    Крупное обновление GO 1.26
    Опубликовано: 1 день назад
  • 2 года назад
    "Clean" Code, Horrible Performance
    Опубликовано: 2 года назад
  • 5 Easy Principles for ALWAYS Writing Clean Code 1 год назад
    5 Easy Principles for ALWAYS Writing Clean Code
    Опубликовано: 1 год назад
  • How Senior Programmers ACTUALLY Write Code 3 года назад
    How Senior Programmers ACTUALLY Write Code
    Опубликовано: 3 года назад
  • Programming Terms: DRY (Don't Repeat Yourself) 10 лет назад
    Programming Terms: DRY (Don't Repeat Yourself)
    Опубликовано: 10 лет назад
  • What is Clean Code? 5 лет назад
    What is Clean Code?
    Опубликовано: 5 лет назад
  • Принципы SOLID: действительно ли вы их понимаете? 2 года назад
    Принципы SOLID: действительно ли вы их понимаете?
    Опубликовано: 2 года назад
  • DRY Software Principle makes you CRY 1 год назад
    DRY Software Principle makes you CRY
    Опубликовано: 1 год назад
  • My 10 “Clean” Code Principles (Start These Now) 1 год назад
    My 10 “Clean” Code Principles (Start These Now)
    Опубликовано: 1 год назад
  • Test Driven Development vs Behavior Driven Development 4 года назад
    Test Driven Development vs Behavior Driven Development
    Опубликовано: 4 года назад
  • Я ненавижу длинные цепочки If-Elif: этот шаблон проектирования решил эту проблему раз и навсегда 3 месяца назад
    Я ненавижу длинные цепочки If-Elif: этот шаблон проектирования решил эту проблему раз и навсегда
    Опубликовано: 3 месяца назад
  • Не пишите комментарии 3 года назад
    Не пишите комментарии
    Опубликовано: 3 года назад
  • Все о принципах SOLID 1 год назад
    Все о принципах SOLID
    Опубликовано: 1 год назад
  • Почему ваш код не соответствует Python (и как это исправить) 3 месяца назад
    Почему ваш код не соответствует Python (и как это исправить)
    Опубликовано: 3 месяца назад
  • Как учиться быстро и самому? На примере языков  программирования. 1 год назад
    Как учиться быстро и самому? На примере языков программирования.
    Опубликовано: 1 год назад

Контактный email для правообладателей: u2beadvert@gmail.com © 2017 - 2026

Отказ от ответственности - Disclaimer Правообладателям - DMCA Условия использования сайта - TOS



Карта сайта 1 Карта сайта 2 Карта сайта 3 Карта сайта 4 Карта сайта 5