Hacker News new | past | comments | ask | show | jobs | submit login

Are you speaking about DRY on a syntactic basis, or the version from The Pragmatic Programmer ("Every piece of knowledge must have a single, unambiguous, authoritative representation within a system")?



Ah, thanks, now I realise I've been taking DRY too literally and what I described as "single source of truth" is actually what DRY tends to mean:

https://en.wikipedia.org/wiki/Don't_repeat_yourself


I would say "was intended to mean.". The acronym is catchy and seems sufficiently self explanatory that I think your initial interpretation may be more common.

I've been jokingly pushing for over-application of syntax-focused DRY to be called "Huffman coding"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: