Anti-VB
-
So? Options aren't required and compile time warnings get in the way (for me). In VB .Net there are compile time warnings. __________________________________________ Let's push Satan
What I was trying to convery is that the VB allows users to turn off such explicit declaration of variables, explicit casting of expressions (when required). Furthermore, VB has such concept of "Modules" which allows users to create static methods. The legacy VB was not OO by nature, so those users to are now evolving to VB.net continue to write the same type of non-OO code without taking advantage of the new features. One of the newly introduced feature of VB.net 2k5 is the "My" keyword which allows programming shortcuts, thus not forcing the user to learn more about the encapsulating classes. Because VB makes it easier for users to write code, it on the otherhand does not require them to think profoundly and structured-ly about the code. Thus because VB allows such language exploitations, it promotes bad programming practices which come back and haunt you (or whoever is dealing with the mess) later. I'm not stereotyping that ALL VB developers are not quality programmers. My opinions reflect my observations of the code I have reviewed in the past. I'm not trying to flame another debate of VB vs C#, I just think a language has a strenght as long as the it forces you to learn proper programming techniques WITHOUT exposing too many keywords. I'd say the strengh of the language should be measured by the reserved keywords! - Malhar
-
Jeffry J. Brickley wrote:
Basic created it's own infrastructure in Visual Basic
Thats one thing I like about .net :) The errors & warnings typically take you to the right location of the error rather than some random error in some random file ;P
Jeffry J. Brickley wrote:
- As pointed out compiler error/warning level support, how well can the compiler help you detect errors
I'd say thats more a compiler issue than language ;)
Jeffry J. Brickley wrote:
a) when you have to debug a subtle error, how well will the environment help you do so?
IDE issue... even if vb has traditionally had a good ide for debugging :)
Jeffry J. Brickley wrote:
C# borrowed from both C and VB infrastructure, but also built up its own to surpass VB.
I wouldn't say that C#'s infrastructure was built to surpass vb... seems to me that microsoft is trying to keep the two fairly equivalent.
Jeffry J. Brickley wrote:
b) Is the language set up such that the compiler just tells you "error line 110" and leaves you pondering what you typed
Basic started long before vb... before c++ even I think... dun remember for sure. Course, vb made a lot of changes... it still had something to build off of. vb.net again made changes... and again had something to build off of.
Jeffry J. Brickley wrote:
My suggestion to anyone is run out and learn a second computer language. I don't care if you are programming in C# or C++, or even still C or VB, even if you are scouring the internet for Ada support, learn a second language. It gives you alternate logic concepts, allows you to program your code by design strategies rather than just "syntactically and functionally correct." Programming is more than just the language you are writing in, and the best way to break out of that in any language is to learn a second one.
Indeed. Learning more than one language is good :D Learn enough of them and they all seem the same ;P Well... close enough to it ;P I've picked up several of my preferences in programming from different languages :)
Jeffry J. Brickley wrote:
Lisp is strange
I thought lisp was kind of interesting... a slightly di
Xoy wrote:
I wouldn't say one language is necessarily superior to another... it depends on what the program is supposed to do.
Theoretically RPG I/II/III/IV etc. were supposed to build columnar reports easily. A report designer add-on to almost any modern language can produce it better. :) so we are still stuck that RPG is a lousy language. :laugh: But they integrate well with Cobol. :suss: _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
Xoy wrote:
I wouldn't say one language is necessarily superior to another... it depends on what the program is supposed to do.
Theoretically RPG I/II/III/IV etc. were supposed to build columnar reports easily. A report designer add-on to almost any modern language can produce it better. :) so we are still stuck that RPG is a lousy language. :laugh: But they integrate well with Cobol. :suss: _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
Well I'm sure even BF has its applications... as limited as it may be ;P (which btw exists for .net now too :suss: ) It does what its supposed to do... Though of course times change too... sometimes a newer langauge/whatever will take over an older one... that do the same thing... just in a better way :)
-
Have you even looked at VB? class BlahBlahBlah { sub New() { object Thingy = new Object; }; }; Public Class BlahBlahBlah Public Sub New() Dim Thingy As New Object End Sub End Class The main difference is case. In VB Thingy = Thingy, thingy, tHINGY, etc. In C Thingy = Thingy. __________________________________________ Let's push Satan
A language doesn't consist only of syntax.
Some of us walk the memory lane, others plummet into a rabbit hole
Tree in C# || Fold With Us! || sighist -
Well I'm sure even BF has its applications... as limited as it may be ;P (which btw exists for .net now too :suss: ) It does what its supposed to do... Though of course times change too... sometimes a newer langauge/whatever will take over an older one... that do the same thing... just in a better way :)
Xoy wrote:
Well I'm sure even BF has its applications... as limited as it may be
What about malbroge(sp, named after a circle in dantes inferno). It took several years before anyone was able to write a hello world app in it, and IIRC it was done by generating every possible program of sizeN and testing the output.
-
Why are so many people outspokenly anti-vb? I think its fine to prefer one language over others, perhaps due to what you are most comfortable with, syntax preference, etc... but why are so many people also anti-vb? Especially if its C# vs VB... Considering there isn't that much different between them :confused: I mean, fine and all if you are more comfortable with the cish syntax, but whats wrong with vb :confused: (note i'm referring to the language and not the people who use it ;P)
Just wait for Mr Christian Graus of Tasmania to give his opinion on this matter. :-D
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
-
A language doesn't consist only of syntax.
Some of us walk the memory lane, others plummet into a rabbit hole
Tree in C# || Fold With Us! || sighistCar jumps across pond!
-
Car jumps across pond!
eh? :confused:
Some of us walk the memory lane, others plummet into a rabbit hole
Tree in C# || Fold With Us! || sighist -
eh? :confused:
Some of us walk the memory lane, others plummet into a rabbit hole
Tree in C# || Fold With Us! || sighistJust proving your point. :)
-
I think that the main reason that there are so many anti-vb is because of
Xoy wrote:
the people who use it
From what I understand many people think that VB coders produces sloppy programs with the mind for completing the program quickly rather than stably. I started off as a VB programmer years ago and even then found some quirks of the language which I didn't like but it wasn't a bad language as such. VB.NET started to address these problems but then I switched to C# and have harldy looked back. Just my 2p (I feel like being patriotic now that Wales is back winning in the 6 nations :-D) on the General Opinion. Ed
Ed.Poore wrote:
From what I understand many people think that VB coders produces sloppy programs with the mind for completing the program quickly rather than stably.
For one, there's no such word as "stably". For two, they do. Jeremy Falcon
-
Well, I for one, can you that this place would be supremely boring without people like you. Tom Archer (blog) Program Manager MSDN Online (Windows Vista and Visual C++) MICROSOFT
I agree completely, whatever it is you meant to say.;P Watch the mail... a package should be along shortly. I tossed in TASM and TD, to boot, and if I find the manuals they'll be along shortly. Have fun!:-D "...a photo album is like Life, but flat and stuck to pages." - Shog9
-
Why are so many people outspokenly anti-vb? I think its fine to prefer one language over others, perhaps due to what you are most comfortable with, syntax preference, etc... but why are so many people also anti-vb? Especially if its C# vs VB... Considering there isn't that much different between them :confused: I mean, fine and all if you are more comfortable with the cish syntax, but whats wrong with vb :confused: (note i'm referring to the language and not the people who use it ;P)
Beginners All-purpose Symbolic Instruction Code (BASIC) was invented by two mathematicians at Dartmouth in 1963 as a teaching tool, not a programming language. It was never intended to be a real language, but served only to instruct raw beginners in the rudimentary functions necessary to make a computer do something more useful than warm the lab. It was simplified by MS by making it Visual, so that even greener tyros, not to mention the occasional manager, could figure it out well enough to make pretty dialog boxes. This is much like making rifles automatic, so that you don't need to worry about hiring peasants for your army who are bright enough to remember to work the bolts after each shot. "...a photo album is like Life, but flat and stuck to pages." - Shog9
-
Beginners All-purpose Symbolic Instruction Code (BASIC) was invented by two mathematicians at Dartmouth in 1963 as a teaching tool, not a programming language. It was never intended to be a real language, but served only to instruct raw beginners in the rudimentary functions necessary to make a computer do something more useful than warm the lab. It was simplified by MS by making it Visual, so that even greener tyros, not to mention the occasional manager, could figure it out well enough to make pretty dialog boxes. This is much like making rifles automatic, so that you don't need to worry about hiring peasants for your army who are bright enough to remember to work the bolts after each shot. "...a photo album is like Life, but flat and stuck to pages." - Shog9
Wikipedia: BASIC (Beginner's All-purpose Symbolic Instruction Code[1]) is a family of high-level programming languages. Originally invented in 1964 by John George Kemeny and Thomas Eugene Kurtz at Dartmouth College, it was designed to allow students not in science fields to use computers. At the time all computer use required writing custom software, which was something only scientists and mathematicians tended to do. It became widespread on home microcomputers in the 1980s, and remains popular to this day in a handful of heavily evolved dialects.
-
Wikipedia: BASIC (Beginner's All-purpose Symbolic Instruction Code[1]) is a family of high-level programming languages. Originally invented in 1964 by John George Kemeny and Thomas Eugene Kurtz at Dartmouth College, it was designed to allow students not in science fields to use computers. At the time all computer use required writing custom software, which was something only scientists and mathematicians tended to do. It became widespread on home microcomputers in the 1980s, and remains popular to this day in a handful of heavily evolved dialects.
10 DATA "I WILL NOT" 20 DATA "PROMOTE PROGRAMMING" 30 DATA "IN NON-LANGUAGES." 100 DIM A$[10], B$[19], C$[17] 110 DIM I 200 READ A$ 210 READ B$ 220 READ C$ 500 FOR I = 1 TO 100 510 LPRINT A$ + CHR(20) + B$ + CHR(20) + C$ 520 LPRINT CHR(09), CHR(10) 530 NEXT I 540 GOTO 999 600 REM YOUR HOMEWORK FOR TONIGHT 999 END >RUN Are you gonna believe Wikipedia, or someone who was there?;P Don't mind me - just stirring the pot...;) "...a photo album is like Life, but flat and stuck to pages." - Shog9
-
Just proving your point. :)
:click: ahhhh! :rolleyes:
Some of us walk the memory lane, others plummet into a rabbit hole
Tree in C# || Fold With Us! || sighist -
:click: ahhhh! :rolleyes:
Some of us walk the memory lane, others plummet into a rabbit hole
Tree in C# || Fold With Us! || sighistEnlightenment - something one never would achieve by programming VB. :-D
-
Look VB is just a tool same as C++ and has its advantages and disadvantages. From a business stand point VB is great, you can get an app out very quickly without worring about about the little things. I think the people that complain about VB are the JAVA/C#/C++ coders because they think using these language makes them an engineer!! HA, C# which i code in and Java are 4gl languages and C++ is nothing more then a 3gl language and most of us only code for business software which really does not require c++ at all. Think about it if all businesses used c++ apps would never be on time. Thank god for java and .net and yes vb. If you want to feel like an engineer use assembly for microprocesser programming, create your own OS. But otherwiese just accept VB is a tool some people can use well and some just hack it up which is why we are here.
bakerfishsticks wrote:
Think about it if all businesses used c++ apps would never be on time
Exactley why is C++ dificult to learn/use/develop applications in timely fashion? I've been using C++ for development of business solutions for the past 15 years or so, in my experience project overruns have always been caused by management politics, not late delivery by development teams. Software development is software development, just as the "clunkiness" of VB promotes bad development practices, the terseness of C++ promotes "code obfuscation" the likes of which can give even seasoned C++'ers the hairy gibbers :omg:, which is why most C++ developers try and write "sane" structured code. The fact is that VB is easy to understand and allows "non-programmers" to assemble relativly functional programs, in just the same way that non IT people would proudly declare that they programmed their "Access" system to do this that or the other. Phil Harding.
myBlog [^] | mySite [^] -
I agree completely, whatever it is you meant to say.;P Watch the mail... a package should be along shortly. I tossed in TASM and TD, to boot, and if I find the manuals they'll be along shortly. Have fun!:-D "...a photo album is like Life, but flat and stuck to pages." - Shog9
Thanks!!! :beer: :beer: :beer: Tom Archer (blog) Program Manager MSDN Online (Windows Vista and Visual C++) MICROSOFT
-
10 DATA "I WILL NOT" 20 DATA "PROMOTE PROGRAMMING" 30 DATA "IN NON-LANGUAGES." 100 DIM A$[10], B$[19], C$[17] 110 DIM I 200 READ A$ 210 READ B$ 220 READ C$ 500 FOR I = 1 TO 100 510 LPRINT A$ + CHR(20) + B$ + CHR(20) + C$ 520 LPRINT CHR(09), CHR(10) 530 NEXT I 540 GOTO 999 600 REM YOUR HOMEWORK FOR TONIGHT 999 END >RUN Are you gonna believe Wikipedia, or someone who was there?;P Don't mind me - just stirring the pot...;) "...a photo album is like Life, but flat and stuck to pages." - Shog9
Roger Wright wrote:
10 DATA "I WILL NOT" 20 DATA "PROMOTE PROGRAMMING" 30 DATA "IN NON-LANGUAGES." 100 DIM A$[10], B$[19], C$[17] 110 DIM I 200 READ A$ 210 READ B$ 220 READ C$ 500 FOR I = 1 TO 100 510 LPRINT A$ + CHR(20) + B$ + CHR(20) + C$ 520 LPRINT CHR(09), CHR(10) 530 NEXT I 540 GOTO 999 600 REM YOUR HOMEWORK FOR TONIGHT 999 END >RUN
:| This discussion is on vb... thats umm really old basic... :suss: quickbasic? I've programmed in dos... and basic can be/was quite a bit nicer than that ;P Stuff changes with time... new ideas, new solutions... basic has come a long way from then. If used properly, it can be a great tool... use the screwdriver to screw in the screws and the hammer to hammer in nails, not the other way around :P
-
Enlightenment - something one never would achieve by programming VB. :-D