Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Neil Cerutti Newsgroups: comp.lang.python Subject: Re: skipping __init__ and using exploiting a class member instead Date: 21 Oct 2013 18:47:25 GMT Organization: Norwich University Lines: 19 Message-ID: References: <0e9b51a9-bd78-4d34-b277-c463347e8e02@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net 6kyU55fsxemxH+5nCZL7uAR4VC50OUi4uY3Ip6EceiFiXiDvRb Cancel-Lock: sha1:hIQ2mqh6U7b1Gmvbq6uSbUL15i8= User-Agent: slrn/0.9.9p1/mm/ao (Win32) Xref: csiph.com comp.lang.python:57199 On 2013-10-20, Ben Finney wrote: > Roy Smith writes: > >> Scott Meyers is an incredibly smart C++ wizard. His books are amazing. >> The fact that it takes somebody that smart, and books that amazing, to >> teach you how not to shoot yourself in the foot with a C++ compiler says >> a lot about the language. > > +1 QotW The existence of the STL shows a counterpoint to the complexity. There are rewards for the complexity, in other words. Some of the recipes in Meyers' books are amazing: The combination of class templates, the envelope pattern, and template specialization, for example; you get a generic interface with a decoupled implementation which can be optimized for specific types at need. -- Neil Cerutti