Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'definitions': 0.07; 'through,': 0.07; 'arguments,': 0.09; 'definitions.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'wrappers': 0.09; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'received:66.245': 0.16; 'received:dsl.mindspring.com': 0.16; 'received:mindspring.com': 0.16; 'received:wlfraed': 0.16; 'subject:?)': 0.16; 'subject:Java': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'java': 0.21; 'url:home': 0.21; 'work,': 0.23; 'optional': 0.23; '+0000': 0.24; 'aug': 0.24; 'code': 0.25; "i'm": 0.27; 'lee': 0.28; 'least': 0.31; 'does': 0.32; 'implement': 0.32; 'to:addr:python-list': 0.33; 'header:X-Complaints-To:1': 0.35; 'charset:us-ascii': 0.36; 'fri,': 0.36; 'but': 0.37; 'received:org': 0.38; 'subject:: ': 0.39; 'url:docs': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; "it's": 0.40; 'nothing.': 0.67; 'url:0': 0.69; 'dennis': 0.77 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Java is killing me! (AKA: Java for Pythonheads?) Date: Fri, 12 Aug 2011 23:31:24 -0700 Organization: > Bestiaria Support Staff < References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: user-11fa4hn.dsl.mindspring.com X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1313217094 news.xs4all.nl 23957 [2001:888:2000:d::a6]:58122 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11337 On Fri, 12 Aug 2011 17:02:38 +0000 (UTC), kj declaimed the following in gmane.comp.python.general: > > As far as I can tell (admittedly I'm no Java expert, and have not > programmed in it since 2001), to implement a Java method with n > optional arguments, one needs at least 2**n method definitions. > Even if all but one of these definitions are simple wrappers that > call the one that does all the work, it's still a lot of code to > wade through, for nothing. > Does this apply? http://download.oracle.com/javase/1,5.0/docs/guide/language/varargs.html -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/