I really miss C#.
In C# if I have:
Image i = new Image()
and I have the following at the top of the file:
using System;
using System.Web.UI.HtmlControls
There is no question whether I am using a System.Web.UI.HtmlControl.HtmlImage or a System.Drawing.Image object because I can just look up at my using statements.... not in VB!!!
In VB the Namespace isn't shown. If you want to know what you are 'using' you have to look at the project properties... which is just retarted. What happens when I move a file from one project to another where the project properties aren't the same? Or what happens when VB's namespace conventions don't match with the company you are working for (see below)
Can you turn off a default so every page (code behind) will have:
Namespace System
Namespace System.Web
etc.
Because it is really screwing me up since I have a WebPage called Index and a WebControl in a folder called controls called Index. Because of VB's ignorant so-called dummy proof features it wants to give me compile errors. So I put the Namespace in myself, but then it screws up my code behind. I'm about to turn every so-called 'smart' feature off because it's just slowing me down because I have to undo what was working that it changed!
Also on that note the same can be said for OptionStrict and OptionExplicit... what if I move a file that was created with OptionStrict off into a project that has OptionStrict on... well know I got to go re-work the file and update the source.
Sorry.... just venting.... any C# programmer who has had the joy of working in VB knows what I'm talking about...
In C# if I have:
Image i = new Image()
and I have the following at the top of the file:
using System;
using System.Web.UI.HtmlControls
There is no question whether I am using a System.Web.UI.HtmlControl.HtmlImage or a System.Drawing.Image object because I can just look up at my using statements.... not in VB!!!
In VB the Namespace isn't shown. If you want to know what you are 'using' you have to look at the project properties... which is just retarted. What happens when I move a file from one project to another where the project properties aren't the same? Or what happens when VB's namespace conventions don't match with the company you are working for (see below)
Can you turn off a default so every page (code behind) will have:
Namespace System
Namespace System.Web
etc.
Because it is really screwing me up since I have a WebPage called Index and a WebControl in a folder called controls called Index. Because of VB's ignorant so-called dummy proof features it wants to give me compile errors. So I put the Namespace in myself, but then it screws up my code behind. I'm about to turn every so-called 'smart' feature off because it's just slowing me down because I have to undo what was working that it changed!
Also on that note the same can be said for OptionStrict and OptionExplicit... what if I move a file that was created with OptionStrict off into a project that has OptionStrict on... well know I got to go re-work the file and update the source.
Sorry.... just venting.... any C# programmer who has had the joy of working in VB knows what I'm talking about...