Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information on type hints to Python chapter #310

Open
bouweandela opened this issue Nov 6, 2023 · 2 comments
Open

Add information on type hints to Python chapter #310

bouweandela opened this issue Nov 6, 2023 · 2 comments

Comments

@bouweandela
Copy link
Member

I noticed that there is no information on type hints in the Python chapter. Would you have time to add this @egpbos?

@egpbos
Copy link
Member

egpbos commented Nov 7, 2023

Not right now. I also wouldn't know what in particular to add, because my experience with it is limited. However, I'm sure there are useful things to say about mypy, maybe pydantic, or other aspects. If somebody else wants to pick this up, feel free!

@jiskattema
Copy link

Yeah for type hints!
Especially the automated tools can be (more) helpful if you provide some hints.
If you don't want to go all-out with hints, it still makes sense to add them to the public API of your code, to help others re-use it.
Adding an intro to type hints with some background is here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants