[haiku-development] Re: Rename BControlLook to BFacade

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 26 Aug 2021 15:05:42 +0200

Am 26.08.2021 um 00:32 schrieb John Scipione:

Dear Haiku core developers and anybody else who wishes to respond to this email,

I would like to rename BControlLook to BFacade.

My two cents:
1) BControlLook does not follow the facade design pattern at all. Naming it after it would make no sense, and would really be confusing.
2) You don't name a class after a design pattern. I mean, you're free to call a wrapper class a MyClassWrapper, but you don't call it just Wrapper. That's just too generic.

Bye,
   Axel.

Other related posts: