Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you use type hints? I was quite excited by peewee until I discovered the author's stance on type hints in python:

> I think type hints are misguided and unpythonic, and it's my stance that they will never be supported by peewee. Python is a high-level dynamic language, peewee plays to these strengths. You couldn't implement peewee in go, it'd look completely different.

There are thirdparty stubs available though, so I wonder how well these work.

PS: I do get that Python's type system might lack the expressiveness to fully support all ORM-like functionality, but I don't think that's a reason to not even provide hints for the super simple cases like `Person.select()`.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: