[Interest] QFileInfoList inheritance producing warnings

Thiago Macieira thiago.macieira at intel.com
Sat Apr 5 01:01:18 CEST 2014


Em sex 04 abr 2014, às 22:58:02, Guido Seifert escreveu:
> You can, but you should not. Convenient can also be interpreted as lazy. ;-)
> I would use a composition approach. Deemed to be more flexible. Why
> inheritance was used in QQueue and QStack? Simpler code? Better
> readability? Performance reasons? No idea. If someone can give a reason, it
> is probably Thiago. :-D

Homer Simpson rule #1:
It was like that when I arrived.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list