Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21804
| Date | 2012-03-16 23:39 -0700 |
|---|---|
| From | Larry Hudson <orgnut@yahoo.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Why not use juxtaposition to indicate function application |
| References | <mailman.722.1331901933.3037.python-list@python.org> |
| Message-ID | <tpudncFzQOs9rPnSnZ2dnUVZ5jGdnZ2d@giganews.com> (permalink) |
On 03/16/2012 05:45 AM, Ray Song wrote:
> I confess i've indulged in Haskell and found
> f a
> more readable than
> f(a)
>
> And why aren't functions curried (partially applied function is another function which takes the rest arguments) by default?
>
>
> Thanks in advance for any suggestions.
>
> --
> Ray
My suggestion is that your question is irrelevant -- Python and Haskell are two different
languages each with different syntax rules and coming from different backgrounds. I would say
that trying to make any language look like some other is, at best, misguided. Simply learn, and
get used to, the language you're using AS IT IS DEFINED, not as you think it should be. If you
want to combine the features of two different languages, write a new one -- don't expect that
existing languages are going to change due to someone's whim. To expect otherwise is simply a
waste of time.
As to readability, I would suggest that that's more a function of what you're used to than any
inherent language syntax rules.
If my comments seem harsh -- sorry 'bout that. I'm old, and sometimes tend to be a curmugeon.
And as a completely irrelevant aside concerning readability:
Is anyone familiar with the IOCCC (International Obfuscated C Coding Contest)? The object is to
write the most obscure, but functional, C code possible. I haven't looked at any of this for
many years myself, but I just Googled it to see that this contest is still going on. Anyone
familiar with C might find it amusing to take a look...
-=- Larry -=-
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Why not use juxtaposition to indicate function application Ray Song <emacsray@gmail.com> - 2012-03-16 20:45 +0800
Re: Why not use juxtaposition to indicate function application "bruno.desthuilliers@gmail.com" <bruno.desthuilliers@gmail.com> - 2012-03-16 06:14 -0700
Re: Why not use juxtaposition to indicate function application Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-16 17:00 +0100
RE: Why not use juxtaposition to indicate function application "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-16 16:13 +0000
Re: Why not use juxtaposition to indicate function application Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-16 17:31 +0100
Re: Why not use juxtaposition to indicate function application Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-16 16:45 +0000
Re: Why not use juxtaposition to indicate function application Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-16 18:18 +0100
Re: Why not use juxtaposition to indicate function application Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-16 11:59 -0600
Re: Why not use juxtaposition to indicate function application Serhiy Storchaka <storchaka@gmail.com> - 2012-03-16 22:57 +0200
Re: Why not use juxtaposition to indicate function application Chris Rebert <clp2@rebertia.com> - 2012-03-16 14:02 -0700
Re: Why not use juxtaposition to indicate function application Serhiy Storchaka <storchaka@gmail.com> - 2012-03-17 00:14 +0200
Re: Why not use juxtaposition to indicate function application Tony the Tiger <tony@tiger.invalid> - 2012-03-16 16:55 -0500
Re: Why not use juxtaposition to indicate function application Terry Reedy <tjreedy@udel.edu> - 2012-03-17 00:38 -0400
Re: Why not use juxtaposition to indicate function application "Colin J. Williams" <cjw@ncf.ca> - 2012-03-16 11:06 -0400
Haskellizing python (was Why not use juxtaposition to indicate function application) rusi <rustompmody@gmail.com> - 2012-03-16 22:26 -0700
Re: Why not use juxtaposition to indicate function application Larry Hudson <orgnut@yahoo.com> - 2012-03-16 23:39 -0700
csiph-web