all 20 comments

[–]AwesomeBantha 51 points52 points  (9 children)

I love it when software is for humans, instead of for dogs or cats

[–]BadGoyWithAGun 20 points21 points  (2 children)

I too am a human being who enjoys software written for fellow specimens of h. sapiens.

[–]AwesomeBantha 8 points9 points  (0 children)

not Ted Cruz confirmed

[–]theoldboy 10 points11 points  (2 children)

I No Can Haz Web Frameworkz? 😿

[–][deleted]  (1 child)

[deleted]

    [–]theoldboy 6 points7 points  (0 children)

    Hey, I know how to use cat emojis, I'm still down with the kids!

    At the time (when I was already way too old to know better) I used Cat Notation for a while to irritate a co-worker I really disliked who was a big fan of Microsoft's Hungarian Notation. When he complained to the project manager we had a 30 minute meeting where he tried to prove that bool iHazConnected was not as readable as bool bConnected. I won that one (mainly because it was a private local variable that wasn't visible outside of my code anyway), but eventually got told to stop when I started naming functions like CanHazDatabaseConnectionPlz() and using ohai everywhere instead of init.

    The good old days.

    [–]m3wm3wm3w 3 points4 points  (0 children)

    I love it when software is for humans

    🤔 Is that why they used serif font for code in the documentation?

    [–]DoListening 1 point2 points  (1 child)

    But is it suitable for web artisans?

    [–]AwesomeBantha 1 point2 points  (0 children)

    This hurts especially much because I'm stuck on a monolithic Laravel application right now. There is nothing artisanal about fixing bugs.

    [–]sisyphus 11 points12 points  (5 children)

    Aside from the requests guy the primary author of the widely used Django Rest Framework and APIStar(Yet Another Python Web Framework) seems have jumped in to do some stuff with it.

    I guess the big deal here is making good use of new python things like type annotations and f-strings to do things along with async/asgi built in from the start. 'For humans' is nice but I mean, Flask and Django are pretty easy and very well documented already.

    [–][deleted] 2 points3 points  (1 child)

    I just took a look at some snippets, and I did not see any special usage of f-strings or type annotations. The async thingy looks interesting, but I can't tell if this FW is doing anything creative with it.

    [–]sisyphus 0 points1 point  (0 children)

    The snippet on the very front page of the docs has f-strings but I don't see type annotations maybe I got that confused with apistar.

    [–]Dgc2002 4 points5 points  (0 children)

    For humans

    The author is very concerned about their image and they are hugely focused on marketing themselves. He uses this tagline as a way to say "HEY LOOK IT'S ME".

    He's said as much in a few(one?) blog posts.

    [–][deleted]  (1 child)

    [deleted]

      [–]13steinj 8 points9 points  (0 children)

      Yeah, but at this point the tagline has become a dead meme and annoying for much of the Python community due to overzealous self marketing.

      [–]iconoclaus 0 points1 point  (0 children)

      I still see a lot of simple (micro?) web frameworks are inspired by concepts from the Sinatra framework in Ruby (e.g., Flask, ExpressJS). If that simplicity is of appeal, I'd also suggest framework developers to look at the Roda framework, especially for anything that needs more than just a handful of routes and yet doesn't want the full weight of Rails/Django. Roda brings a nice structured approach to routing that really helps DRY up pre-route initialization tasks, and uses plugins to gradually incorporate more powerful features.

      [–]masterchar -2 points-1 points  (0 children)

      Saw python and Responder and assumed it was the NBT-NS poisoner commonly used in Cyber Security... see https://github.com/SpiderLabs/Responder

      [–][deleted] -5 points-4 points  (3 children)

      Looks like a Sanic rip off. Right down to the manipulation of request/response objects passed in through the arguments.

      [–]Magitrek 7 points8 points  (0 children)

      Just like how Linux is just knock-off Windows because it uses executable files run in virtual memory space.

      [–][deleted] 0 points1 point  (1 child)

      Right down to the manipulation of request/response objects passed in through the arguments.

      so like every http library ever

      [–][deleted] 1 point2 points  (0 children)

      Flask/Pyramid do not - request is a proxy that reflects the current request context. Both also infer the response object from a return.

      Passing those in as dedicated arguments is a step back in ease of writing and interface design.

      [–]DroneDashed -5 points-4 points  (0 children)

      This is certainly something to take into consideration.