Todays article doesn't push DRY exaggeratedly. The tendency I like that!
By chance I see below post that has good advise about DRY...
https://dev.to/mohanarpit/coding-practices-your-future-self-will-love-you-for-ohe
At the time, pulled trigger neuron connection belongs to my take on DRY!!🧠🧠🧠
Copy And Paste is violation law of DRY?
Copy And Paste is make clone something written once.
Human don't repeat first typing keyboard.
Honestly I like shared noting rather than traditional DRY practice that sharing code as mush as possible.
I'm Webdev JavaScript person but I'm curious your thought come from variety background!
And welcome simply Yes or No comments as a answer for Copy And Paste is violation law of DRY?
Thank you reading!😆😆😆
No.
Pedantically: Both
DRY
andDon't Copy and Paste
when applied to code are techniques for a larger strategy: To produce high quality systems. In some cases copy and paste (aka repeating yourself) is the best path to producing a high quality system.(continueing after edit...)
Consider also the advice to not prematurely optimize: DRY is an automation optimization that can be applied prematurely. Copying and Pasting code can be useful to educate the developers on what abstractions
are appropriate to apply.