remark
ing
Social media with text files - like twitter but by writing
markwhen
.
Learn more
.
Login / Sign up
Home
Search
Documentation
Login
Rob Koch
rob
/
rob.mw
ยท
2y
RYALTT
My take on Don't Repeat Yourself (DRY): Repeat Yourself At Least Three Times (RYALTT).
Trying to abstract too soon means you won't know all the necessary cases you should try to abstract for. But when you've repeated yourself 3 times already, you can specifically target those other copies in your abstraction.
Twice isn't enough, either - you may really only need what you copied twice and never more than that.
Cheers
Comments
Drop files here