The DRY Principle - Venkat Subramaniam

preview_player
Показать описание
#dryprinciple #cleancode #thepragmaticprogrammer #softwaredevelopmenttips

In this video, Venkat Subramaniam speaks on the real meaning of the now famous DRY principle in software. While many developers think this principle is just about code Venkat begs to differ and he explains why. Thoughts?

Sources:
Рекомендации по теме
Комментарии
Автор

Words "don't repeat" were suspiciously repeated a lot within this one video.

Udodisgustme
Автор

Interesting how he took as a given that we have to do validation both on the front end and back end... We don't. If validation works on the backend, that's all you need. Having the front end do validation is strictly a performance enhancement which is only used in edge cases... IE, likely not needed.

danielt
Автор

I've seen this taken too far many times. A coder notices a duplication of logic so he creates an abstract class to cover both instances, and thereby makes the whole of the code harder to read and follow. I've seen, literally, HUNDREDS of tiny abstract classes littered throughout the code to prevent duplication, and the whole of the code is an unreadable mess.

Jollyprez
Автор

Indian accent and public speaking don't go well together

jamesevans
visit shbcf.ru