3 ms·
Show HN: kobinpy/kobin A WSGI Framework for Python3
- detaro 10y agoUsing type annotations for the view parameters and results is a cool idea, I like it! (Also, you might want to add "Show HN:" to the title (https://news.ycombinator.com/showhn.html) https://news.ycombinator.com/showhn.html))
- c-bata 10y agoThank you! I updated the title. I think type annotation in Python3 is a great. And I thought there is a usage other than typing checking using mypy, so I try to convert url variables using the type information of function annotations.
- voltagex_ 10y agoAnnotations is how MVC in C# works (sometimes), too: https://www.asp.net/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2 https://www.asp.net/web-api/overview/web-api-routing-and-act.... It's a great way of doing things, although I hope debugging the routes is a bit easier than it is in .NET
- ubernostrum 10y agoPython 3 is definitely a political topic judging from how it gets treated around here. Get it off HN.