[Home] [By Thread] [By Date] [Recent Entries]

  • From: Amelia A Lewis <amyzing@t...>
  • To: Roger L Costello <costello@m...>
  • Date: Thu, 6 Jan 2022 07:59:28 -0500

On Thu, 6 Jan 2022 12:44:47 +0000, Roger L Costello wrote:
> Do multiple ref's to the same element constitute a violation of the 
> Don't Repeat Yourself (DRY) principle?

No.

References (of the sort that you intend to use here) are useless unless 
they can be reused; the point here is that the multiple references to a 
single definition reduce repetition, redundancy, and the risk of 
multiple copies of a definition falling out of synchronization.

Amy!
-- 
Amelia A. Lewis                    amyzing {at} talsever.com
Love?
A joke, that.  Love was the problem, not the solution.  Being hit by a
car was better than love.
            -- Steven Brust, PJF, "Cowboy Feng's Space Bar and Grille"


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member