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


Groups > comp.lang.python > #30366 > unrolled thread

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

Started byChris Angelico <rosuav@gmail.com>
First post2012-09-28 17:39 +1000
Last post2012-09-28 17:39 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromChris Angelico <rosuav@gmail.com>
Date2012-09-28 17:39 +1000
SubjectRe: REST code-golf: How concisely can you expose and consume services?
Message-ID<mailman.1542.1348817951.27098.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web