Proprietary software means better quality, right? Wrong! Try Visual Studio – III

 

I have been working with computers and IDEs since 1994. I started with Turbo C and FoxPro (that’s an IDE in my book) and moved on to Oracle SQL Forms (on SCO Unix). I also created Unix shell applications in vi and line editors. For my VCD player software, I used Visual Studio 6 (Visual Basic). Then, I switched to plain old text editors for my .com website (Classic ASP and VBScript). Then, at work, I have used Visual Studio 2005/2008/2010/2012/2013, Delphi, and Eclipse. At home, I am currently using MotoDev Studio (Eclipse), Eclipse for JavaScript and sometimes Visual Studio 6/2010/2008/2012/2013.

All right. Start Visual Studio and create a new Windows Forms project. Note that how the damn thing creates the solution with the same name as your project. This will turn out to be a problem later.

New project dialog in Visual Studio.

New project dialog in Visual Studio.

Now, that you have a project and a solution. Try adding a different type of a project to the solution. Does the Visual Studio window title change to the name of your current project? No. Does Solution Explorer make the new project as the current default project? No. When you build and compile, your first project will be the one that runs first. The makers of Visual Studio are under the impression that the first project is a “loader” for other projects and runs it first. If you want to run the current project, you need to select it in Solution Explorer and set it as the “Startup” project. Double-clicking the current project makes no difference.

Visual Studio handles multiple projects in a solution rather poorly.

Visual Studio handles multiple projects in a solution rather poorly.

Visual Studio is moronic like this in many ways. In Eclipse, if you are about to use a new namespace, you just type the first few characters and press Ctrl+Space. Eclipse auto fills it or gives a menu of namespace options. After you select one, it also adds the import statement at the top of the class. Suppose you need to use the File class in Visual Studio, you need to add a reference to the System.IO AND move all the way to the top of the page to add a corresponding using statement. Doesn’t that look redundant? Sure, there is a way to add do this inline in Visual Studio but that feature came pretty late in the game. Even then it is still moronic. You need to use the mouse. You need to take a risk by guessing the class name and type it out first. You then need to wait for the those ugly squiggly lines to show up and then fiddle around that tiny arrow and lightning icons. It is totally counter-intuitive.

Using a new namespace in a project is convoluted in Visual Studio.

Using a new namespace in a project is convoluted in Visual Studio.

Why have project references AND using statements?

Have you ever created a basic MVC project in Visual Studio? God! It is like clicking on the “Sign Up for the Google+” link by mistake. Visual Studio does not just create an entire website but it also creates a whole new township for the support staff!

Advertisements

Comments on this blog are moderated by government agents. The Moral Volcano Essential Reading List will explain why.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s