Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 07 Aug 2012 03:16:50 -0500 Date: Tue, 07 Aug 2012 09:16:48 +0100 From: lipska the kat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.python Subject: Re: [newbie] Looking for a good introduction to object oriented programming with Python References: <54b916fe-9e2d-4f9e-b533-b5ecf677c8a5@a19g2000vba.googlegroups.com> <501f0e4a$0$29867$c3e8da3$5496439d@news.astraweb.com> <5020a903$0$29867$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <5020a903$0$29867$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 37 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-oX7pFse95xLzFlHUtV+EkvZKawVAX5bTo9rfwRB6BUXC7W3/IjJ5d9BsSm8erOIpPSN+K//cdLOJPDf!cSeqRWaB1BvZP/kfAU2bcHpvZXYh5LVNr/byggMkPLYrylxi77F5KIwJtcFLj4C8v9/NVEPqkIo= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3220 Xref: csiph.com comp.lang.python:26692 On 07/08/12 06:35, Steven D'Aprano wrote: > On Mon, 06 Aug 2012 10:24:10 +0100, lipska the kat wrote: > >> er, the point I was trying to make is that when you say 'interface' it >> could mean so many things. If you say 'facade' everyone knows exactly >> what you are talking about. And that is EXACTLY the point. > > The whole point of design patterns is to avoid getting stuck in > incidental implementation details of a particular library or class and > look for higher-level design patterns. > > The same applies to facade -- it's just a special case of the interface > pattern. So you AGREE with me, fantastic, what are we arguing about then (it's great fun though isn't it) facade is a SPECIAL case of interface. You seem to be missing this point. I may not be as smart or experienced as you but in my fairly wide experience of software projects of all sizes the biggest problem is one of communication. Design patterns, in my experience help with communication. I have designed and implemented many facades, I have also designed many interfaces. I do not think Java is the be all and end all of programming languages but it has paid off my mortgage and provided me with a good living. Python interests me because it is different. As far as I can see if I'm talking with a Pythonista or a Java developer or a hardware engineer (possibly) or a C++ guru or a university lecturer or an Eiffel developer and I say 'interface' they will all visualise something slightly different, if I say 'facade' they will all (hopefully) know EXACTLY what I am talking about. lipska -- Lipska the Kat: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun