Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'reject': 0.05; 'argument,': 0.09; 'collections': 0.09; 'cc:addr :python-list': 0.10; 'thread': 0.11; 'language': 0.14; 'cases': 0.15; "hasn't": 0.15; 'comparable.': 0.16; 'filename:fname piece:signature': 0.16; 'subject:Objects': 0.16; 'wrote:': 0.17; 'java': 0.21; 'object.': 0.22; 'we,': 0.22; 'cc:2**0': 0.23; 'example': 0.23; 'programming': 0.23; 'class.': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'comparison': 0.29; 'objects': 0.29; 'probably': 0.29; 'e.g.': 0.30; 'code': 0.31; 'point': 0.31; 'skip:j 20': 0.33; "can't": 0.34; 'something': 0.35; 'there': 0.35; 'but': 0.36; "wasn't": 0.36; 'method': 0.36; 'too': 0.36; 'turn': 0.36; 'being': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'some': 0.38; 'little': 0.39; 'where': 0.40; "you've": 0.61; 'ever': 0.63; 'common,': 0.84; 'to:addr:yahoo.co.uk': 0.84; 'upset': 0.84; 'worthwhile.': 0.84; 'kat': 0.91 Date: Thu, 23 Aug 2012 11:44:01 -0500 From: Evan Driscoll User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120714 Thunderbird/10.0.6 MIME-Version: 1.0 To: lipska the kat Subject: Re: Re: Objects in Python References: <18409992-1e28-4721-8e64-60c69668da4e@googlegroups.com> In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig46D609314936DEF3551F94C8" Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 47 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1345740247 news.xs4all.nl 6922 [2001:888:2000:d::a6]:50791 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27743 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46D609314936DEF3551F94C8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/23/2012 04:19 AM, lipska the kat wrote: > Well we don't want to turn this into a language comparison thread do we= , > that might upset too many people but I can't remember ever writing a > method that took an Object as argument, you just can't do that much wit= h > an Object. In the pre-Java-1.5 days, functions that took Objects were *very* common; e.g. every collections class. Even now there are probably lingering cases where either there's some code that hasn't been genericized or is too much work to genericize to make it worthwhile. (I do very little Java programming so can't point to any concrete cases if you would (reasonably) reject the example of java.util.collections being used in their non-generic form.) Anyway, the point wasn't that 'foo(Object o)' is common, just that you've probably seen something which is somewhat comparable. Evan --------------enig46D609314936DEF3551F94C8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBUDZd0gOzoR8eZTzgAQLz3Qf9F93tHIkqSgMt4wEcvMBttLE//kngTfLK 8HrxVGwGbLYzqXZN+315a7ZaNpBUZGbu2On2Y/dsfRAIPhExrSmVTrQWrIqErG1S 72doRFDFzcfh6EHD/dvvQ+1DKRJ9iqnDRwGnr1xtyOjLbILMAXx8PDCkTA25VXCm +gYn+RiPfWfWlyAHmXTEtnijtJbryNrFyniUjuHMdUw5AcABj/IGp1+NE+0o7E0j AUC0zxzm6vR5Ssy7o3e3wPc5Ie1PTYtjrIX5OLM4OCz43/GoXlgklFOePMIYT76o mMSyqUb7wmvdZ3DUkozK8lt50MG/RWvaX+3lKfxxO1GjJ/WN8ShTSQ== =DuQ0 -----END PGP SIGNATURE----- --------------enig46D609314936DEF3551F94C8--