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

Discussion in 'Python' started by Chris Angelico, Sep 28, 2012.

  1. On Fri, Sep 28, 2012 at 3:41 PM, Alec Taylor <> 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
     
    Chris Angelico, Sep 28, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben Finney
    Replies:
    16
    Views:
    484
    Jeremy Fincher
    Nov 18, 2003
  2. dgleeson422111

    consume local web service -ok consume remote service - Not OK

    dgleeson422111, Jan 26, 2010, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    1,612
    dgleeson422111
    Jan 31, 2010
  3. Alec Taylor
    Replies:
    0
    Views:
    203
    Alec Taylor
    Sep 28, 2012
  4. Demian Brecht
    Replies:
    0
    Views:
    176
    Demian Brecht
    Sep 28, 2012
  5. Alec Taylor
    Replies:
    0
    Views:
    193
    Alec Taylor
    Sep 28, 2012
Loading...

Share This Page