@GrahamDowns @jk remember, code looking similar doesn’t make it the same.
DRY principle is about knowledge, not code. There’s an expensive difference between the two.
Top-level
@GrahamDowns @jk remember, code looking similar doesn’t make it the same. DRY principle is about knowledge, not code. There’s an expensive difference between the two. 3 comments
@GrahamDowns @slotos @jk So true. DRY is usually interpreted so "by the book" that sometimes it give birth to a monstrous code. |
@slotos That's fair too. Each of those four implementations could be slightly different, and for various reasons, need to stay that way. Not every hammer is suitable for every nail. ;-) @jk