I’ve never used typescript in a real project but am curious. Just yesterday in Python I passed the wrong type into a function whose arguments are “typed” and there were no errors at the time the function was called, only after the function failed part way through. It appears as though typing in Python is only for assisting with the development process in giving hits, it doesn’t actually throw warnings the types declared weren’t used when the function was called. Thanks for the article!
im glasd you liked it and learned something from it. Jeah this is exactly a usecase where Typescript comes and saves you :D I really enjoy static typed languages
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
thanks, my fail :D
I’ve never used typescript in a real project but am curious. Just yesterday in Python I passed the wrong type into a function whose arguments are “typed” and there were no errors at the time the function was called, only after the function failed part way through. It appears as though typing in Python is only for assisting with the development process in giving hits, it doesn’t actually throw warnings the types declared weren’t used when the function was called. Thanks for the article!
im glasd you liked it and learned something from it. Jeah this is exactly a usecase where Typescript comes and saves you :D I really enjoy static typed languages