EVERY programmer should follow this principle 👩‍💻 #technology #programming #software #career #code

preview_player
Показать описание

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

"you gotta think lazy" is the best description ever of programmers and is the most true 😂

Kaitokid
Автор

"You gotta think lazy"
Me: coding for hours to automate 5 minutes tasks.

savirananda
Автор

Be DRY don't be WET ( We Enjoy Typing)

moinali
Автор

"Don't repeat yourself is aimed at encouraging programmers to not repeat themselves"

andrewwood
Автор

Oh don't you worry, im lazy alright, too lazy to even start coding

Goose____
Автор

Well, sometimes readability takes precedence over DRY. :)

montenegrodrd
Автор

There is no “DRY” npm package. Am I supposed to do this by thinking?

ujk
Автор

"You gotta think lazy"
Me: goes to stack overflow then copy-paste

dixie-pixie
Автор

Make sure not to use DRY programming in test cases, they are meant to be repetitive otherwise you will need to write tests for your tests.

stephens
Автор

My principle is "If it doesn't look good, it's not good"

Fitting with the example of the class init

uuu
Автор

My professor always says: " start where others reached", that's why I used my classmates' graduation project's code to build my own, it was a php website and he had all the oop stuff ready so why spend time and effort writing it when they already did.

bassam_salim
Автор

The level beyond this is knowing when to break this rule, understanding the trade-off.

jasonpepas
Автор

"Don't repeat yourself is a software development principle aimed at reducing repeating yourself."
*ah yes, the floor is made out of floor here*

SkyTheHusky
Автор

“Gotta think lazy”… that’s what I’m doing when I repeat myself. It’s out of laziness… efficiency is hard.

tamaraoweibo
Автор

There’s nuance here:

«Prefer repetition over the wrong abstraction.»

«Avoid hasty abstractions»

See the talk by Sandy Metz.

magne
Автор

It took me almost a decade to get this idea removed from my head

loupax
Автор

Did he really repeat the functions in order to not repeat the function?

RoyalYoutube_PRO
Автор

"you gotta think lazy"
the one guy who overengineers simple code to save on doing the task multiple times: 👁️👄👁️

kuratse
Автор

I thought the wisdom on testing specifically was Do Repeat Yourself A Little Bit, so you don't break all tests by reusing code that wasn't supposed to change in the first place...

rafagd
Автор

"You're a programmer, you gotta think lazy" man this line will stick with me for the rest of my life.

abhinavap