[–] detaro 9y ago ↗ Using 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)) [–] c-bata 9y ago ↗ Thank 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_ 9y ago ↗ Annotations is how MVC in C# works (sometimes), too: 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
[–] c-bata 9y ago ↗ Thank 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_ 9y ago ↗ Annotations is how MVC in C# works (sometimes), too: 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
[–] voltagex_ 9y ago ↗ Annotations is how MVC in C# works (sometimes), too: 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
[–] [dead] ubernostrum 9y ago ↗ Python 3 is definitely a political topic judging from how it gets treated around here. Get it off HN.
4 comments
[ 3.3 ms ] story [ 17.6 ms ] thread(Also, you might want to add "Show HN:" to the title (https://news.ycombinator.com/showhn.html))