For the first time ever
-
AnnieMacD wrote:
Edit: Oh, and use Option Strict ON
And add On Error Resume :laugh:
Software Kinetics Wear a hard hat it's under construction
Metro RSSI thought it was On Error goto ShootSelfInHead
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011) -
Alberto Bar-Noy wrote:
He is getting ready for retirement?
Funny you mention that. He has been with the company for 27 years. :)
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)Unless the senior dev is sleeping with MD, justifying a choice like that by "I only know VB.net" is tountermount to admitting he's not up to the job. If he's really "senior" then he should be able to adapt. Go for the flame-thrower - he moves or it's time for crispy fries. :suss:
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
-
I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)I spent a year writing in VB.net; it gave me an ulcer.
/optionexplicit
/optionstrict
/optioninfer- -
I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)It could have been worse. Just be happy that it is VB .NET and not VB6! :)
"Real men drive manual transmission" - Rajesh.
-
It could have been worse. Just be happy that it is VB .NET and not VB6! :)
"Real men drive manual transmission" - Rajesh.
Rajesh R Subramanian wrote:
It could have been worse.
very true. I don't like to jump on the anti vb wagon; I really don't...to each their own. It's just that now, I know why so many people go :omg: :wtf: did I just get myself into when they have to work with it. When all is said and done, I have a job to do. I will do my best, maybe learn something, and hopefully call it a day. :)
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011) -
Nagy Vilmos wrote:
Now turn to bossman and tell him vb.net and c# are the same hippy-sh*t and you'd prefer to use c#.
I did. No go. I had/have no say in the matter this time. It is a high priority rewrite and I was not asked my opinion. I'm sure we have all been there a few thousand times. :sigh:
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)[The Boss] Please, please, don't tell me that again, go back and do events! [/The Boss].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
I think that's great - you will learn a new language just like that! My advice is never create a Module, use OOP the way you do in C#, don't use ANY Basic commands that only exist for historical reasons (don't even learn about them). I believe those of us who know both VB.NET and C# have the advantage... ;) Edit: Oh, and use Option Strict ON
It’s not because things are difficult that we do not dare, it’s because we do not dare that things are difficult. ~Seneca
-
I think that's great - you will learn a new language just like that! My advice is never create a Module, use OOP the way you do in C#, don't use ANY Basic commands that only exist for historical reasons (don't even learn about them). I believe those of us who know both VB.NET and C# have the advantage... ;) Edit: Oh, and use Option Strict ON
It’s not because things are difficult that we do not dare, it’s because we do not dare that things are difficult. ~Seneca
the only time to use a module is for extension methods as sadly you cant do it any other way.
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
-
Rajesh R Subramanian wrote:
It could have been worse.
very true. I don't like to jump on the anti vb wagon; I really don't...to each their own. It's just that now, I know why so many people go :omg: :wtf: did I just get myself into when they have to work with it. When all is said and done, I have a job to do. I will do my best, maybe learn something, and hopefully call it a day. :)
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)The commas is the biggest thing that I keep forget when switching between the two languages
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
-
I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011) -
AnnieMacD wrote:
don't use ANY Basic commands that only exist for historical reasons
Easiest way to do this: Go into the Project settings, References, and remove the reference to the Microsoft.VisualBasic namespace and DLL.
Vark111 wrote:
Easiest way to do this: Go into the Project settings, References, and remove the reference to the Microsoft.VisualBasic namespace and DLL.
Thanks for the tip.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011) -
I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)I coded in VB.Net for a long time. I'm using C# now (I willingly chose to make the transition, with no impetus of any kind, not even popular opinion). It's not really that bad: just a lot more verbose. I can see the appeal of C# nowadays, with some of the syntax, but honestly, you'll just have to write a few more lines of code. That's all. I honestly did consider writing a plugin at one stage that could 'expand' C# syntax into VB.Net, but I don't think that'd be practical :laugh: Oh hell, I'm a self-taught programmer. What's practical got to do with anything? ;P
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
-
Alberto Bar-Noy wrote:
He is getting ready for retirement?
Funny you mention that. He has been with the company for 27 years. :)
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)It's very hard to make older people learn something new, that's probably why the senior guy will resist moving to C#. On the other hand, you can throw real arguments against going to VB.Net. To mention a few: 1 - Going from C++ to C# is a much more fluent approach. 2 - If the company has more stuff based on C#, it means it has more C# skilled people and that means there are more resources if they are needed. Reduced dependency on the VB.Net guy. 3 - There are a lot more resources on the web for C# language than for VB.Net. This minimizes the need of reinventing the wheel or having to translate everything. As proof you can just perform a search of C# vs VB.Net articles on codeproject, you'll see that there are a lot more articles on C#. There are a lot more arguments to favor C#, but I don't want to get religious about it.
"To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson
-
I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)Just be grateful you're not using VB6.
When posting here, I do not represent anybody but myself.
-
I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011) -
I think that's great - you will learn a new language just like that! My advice is never create a Module, use OOP the way you do in C#, don't use ANY Basic commands that only exist for historical reasons (don't even learn about them). I believe those of us who know both VB.NET and C# have the advantage... ;) Edit: Oh, and use Option Strict ON
It’s not because things are difficult that we do not dare, it’s because we do not dare that things are difficult. ~Seneca
-
It's very hard to make older people learn something new, that's probably why the senior guy will resist moving to C#. On the other hand, you can throw real arguments against going to VB.Net. To mention a few: 1 - Going from C++ to C# is a much more fluent approach. 2 - If the company has more stuff based on C#, it means it has more C# skilled people and that means there are more resources if they are needed. Reduced dependency on the VB.Net guy. 3 - There are a lot more resources on the web for C# language than for VB.Net. This minimizes the need of reinventing the wheel or having to translate everything. As proof you can just perform a search of C# vs VB.Net articles on codeproject, you'll see that there are a lot more articles on C#. There are a lot more arguments to favor C#, but I don't want to get religious about it.
"To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson
Re: point 2 The truth is, if you're advertising for his replacement (or any hire), having VB.NET in the job description will attract (in my experience) a less-skilled pool of developers. This is not to say that, on an individual basis, there aren't some highly skilled developers who happen to work in VB. Nor is it to say that all C# developers are better than any VB developers. There's a definite overlap. But, as a class, my experience has shown that C# developers are generally more skilled than VB developers. The point above about doing things in a language which isn't your everyday language just because one guy wants to is germane. What's next, someone decides they're really into Ruby, so an app is written in that just because?
-
Re: point 2 The truth is, if you're advertising for his replacement (or any hire), having VB.NET in the job description will attract (in my experience) a less-skilled pool of developers. This is not to say that, on an individual basis, there aren't some highly skilled developers who happen to work in VB. Nor is it to say that all C# developers are better than any VB developers. There's a definite overlap. But, as a class, my experience has shown that C# developers are generally more skilled than VB developers. The point above about doing things in a language which isn't your everyday language just because one guy wants to is germane. What's next, someone decides they're really into Ruby, so an app is written in that just because?
agolddog wrote:
The truth is, if you're advertising for his replacement (or any hire), having VB.NET in the job description will attract (in my experience) a less-skilled pool of developers.
I agree with you there, for the same reasons you already mentioned. But VB.Net deves usually don't take this idea well.
"To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson
-
I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)The first time I used VB.Net I had to rewrite a program that spat out the wrong answer when scoring people against an affluence index after the programmer that wrote it had a nervous breakdown and left (figures). Was not fun.
-
I have been tasked to re-write an app in VB.Net I have never used VB.Net in my life. I created my first solution this morning and all I have to say is... :omg: :wtf: did I just get myself into.
Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
"No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)