Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Neil Cerutti Newsgroups: comp.lang.python Subject: Re: What other languages use the same data model as Python? Date: 5 May 2011 17:39:03 GMT Organization: Norwich University Lines: 23 Message-ID: <92g5lnFkolU1@mid.individual.net> References: <4dbd1dbf$0$29991$c3e8da3$5496439d@news.astraweb.com> <77f64071-b288-404c-8280-b2c61ba77f06@n10g2000yqf.googlegroups.com> <92fbt9FfooU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net czwaveUYRQ4UfamhUtJzPgHUpOshKk+VNRlYG8+Ey5oU86pyJv Cancel-Lock: sha1:LDvLt0mZ2ooVZR839stGCe0MYbk= User-Agent: slrn/0.9.9p1/mm/ao (Win32) Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4769 On 2011-05-05, harrismh777 wrote: > ... saying that 'C' does not support pass-by-reference because > you have to direct the compiler with the '&' and '*' characters > is a little like saying that > > Python does not support decorations ! ... > > > ... because you have to direct the interpreter with some > > > @ bogus-decorator-syntax > > > I want Python to support decorations automatically ! You do have to declare decorators when defining them, but they are called automatically when you call the decorated function, with no special syntax required. C pointers don't automatically dereference themselves. -- Neil Cerutti