If I see any more VB...
-
Finally! I just finished translating over 1500 lines of VB code to C#. (It's for uber printing of any type of control, text, or form.) I had only worked a little with VB, just enough to know that I didn't like it, but after extensive translation of it over a day and a half, I not only know that I don't like it, I see that it fails as being a good lang in so many ways. Lack of structure and some of the functions and methods have cryptic names (there's a Type called type:mad:. That took me awhile to find an eqivalent). It's lack of semicolons (it seems like you can place one after some lines of code but not after others, and there's not pattern) and brackets the can be open with no closing or closing with no open. What pissed me off the most was their For and With statments! VB:
For field = 0 To ds.Table.Columns.Count - 1
Where's the friggin thrid ;?? And no (). It just reminds me of using the alphabet with 20 missing letters. And the With statments, just use the variable name each time:mad:! VB:
With report
.Title = "Report from Person Objects"
.SubTitleLeft = NowI'm just glad I'm done with it (at least I hope so). Now it's off to Ohio for a 4 day WoodStock like concert called The Gathering. I think my boss wanted to make sure I earned my time off. I hope CP will be ok without me and my Domo-Kun of DOOM!.:-D
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
-
Finally! I just finished translating over 1500 lines of VB code to C#. (It's for uber printing of any type of control, text, or form.) I had only worked a little with VB, just enough to know that I didn't like it, but after extensive translation of it over a day and a half, I not only know that I don't like it, I see that it fails as being a good lang in so many ways. Lack of structure and some of the functions and methods have cryptic names (there's a Type called type:mad:. That took me awhile to find an eqivalent). It's lack of semicolons (it seems like you can place one after some lines of code but not after others, and there's not pattern) and brackets the can be open with no closing or closing with no open. What pissed me off the most was their For and With statments! VB:
For field = 0 To ds.Table.Columns.Count - 1
Where's the friggin thrid ;?? And no (). It just reminds me of using the alphabet with 20 missing letters. And the With statments, just use the variable name each time:mad:! VB:
With report
.Title = "Report from Person Objects"
.SubTitleLeft = NowI'm just glad I'm done with it (at least I hope so). Now it's off to Ohio for a 4 day WoodStock like concert called The Gathering. I think my boss wanted to make sure I earned my time off. I hope CP will be ok without me and my Domo-Kun of DOOM!.:-D
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
The third ; is optional in VB.Net - it defaults to 1 if not used but if you want a different step size use the Step keyword No command in VB.Net require a semi colon after them. The parser is able to know where one command ends and another begins because the syntax is 'well formed' Of course - you know there is a VB to C# translator out there somewhere somewhere...I'll do a wee search... '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd
-
The third ; is optional in VB.Net - it defaults to 1 if not used but if you want a different step size use the Step keyword No command in VB.Net require a semi colon after them. The parser is able to know where one command ends and another begins because the syntax is 'well formed' Of course - you know there is a VB to C# translator out there somewhere somewhere...I'll do a wee search... '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd
I used BableFisken, but it didn't do too well.
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
-
Finally! I just finished translating over 1500 lines of VB code to C#. (It's for uber printing of any type of control, text, or form.) I had only worked a little with VB, just enough to know that I didn't like it, but after extensive translation of it over a day and a half, I not only know that I don't like it, I see that it fails as being a good lang in so many ways. Lack of structure and some of the functions and methods have cryptic names (there's a Type called type:mad:. That took me awhile to find an eqivalent). It's lack of semicolons (it seems like you can place one after some lines of code but not after others, and there's not pattern) and brackets the can be open with no closing or closing with no open. What pissed me off the most was their For and With statments! VB:
For field = 0 To ds.Table.Columns.Count - 1
Where's the friggin thrid ;?? And no (). It just reminds me of using the alphabet with 20 missing letters. And the With statments, just use the variable name each time:mad:! VB:
With report
.Title = "Report from Person Objects"
.SubTitleLeft = NowI'm just glad I'm done with it (at least I hope so). Now it's off to Ohio for a 4 day WoodStock like concert called The Gathering. I think my boss wanted to make sure I earned my time off. I hope CP will be ok without me and my Domo-Kun of DOOM!.:-D
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
the with statement is quite cool, wish c# had it. what's the point of typing the variable name over and over again? it's wrapped in a with block you no what the members belong to. it also performs faster. typically loops increment by 1, so what's the point of typing i++. i believe if you do want to increment by something other than 1 you can use the word step followed by the number. if i had a choice between vb and c#, i would choose c# because it doesn't require as much typing, i like braces and semicolons. but the features you've complained about are advantages. Josef Wainz Software Developer
-
Finally! I just finished translating over 1500 lines of VB code to C#. (It's for uber printing of any type of control, text, or form.) I had only worked a little with VB, just enough to know that I didn't like it, but after extensive translation of it over a day and a half, I not only know that I don't like it, I see that it fails as being a good lang in so many ways. Lack of structure and some of the functions and methods have cryptic names (there's a Type called type:mad:. That took me awhile to find an eqivalent). It's lack of semicolons (it seems like you can place one after some lines of code but not after others, and there's not pattern) and brackets the can be open with no closing or closing with no open. What pissed me off the most was their For and With statments! VB:
For field = 0 To ds.Table.Columns.Count - 1
Where's the friggin thrid ;?? And no (). It just reminds me of using the alphabet with 20 missing letters. And the With statments, just use the variable name each time:mad:! VB:
With report
.Title = "Report from Person Objects"
.SubTitleLeft = NowI'm just glad I'm done with it (at least I hope so). Now it's off to Ohio for a 4 day WoodStock like concert called The Gathering. I think my boss wanted to make sure I earned my time off. I hope CP will be ok without me and my Domo-Kun of DOOM!.:-D
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
there's a Type called type That is there in C# too :) For field = 0 To ds.Table.Columns.Count - 1 You find this less readable than for(field=0;field<=ds.Table.Columns.Count-1;field++) With report .Title = "Report from Person Objects" .SubTitleLeft = Now Imagine you had to set 20 fields of an object, now isn't the "with" syntax going to be really neat then. I don't the syntatic things make VB a bad language, it's just he lack of structure and a stress on GUI programming which wrecks any proper OO design concepts that makes it a bad choice as a fully blown language, IMHO VB should only be used for front-ends and prototyping.
I always think that the idea of a compiler that compiles another compiler or itself is rather incestuous in a binary way. - Colin Davies My .Net Blog
-
The third ; is optional in VB.Net - it defaults to 1 if not used but if you want a different step size use the Step keyword No command in VB.Net require a semi colon after them. The parser is able to know where one command ends and another begins because the syntax is 'well formed' Of course - you know there is a VB to C# translator out there somewhere somewhere...I'll do a wee search... '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd
Merrion wrote: the syntax is 'well formed' WellthenitseemsthatIammistakenPunctuationisnotnessecarryatallAslongasthesyntaxiscorrectHoweverwouldntthatbelikesayingthatspacesperiodsapostraphesandcommasarentnessecarryaslongasthegrammariscorrect
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
-
The third ; is optional in VB.Net - it defaults to 1 if not used but if you want a different step size use the Step keyword No command in VB.Net require a semi colon after them. The parser is able to know where one command ends and another begins because the syntax is 'well formed' Of course - you know there is a VB to C# translator out there somewhere somewhere...I'll do a wee search... '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd
I thought (part of) the point of .NET was that you could compile one block of code in one language and another block in another, and use them together. Of course, that does - at the moment - require that you compile the VB bits into one module and the C# bits into another; there's no cross-language linker that can link it all into one module. Well, apart from using ILDASM to output the IL for both modules, then using ILASM to build one assembly from the IL files :~
-
Finally! I just finished translating over 1500 lines of VB code to C#. (It's for uber printing of any type of control, text, or form.) I had only worked a little with VB, just enough to know that I didn't like it, but after extensive translation of it over a day and a half, I not only know that I don't like it, I see that it fails as being a good lang in so many ways. Lack of structure and some of the functions and methods have cryptic names (there's a Type called type:mad:. That took me awhile to find an eqivalent). It's lack of semicolons (it seems like you can place one after some lines of code but not after others, and there's not pattern) and brackets the can be open with no closing or closing with no open. What pissed me off the most was their For and With statments! VB:
For field = 0 To ds.Table.Columns.Count - 1
Where's the friggin thrid ;?? And no (). It just reminds me of using the alphabet with 20 missing letters. And the With statments, just use the variable name each time:mad:! VB:
With report
.Title = "Report from Person Objects"
.SubTitleLeft = NowI'm just glad I'm done with it (at least I hope so). Now it's off to Ohio for a 4 day WoodStock like concert called The Gathering. I think my boss wanted to make sure I earned my time off. I hope CP will be ok without me and my Domo-Kun of DOOM!.:-D
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
I just think that what you call advantages are eventual downfalls. A lot of the VB was cryptic and It's shorter but, kinda confusing, like my last Spelling vs Grammar post. Similar to a long trigonemetic funtion written all on one line with no spaces and all the mathematical signs takes out.
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
-
the with statement is quite cool, wish c# had it. what's the point of typing the variable name over and over again? it's wrapped in a with block you no what the members belong to. it also performs faster. typically loops increment by 1, so what's the point of typing i++. i believe if you do want to increment by something other than 1 you can use the word step followed by the number. if i had a choice between vb and c#, i would choose c# because it doesn't require as much typing, i like braces and semicolons. but the features you've complained about are advantages. Josef Wainz Software Developer
JoeJoeMa wrote: it also performs faster. faster than what?? :confused: :confused: An initialisor function? 'inline' Set methods? JoeJoeMa wrote: but the features you've complained about are advantages OIC. You don't have to think about what you are doing. Chris Meech "what makes CP different is the people and sense of community, things people will only discover if they join up and join in." Christian Graus Nov 14, 2002. "And when you need to hire a programmer to do mostly VB programming, it's not good enough to hire a VB programmer, because they will get completely stuck in tar every time the VB abstraction leaks." Joel on Software Nov 11, 2002.
-
Merrion wrote: the syntax is 'well formed' WellthenitseemsthatIammistakenPunctuationisnotnessecarryatallAslongasthesyntaxiscorrectHoweverwouldntthatbelikesayingthatspacesperiodsapostraphesandcommasarentnessecarryaslongasthegrammariscorrect
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
Mmm - I meant "well formed syntax" in the context of Noam Chomsky's work on syntax and lexicon. '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd
-
the with statement is quite cool, wish c# had it. what's the point of typing the variable name over and over again? it's wrapped in a with block you no what the members belong to. it also performs faster. typically loops increment by 1, so what's the point of typing i++. i believe if you do want to increment by something other than 1 you can use the word step followed by the number. if i had a choice between vb and c#, i would choose c# because it doesn't require as much typing, i like braces and semicolons. but the features you've complained about are advantages. Josef Wainz Software Developer
JoeJoeMa wrote: the point of typing the variable name over and over again? that's why Bill invented ctrl-c and ctrl-v -c CheeseWeasle
-
JoeJoeMa wrote: it also performs faster. faster than what?? :confused: :confused: An initialisor function? 'inline' Set methods? JoeJoeMa wrote: but the features you've complained about are advantages OIC. You don't have to think about what you are doing. Chris Meech "what makes CP different is the people and sense of community, things people will only discover if they join up and join in." Christian Graus Nov 14, 2002. "And when you need to hire a programmer to do mostly VB programming, it's not good enough to hire a VB programmer, because they will get completely stuck in tar every time the VB abstraction leaks." Joel on Software Nov 11, 2002.
Chris Meech wrote: You don't have to think about what you are doing. Yes, someone sees what I'm talking about.:-D
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
-
JoeJoeMa wrote: the point of typing the variable name over and over again? that's why Bill invented ctrl-c and ctrl-v -c CheeseWeasle
Do you how many bugs can be introduced using copy/paste?
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
-
Do you how many bugs can be introduced using copy/paste?
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
Just as many as coding by hand. You never copy/paste code that has errors, always debug before, CTRL SHIFT B
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
-
there's a Type called type That is there in C# too :) For field = 0 To ds.Table.Columns.Count - 1 You find this less readable than for(field=0;field<=ds.Table.Columns.Count-1;field++) With report .Title = "Report from Person Objects" .SubTitleLeft = Now Imagine you had to set 20 fields of an object, now isn't the "with" syntax going to be really neat then. I don't the syntatic things make VB a bad language, it's just he lack of structure and a stress on GUI programming which wrecks any proper OO design concepts that makes it a bad choice as a fully blown language, IMHO VB should only be used for front-ends and prototyping.
I always think that the idea of a compiler that compiles another compiler or itself is rather incestuous in a binary way. - Colin Davies My .Net Blog
Sijin wrote: With report .Title = "Report from Person Objects" .SubTitleLeft = Now You find this less readable than for(field=0;field<=ds.Table.Columns.Count-1;field++) Yes, I like knowing exaclty what my code is doing, I don't want to have to assume anything about my code. Assuming makes for bad code.
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
-
the with statement is quite cool, wish c# had it. what's the point of typing the variable name over and over again? it's wrapped in a with block you no what the members belong to. it also performs faster. typically loops increment by 1, so what's the point of typing i++. i believe if you do want to increment by something other than 1 you can use the word step followed by the number. if i had a choice between vb and c#, i would choose c# because it doesn't require as much typing, i like braces and semicolons. but the features you've complained about are advantages. Josef Wainz Software Developer
JoeJoeMa wrote: it also performs faster. No, it doesn't, and never has. It also never will. Both a
With
block and individual assignments compile to a direct field setstfld
instruction, or a method callcall
orcallvirt
instruction, as appropriate, if it's a property. The IL compiler generates aMOV [_reg_], _value_
for field accesses, as long as the object can't be remotable (see Chris Brumme's blog entry yesterday[^]). It's slightly quicker to type, but not really a lot.With
was valuable when you didn't have constructors in VB, but now you do, it's less common to set more than one field or property of an object or structure at the same time. If you really care, in C# you can of course declare an alias for your object, simply by declaring another variable. -
Do you how many bugs can be introduced using copy/paste?
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
Technically, you are not introducing a bug with copy/paste. You are replicating it. ;P Chris Meech "what makes CP different is the people and sense of community, things people will only discover if they join up and join in." Christian Graus Nov 14, 2002. "And when you need to hire a programmer to do mostly VB programming, it's not good enough to hire a VB programmer, because they will get completely stuck in tar every time the VB abstraction leaks." Joel on Software Nov 11, 2002.
-
Finally! I just finished translating over 1500 lines of VB code to C#. (It's for uber printing of any type of control, text, or form.) I had only worked a little with VB, just enough to know that I didn't like it, but after extensive translation of it over a day and a half, I not only know that I don't like it, I see that it fails as being a good lang in so many ways. Lack of structure and some of the functions and methods have cryptic names (there's a Type called type:mad:. That took me awhile to find an eqivalent). It's lack of semicolons (it seems like you can place one after some lines of code but not after others, and there's not pattern) and brackets the can be open with no closing or closing with no open. What pissed me off the most was their For and With statments! VB:
For field = 0 To ds.Table.Columns.Count - 1
Where's the friggin thrid ;?? And no (). It just reminds me of using the alphabet with 20 missing letters. And the With statments, just use the variable name each time:mad:! VB:
With report
.Title = "Report from Person Objects"
.SubTitleLeft = NowI'm just glad I'm done with it (at least I hope so). Now it's off to Ohio for a 4 day WoodStock like concert called The Gathering. I think my boss wanted to make sure I earned my time off. I hope CP will be ok without me and my Domo-Kun of DOOM!.:-D
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
I think it's hysterical how so many people are so biased toward one technology over another. It's quite literally a religion as to what language you "choose" to use. Like any comparable technology, C# and VB.NET both have their strengths and weaknesses. It's just a matter of learning the syntax of the language. You said yourself that you only knew a little VB. That was your problem. You didn't understand it. While I agree that VB6 and its predecessors were lacking, VB.NET IS a good language if you know how to use it. Want your 3rd semicolon as you asked about?
For Field As Integer = 0 To ds.Table.Columns.Count - 1 **Step 2**
The Step keyword is your 3rd semicolon. And the With statement? Other languages could use something like this. It's useful when you have to set like 30 properties. I noticed in another post that you said this means you don't have to think. So what? How much thought does it really take in the first place, even WITHOUT the With keyword? It's just extra typing. Things that ARE missing from VB.NET that I'd really love to see; overloadable operators, templates (they say that C# will support them for sure, but not necessarily VB), and removal of the AddHandler/RemoveHandler keywords. I'd rather just say Button1.Click += new EventHandler... as C# does. Point being, learn about something before you openly criticize it. I have no idea what The Gathering is, except that it's a concert, so I can't fairly critique it, can I? Kyosa Jamie Nordmeyer - Cho Dan Portland, Oregon, USA -
I think it's hysterical how so many people are so biased toward one technology over another. It's quite literally a religion as to what language you "choose" to use. Like any comparable technology, C# and VB.NET both have their strengths and weaknesses. It's just a matter of learning the syntax of the language. You said yourself that you only knew a little VB. That was your problem. You didn't understand it. While I agree that VB6 and its predecessors were lacking, VB.NET IS a good language if you know how to use it. Want your 3rd semicolon as you asked about?
For Field As Integer = 0 To ds.Table.Columns.Count - 1 **Step 2**
The Step keyword is your 3rd semicolon. And the With statement? Other languages could use something like this. It's useful when you have to set like 30 properties. I noticed in another post that you said this means you don't have to think. So what? How much thought does it really take in the first place, even WITHOUT the With keyword? It's just extra typing. Things that ARE missing from VB.NET that I'd really love to see; overloadable operators, templates (they say that C# will support them for sure, but not necessarily VB), and removal of the AddHandler/RemoveHandler keywords. I'd rather just say Button1.Click += new EventHandler... as C# does. Point being, learn about something before you openly criticize it. I have no idea what The Gathering is, except that it's a concert, so I can't fairly critique it, can I? Kyosa Jamie Nordmeyer - Cho Dan Portland, Oregon, USAJamie Nordmeyer wrote: Point being, learn about something before you openly criticize it Spending a day and a half, I have learnt a lot about it. Before, when I didn't know a lot about it, I didn't critisize it. If you were to go to the Gatering for a day, I would say that you can now duly critisize it.
..........Zack.......... Developer Extraordinaire && Full Time Geek
"Never underestimate the power of stupid people in large groups." - George Carlin "I will stand on my side of the fence, reguardless of the circumstances or the consequence." - Monoxide "Hugbees!" GCS\P\SS d- s-:- a-- C++$ U--- P--- L- E- W++ N o K-? w+++ O++ !M-- V PS+ PE Y+ PGP t+ 5+ X+ R++ tv++ b++ DI++ D+++ G+>G++++ e* h- r++ y+
-
Do you how many bugs can be introduced using copy/paste?
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
Ray Cassick wrote: Do you how many bugs can be introduced using copy/paste? 4 -c CheeseWeasle