Replies: 2 comments 2 replies
-
Sounds good! I would recommend to wait until the merge of the sector & electricity model happens type hinting will effect the whole code base through out. There are also other folks that already started adding type hinting which helps us with the implementation. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Agree that it is not of a priority. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Type hinting is a way to indicate expected types of variables in function arguments.
Type hinting doesn't affect the actual runtime of code implementations. However, they are very useful in providing developers with additional information about types of data.
Some other advantage of type hinting aside from readability is that it is a form of documentation on its own. It also makes collaboration easier.
Happy to hear everyone's thought on this.
Beta Was this translation helpful? Give feedback.
All reactions