R
Rory Becker
A wise man once said: "Never put off until runtime what you can fix at compile
time."
Actually I think he said it about 10 minutes before I started this post.
I am a firm believer, like the man in question, in "Option Strict On" by
default.
Actually I don't believe I have code where this is not the case.
However I never say never (well perhaps not never ) and so I would like
to investigate the exceptions to the "Option Strict On" policy.
I would like to get the group's take on when it *is* useful to disable this
and go for "Option Strict Off"
2 parts to this....
1. What situations can you think of where "Option Strict Off" is best because
of clarity of code?
2. What situations can you think of where "Option Strict Off" is best because
the really is no other way to achieve theend result otherwise?
Thanks for any input.
time."
Actually I think he said it about 10 minutes before I started this post.
I am a firm believer, like the man in question, in "Option Strict On" by
default.
Actually I don't believe I have code where this is not the case.
However I never say never (well perhaps not never ) and so I would like
to investigate the exceptions to the "Option Strict On" policy.
I would like to get the group's take on when it *is* useful to disable this
and go for "Option Strict Off"
2 parts to this....
1. What situations can you think of where "Option Strict Off" is best because
of clarity of code?
2. What situations can you think of where "Option Strict Off" is best because
the really is no other way to achieve theend result otherwise?
Thanks for any input.