Thx for sharing, there is one thing that caught my attention:
[...] I was used to the fact that the type was either unknown and I had to check it (the any case) or know what was going on [...]
any
I wonder: Are you aware of the unknown type? It basically forces you to check and therefor is a good alternative to any (in some cases).
unknown
Yes, I use it in places where I'm too dumb to type correctly, haha.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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.
Thx for sharing, there is one thing that caught my attention:
I wonder: Are you aware of the
unknown
type? It basically forces you to check and therefor is a good alternative toany
(in some cases).Yes, I use it in places where I'm too dumb to type correctly, haha.