[haiku-commits] Re: haiku: hrev45422 - src/apps/deskbar

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 30 Mar 2013 14:06:51 +0100

On 03/29/2013 06:45 PM, John Scipione wrote:
IMHO readability would be worsened more by introduction an _Init()
function than you'd gain by avoiding duplicating the code snippet.

Duplicating code should be avoided due to being error prone, and making maintaining the code worse. It often also actually improves readability, although I agree this is not the case here.

Bye,
   Axel.


Other related posts: