|
After using VB.Net for around 8 years, I have been using C#.Net exclusively for the past 5. There are two things I very much still miss about VB.Net - the first of which are those oh-so-hated-by-everyone-else verbose blocking keywords. ESPECIALLY when working at the end of a function or class...
[ Next / End If / End Select / End With / End Function ] is instantly easier to understand which blocks you are leaving, than [ }}}}} ] - even when on separate lines.
The second is the [ My. ] class - so much exposure to the underlying environment, user profile, settings, and resources... all in one API.
At the end of the day, I use C# just to keep fluent in what is arguably the more-widely-used language of the two, but I very much miss the good ol' days.
|
|
|
|
|
It takes manure to make things grow. Have you ever worked in VB? If not How can you criticize something you don't use?
tired of the VB bashers …..
|
|
|
|
|
In point of fact, I've worked in every evil incarnation of it, but more importantly, I've worked with better languages, so I know from where I speak.
Even if I hadn't, I'm old, so I'm entitled to criticize anything I want.
Oh, and you can use your cute little disappointment emoji till the cows come home. I don't give two sh|ts about it. (I can say that because I'm old, too.)
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
You are not the only "Old Guy". I am 70 in a few months. I have been working in Basic (GW-Basic) since 1978. I have made a very good living with it, and have happy clients running their businesses all over the Southeast and Central U.S. with my programs.
Being "Old" does not entitle you to anything, except the knowledge you will die soon. The emoji was for you, because you sound like a fan-boy millennial in your post.
BTW, I am converting my programs to C#, and have found it is more verbose,and does not handle Dates worth a cr@p. I'm doing that so when I finally drop dead at the keyboard, my clients will be able to find one of the younger guys around that know C# to support them. I notice you failed to mention any of the so-called "better" languages you work in. I'd be interested to know what language/framework du-jour you currently like.
Get over it, it's all just syntax, in the final analysis. The tool you use is not important, only the product you create
Oy! Haters gonna hate.
|
|
|
|
|
why do you think it's crap? is this from personal experience or is from from what others say it is?
from my personal experience (and i do have quite a few languages that i use from day to day) it's on par but not equal to C#, VB.net does somethings better than C# and vice versa. and at the end of the day they both compile down to the same IL.
i could say javascript is crap because it's an interpenetrated language and other reasons, but it does serve a purpose and does it well, so i wont.
|
|
|
|
|
Matt McGuire wrote: why do you think it's crap?
Because of the first two letters in its name. I thought I' made that clear.
Matt McGuire wrote: i could say javascript is crap
And I don't personally know a single person that would argue with you on that point.
Matt McGuire wrote: but it does serve a purpose
Only because we let it serve a purpose.
Y'all really need to stop arguing the point. It's crap, and I absolutely won't change my mind.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I used to be like you years ago, but after a couple decades of coding, i have learned to be more flexible in what i use to get the job done.
John Simmons / outlaw programmer wrote: Because of the first two letters in its name. I thought I' made that clear.
by the sound of it, you haven't used it, or at least not enough to see some of the benefits that VB.net offers that differentiates it from C#.
C# and VB.net are both good languages, and they both have their strengths and weaknesses. I use them both, and ADA, javascript, c, c++, D, Rust,HTML and a few others i dabble in; they all have their own uses.
if you want to bash on VB6 go for it, that should have died over 10 years ago. but VB.net is not VB6
|
|
|
|
|
Matt McGuire wrote: by the sound of it, you haven't used it, or at least not enough to see some of the benefits that VB.net offers that differentiates it from C#.
Once again, and for the last time, I *HAVE* used VB.Net, and it is still crap, just like it's predecessor, VB6.
Matt McGuire wrote: if you want to bash on VB6 go for it,
I suppose I could equate that with "divine dispensation", but I didn't need it to start with.
VB apologists make me laugh out-f*ckin-loud...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Look I'm not here to convince you otherwise, you have your standpoint and i will respect that, even if i don't agree with it.
My only request is to not bash on others for their personal preferences. if there was constructive criticism over a language feature, I have no issue with, but to say something is just "crap" is not helpful and will lead to angering others for no purpose what so ever.
|
|
|
|
|
VB is used in-house, making the software carrying the company forward.
C-ish languages used by experts, for boxed software, and for contractor work, carrying their company forward.
|
|
|
|
|
I would debate that, this stems from the old long debate of VB6 vs. C++.
I use to develop industrial control systems that controlled directly to the IO with VB.Net and had several hundred installations. the difference between c# and vb.net is not a lot. both are good languages, and both had good features, both have their own benefits, what it actually comes down to is do you prefer "{}" or "if, end if"; it still compiles down to the same IL.
|
|
|
|
|
13 is the age when one should be moving from VB to a programming language. No later than puberty.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
Boom tish!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
VB is OK as long as you still work in your parents' basement.
|
|
|
|
|
This thread is about VB.NET, which can express virtually everything that C# can express, albeit with a wordier syntax.
Do you mean that C# is not a real programming language?
Or do you mean that VB6 / VBA is not a real programming language (which I could get behind, if not entirely agree with)?
|
|
|
|
|
I'd have to argue that VBA is a real programming language, but that it's limited by the host application. VBA in Excel is extremely powerful. VBA in Word has been lobotomized.
VB6 was good for what it was intended to do and represents a completely different era of Windows programming.
|
|
|
|
|
You mean the Excel and Word object models, respectively. You can easily access the Word object model from Excel, and the Excel object model from Word. You can also access both object models from an external program/script -- .NET languages, Python, VBScript, JScript and others. I think the limitations of these object models are independent of the language.
VBA (and VB6) is limited in that it doesn't have a first-class-function mechanism (AddressOf doesn't count, as AFAICT there is no way to call such a function pointer from VBA), nor does it have a lambda function syntax. This means that LINQ/FP-style data processing is impossible in VBA/VB6, and filtering / sorting / projecting any collection of data involves nested For Each and conditional blocks.
|
|
|
|
|
|
Ahem
Quote: There's no Visual Basic 13.0 nor VC++ 13.0.
Real programmers do use g++ .
|
|
|
|
|
The Number of Love[^]
Agile + JIRA + Storyboard => Bollywood Manager
Sumuj John
Talent3d Software Developer
|
|
|
|
|
Have you considered FORTRAN 19? I've heard that it's hard to find machines to punch Hollerith cards these days, but I'm sure that they can be located on Alibaba.com. If you can't find it, I think I still have a copy of Visual C++ 1.4 in my stockpile; I'll be happy to send it along, if I can find it, and you're feeling nostalgic.
You'll find, as you travel, that few hotels have a 13th floor; I prefer to stay in those that do, simply because I'm a bit contrarian. Most of the good things that have happened in my life happened on Friday, the 13th, so I have no irrational fear of that arbitrary date.
Will Rogers never met me.
|
|
|
|
|
Friday 13th has always been lucky for my family, my Granddad was rescued for the sea twice(!) on Friday 13th in World War One (he was plucked out of the sea once and then that ship was sunk! so, maybe not as lucky as he could have been but...).
|
|
|
|
|
Developers and simple arithmetic: never the twain shall meet.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Yes they were.
Both VB.Net 13.0 and C++ 13.0 were ready for release in VS 2014 code name Dev 13.
However it only worked on Windows 9.
Windows 9 release was killed by Windows 10 which was released midway through 2015.
So VS 2014, VB.Net 13.0, C++ 13.0 and Windows 9 were effectively all fake news.
There is a reason for everything.
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980
|
|
|
|
|
That's the only dumb VB fact you have?
|
|
|
|
|