Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63076

Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp?

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp?
Date 2014-01-03 12:26 -0500
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-7A13FC.12263503012014@news.panix.com> (permalink)
References <f51999a3-3302-4a7f-bfdb-756983e72fe3@googlegroups.com> <mailman.4862.1388769050.18130.python-list@python.org>

Show all headers | View raw


In article <mailman.4862.1388769050.18130.python-list@python.org>,
 Devin Jeanpierre <jeanpierreda@gmail.com> wrote:

> // C++
> Foo x = y;
> x.bar = 3;
> 
> // Java
> Foo x = y;
> x.bar = 3;
> 
> // Scheme
> (define x y)
> (foo-bar x 3)
> 
> The syntax of the first two is identical, so the uneducated would
> assume they do the same thing. 

This is one of the things that tripped me up when I first tried to learn 
JavaScript.  They syntax is superficially identical to C++, so I assumed 
it worked the same way.  Bad assumption.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is Python really "Lisp without parentheses"?  So would it be easy to *implement* a lot of Python in Scheme/Lisp? Chris Seberino <cseberino@gmail.com> - 2014-01-02 22:46 -0800
  Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp? Rustom Mody <rustompmody@gmail.com> - 2014-01-03 15:30 +0530
    Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp? Chris Seberino <cseberino@gmail.com> - 2014-01-03 08:50 -0800
      Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp? Rustom Mody <rustompmody@gmail.com> - 2014-01-03 23:03 +0530
  Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp? Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-01-03 09:10 -0800
    Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp? Chris Seberino <cseberino@gmail.com> - 2014-01-03 09:26 -0800
      Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp? Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-01-03 10:32 -0800
        Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp? Chris Seberino <cseberino@gmail.com> - 2014-01-03 22:48 -0800
    Re: Is Python really "Lisp without parentheses"? So would it be easy to *implement* a lot of Python in Scheme/Lisp? Roy Smith <roy@panix.com> - 2014-01-03 12:26 -0500
  Re: Is Python really "Lisp without parentheses"?  So would it be easy to *implement* a lot of Python in Scheme/Lisp? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-04 07:38 +1100

csiph-web