What does WET mean?
It stands for 'Write Everything Twice' or 'We Enjoy Typing'.
WET Principle
The WET principle, translating to 'Write Everything Twice' or 'We Enjoy Typing', represents an approach opposite to the DRY (Don't Repeat Yourself) principle by sarcastically allowing or even encouraging code repetition.
Write Everything Twice
WET is a humorous acronym suggesting writing or repeating code more than necessary, often seen as a way to emphasize simplicity or avoid the complexity of abstraction.
Lack of Abstraction
WET code may lack proper abstraction, leading to redundant and harder to maintain code due to excessive repetition of similar structures or logic.
Unpredictable Changes
Changes in WET code can be less predictable and uniform, as related elements may not change in a uniform manner, increasing the risk of errors and inconsistencies.
Testing Challenges
WET code can present challenges for testing, as there may be more code paths to cover due to duplication, increasing the effort and complexity to ensure software quality.
Want to learn more?
If you'd like to go deeper into WET —or bring this kind of training to your team— let's talk. I help teams understand and apply these concepts. I'd love to hear from you!
What is a beta version?
A beta version, also known as a preview, is a pre-release version of softwa...
What is Testing?
Testing, or test, is a procedure conducted to verify and validate the funct...
What does ALM stand for?
ALM, or Application Lifecycle Management, refers to the process of managing...
What is a tester?
A tester, also known as a test engineer or QA (Quality Assurance), is prima...
What are the SOLID principles?
The SOLID principles were introduced by Robert C. Martin, also known as Unc...