Why I Hate VB Today
-
I am curious to know: Is your boss/manager a programmer? Does he code? I think I can guess the answer.
Rama Krishna Vavilala wrote:
I am curious to know: Is your boss/manager a programmer? Does he code? I think I can guess the answer.
I was gonna tell you to go ahead and guess, but I wasn't willing to wait for the exchange... He actually does code... VB and SQL.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
Yep, VB3 was great (I never used VB1 or 2)... Before then, I had stuck to console programming because... Let's face it... I was lazy. Then VB4 came along, and that was great... Then VB5 came along, finally adding OOP (Kinda... Well, almost... Eh) Then VB6 came along, and I started to wonder. Then VB.NET came along, and I cheered. Then I looked over at C#, and thought, "Why am I still writing VB code?"
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)I still fondly remember laying out screens in COBOL - it was easy, it worked, the business made a lot of money.
-
Go steady. VB was the first tool I used that let me drag and drop buttons, etc. onto a form -- without slogging for huge lengths of time writing either the form or the objects to drop on it. That's a fond memory -- especially now that the GUIs here are done with (%#@&ing) swing.
I wanna be a eunuchs developer! Pass me a bread knife!
Yep, the Visual half is way better than the Basic half. Always has been, always will. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, and update CP Vanity to V2.0 if you haven't already.
-
My God, it's like watching a romantic comedy!
You know they'll end up together, in the end.
Yeah the tension between the two is killing me - when is John finally going to show VB what a man he is? Will VB cry? Will they hold hands? And finally, the most important question: does VB have a sister?
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
-
Rama Krishna Vavilala wrote:
I am curious to know: Is your boss/manager a programmer? Does he code? I think I can guess the answer.
I was gonna tell you to go ahead and guess, but I wasn't willing to wait for the exchange... He actually does code... VB and SQL.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001John Simmons / outlaw programmer wrote:
He actually does code... VB and SQL
No wonder!
-
- The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001Label Why_I_Hate_VB_Today goto Label
-
Yeah the tension between the two is killing me - when is John finally going to show VB what a man he is? Will VB cry? Will they hold hands? And finally, the most important question: does VB have a sister?
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
Jim Crafton wrote:
does VB have a sister
Yes. Yes she does[^]!
Do Until True = False
Bump Squidgey bits
LoopHenry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
Keep pounding away DD, you'll get there.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
Keep pounding away DD, you'll get there.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
- The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001So how'd it go with the customer and the boss regarding the change from C# to VB? (or did I miss an update somewhere???) Marc
-
It is truly Very Bad
I wasn't, now I am, then I won't be anymore.
It's Very Bad because it is too VerBose!
Kelly Herald Software Developer
-
So how'd it go with the customer and the boss regarding the change from C# to VB? (or did I miss an update somewhere???) Marc
Well, going back to C# on this project is a moot point because I got the app running late yesterday afternoon. Since the code is essentially at the same place we were on Veteran's Day with the C# version, why go back? The gist of that is that there will be no team meeting about what we should do. The customer called my boss into his office and shut the door this morning, so nobody else knows what was said. In essence, I'm in VB hell, and will be there until sometime late next year when/if the contract is converted to civil service. This is the fourth job I've had in the last three years, and don't want to hop to a new one until I've been here at least a year (March 2011).
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
- The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001- It's super odd array declaration syntax that allows indexing to start at 1 instead of 0. There are a couple of things it has that I wish C# had though. -1) Calling an interface implementation method by a different name. Thats handy some times when implementing 4 similar interfaces. -2) It's XML support in the code. It's nice sometimes. -3) How you don't have to check if a event handler is null before you call it. I don't think I've ever wanted calling a null event handler to throw an exception. Shoot me now, I can't believe I said something positive about VB.
-
- It's super odd array declaration syntax that allows indexing to start at 1 instead of 0. There are a couple of things it has that I wish C# had though. -1) Calling an interface implementation method by a different name. Thats handy some times when implementing 4 similar interfaces. -2) It's XML support in the code. It's nice sometimes. -3) How you don't have to check if a event handler is null before you call it. I don't think I've ever wanted calling a null event handler to throw an exception. Shoot me now, I can't believe I said something positive about VB.
Phil Martin... wrote:
-1) Calling an interface implementation method by a different name. Thats handy some times when implementing 4 similar interfaces.
But this seems to compile in C#...
public interface IFace1
{
void Func1();
}public interface IFace2
{
void Func1();
}class Class1 : IFace1, IFace2
{
void IFace1.Func1() { }void IFace2.Func1() { } void Func1() { }
}
Phil Martin... wrote:
-2) It's XML support in the code. It's nice sometimes.
What does that mean?
Phil Martin... wrote:
-3) How you don't have to check if a event handler is null before you call it. I don't think I've ever wanted calling a null event handler to throw an exception.
I don't have that problem. When I create a custom event, I do this:
null.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
No, that's rule six...
1f y0u c4n r34d 7h15 y0u r3411y n33d 70 g37 14!d Gotta run; I've got people to do and things to see... Don't tell my folks I'm a computer programmer - They think I'm a piano player in a cat house... Da mihi sis crustum Etruscum cum omnibus in eo!
-
- The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001Well, joke about VB all that you want, but if it pays your meals, then what the heck??? I'll take your VB jobs if you really don't want them...
1f y0u c4n r34d 7h15 y0u r3411y n33d 70 g37 14!d Gotta run; I've got people to do and things to see... Don't tell my folks I'm a computer programmer - They think I'm a piano player in a cat house... Da mihi sis crustum Etruscum cum omnibus in eo!
-
Yep, VB3 was great (I never used VB1 or 2)... Before then, I had stuck to console programming because... Let's face it... I was lazy. Then VB4 came along, and that was great... Then VB5 came along, finally adding OOP (Kinda... Well, almost... Eh) Then VB6 came along, and I started to wonder. Then VB.NET came along, and I cheered. Then I looked over at C#, and thought, "Why am I still writing VB code?"
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)Ian Shlasko wrote:
Then I looked over at C#, and thought
Whereas I looked at c# and wondered why anyone would use a case sensitive language. It wasn't till intellisense improved to the point where case was irrelevant that I was willing to move to c# and that was in vs08.
Never underestimate the power of human stupidity RAH
-
Well, going back to C# on this project is a moot point because I got the app running late yesterday afternoon. Since the code is essentially at the same place we were on Veteran's Day with the C# version, why go back? The gist of that is that there will be no team meeting about what we should do. The customer called my boss into his office and shut the door this morning, so nobody else knows what was said. In essence, I'm in VB hell, and will be there until sometime late next year when/if the contract is converted to civil service. This is the fourth job I've had in the last three years, and don't want to hop to a new one until I've been here at least a year (March 2011).
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001I'm glad to hear your ass is not in the sling for your managers decisions.
John Simmons / outlaw programmer wrote:
This is the fourth job I've had in the last three years
I can understand that decision, economic survival has some excellent benefits. And no matter the reasons too many short term contracts just looks bad on a CV.
Never underestimate the power of human stupidity RAH
-
Phil Martin... wrote:
-1) Calling an interface implementation method by a different name. Thats handy some times when implementing 4 similar interfaces.
But this seems to compile in C#...
public interface IFace1
{
void Func1();
}public interface IFace2
{
void Func1();
}class Class1 : IFace1, IFace2
{
void IFace1.Func1() { }void IFace2.Func1() { } void Func1() { }
}
Phil Martin... wrote:
-2) It's XML support in the code. It's nice sometimes.
What does that mean?
Phil Martin... wrote:
-3) How you don't have to check if a event handler is null before you call it. I don't think I've ever wanted calling a null event handler to throw an exception.
I don't have that problem. When I create a custom event, I do this:
null.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001- Congratulations on writing code that will compile, but it isn't the same thing. 2) Here's a simple example: Dim xml =
Shrimp Cocktail Escargot Filet Mignon Garlic Potatoes Broccoli Chocolate Cheesecake
And it will create an XElement tree for use in code. Do a search for "XML Literals in VB.Net". You can do some nice subtitution and things as well. It's nice, sometimes. 3) I think something got trimmed in your third one, it just said "null".
-
- The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001Funny - those all sound like problems with your VB IDE (granted, not a lot of options there), not the language itself. (Which has plenty of reasons to hate it).