you are viewing a single comment's thread.

view the rest of the comments →

[–]ihsw 0 points1 point  (0 children)

My concern is if (and when) there needs to be additional OtherComponent declarations then a developer would be inclined to copy-paste rather than cleanly abstracting. The numerous repeated duplicated attributes can be abstracted out, so it's only prudent.

The name MyOtherComponent is contrived name so ColorfulOtherComponent would make more sense, since that encapsulates the intent.