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


Groups > comp.lang.python > #30366

Re: REST code-golf: How concisely can you expose and consume services?

References <CAO+9iGcDuQixYeLQus2RKzz-xGp=bui6SM4qMuX3yeqgCe4nAQ@mail.gmail.com>
Date 2012-09-28 17:39 +1000
Subject Re: REST code-golf: How concisely can you expose and consume services?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1542.1348817951.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Sep 28, 2012 at 3:41 PM, Alec Taylor <alec.taylor6@gmail.com> wrote:
> web2py (7 lines): https://gist.github.com/3798093

I love the idea, even though I shan't be entering. Code golf is awesome fun!

My latest golf game involved importing code comments and text-file
annotations into autodoc markup... with two one-liners. And it only
needed two because I did it in two parts (wasn't even aware of the
text file until I'd done the code comments).

Of course, a real RESTful API is likely to have rather more guts in
it, but it's cool how little you need of structure!

ChrisA

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


Thread

Re: REST code-golf: How concisely can you expose and consume services? Chris Angelico <rosuav@gmail.com> - 2012-09-28 17:39 +1000

csiph-web