VB.NET: Is Option Strict Worth It

In a word: no.  Code everything in C#, and it never becomes an issue.

Seriously.  I was given the task of switching on “OPTION STRICT” in an existing application, and then fixing the compilation issues.  This seemed like a straight-forward task, but what I have learned over the past month is that sometimes, VB.NET lets you write such HORRIBLE code that you’d be better off rewriting the app than switching on OPTION STRICT and trying to patch said application.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s