I have fallen in disgrace, I am programming in VB.NET
-
Well, don't listen to all that crap. You can answer to those people that a language is nothing more than a tool to use to build stuff. If they dislike VB, then that's their propblem, not yours. If the job requires to use an old, gnarly and obscure tool (not that's what I think of VB, I used to develop everyday using VB6 and VBScript, and contributed to great apps developped with it and I still nurture a foundness for that good old time :(( ) that they don't know, tell them it is no reason to make fun of you. No on should be laughed at because they did their job as per spec, nobody chooses what they really want to do (not at a corporate level at least, if you are an indie, that an other story). Walk with your head straight and keep your hight esteem of yourself. If you are able to develop in many different languages and they don't, then you're definitely better than them.
At least VB made visual design easy, HTML+JS is still a long way off on that front. I look at classic VB as similar to the position JavaScript is in now. While flawed, it enabled a whole new kind of application development. So many people queue up to knock VB, but just look at the god-awful, copy-and-paste-designed JS lurking behind many a web page and you'll find yourself wishing for a return to simpler days.
-
There is nothing wrong in programming in VB.NET. It's a tool for developing apps with, and there's a lot of elitist claptrap surrounding people's opinions on it. One of the best developers I know wrote a lot of great apps with it. He ended up as a PM at Microsoft.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language
Might I suggest writing your code in C# and then using one of the online converters to create the VB code? "I am rarely happier than when spending entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand." - Douglas Adams
-
Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language
-
Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language
The payroll rules engine I have is written in VB.Net. A few hundred thousand people from California to Puerto Rico get their paychecks as a result of that code. I don't think any of them care that it's written in VB.Net, do you? No apologies necessary and you don't have to keep a "low" profile. Code away pal! -CB
-
Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language
Ah, I always enjoy another VB vs. C# discussion. As Woody Allen in one of his movies remembered his dad bickering with his mom, "OK! Have it it your way! The Atlantic Ocean is better than the Pacific!" As a programmer who cut his teeth on Fortran in the sixties, I have a number of languages under my belt, including the various dialects of C. My favorite was Pascal - now there was a readable language. I admit to having become a lazy man in my dotage. In these modern times I gravitate to VB.NET. My.Computer sure is handy! Yes, I run into incredulity and condescension from the young professional IT types (whippersnappers!), but the fact is the results are the same with either language and are not improved by curly brackets, no matter how many.
Ed Greenawald
-
Couldn't agree more. A bad coder will write bad code in C# or any other language as well. It's the coder that makes the difference, not the language. fwiw; I like VB over C#, I hate all the curly braces. Especially when maintaining someoneelses code. I find it far easier to read VB code.
Cigarettes are a lot like hamsters. Perfectly harmless, until you put it in your mouth and light it on fire.
Exactly. I can speed read VB.
-
Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language
Nothing wrong with that! I even do maintenance on VB6 programs and VBA stuff (mainly in Excel)! Why? It works and nobody wants to spend a single buck more then absolutely needed. Just funny the client asked for a particular language!? "We don't have any business requirements yet and actually we are not sure what we want at all but it has to be written in VB.NET". Reminds my of some business departments in our company :laugh:
-
Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language
What do VB.NET and fat girls have in common? Just kidding.. If your any good at C# within a day or two you'll be cranking out VB.NET code like it's nothing. It's not a bad language at all, though it's a little verbose in my opinion. At the end of the day your writing against the same .NET framework you already know.
-Adam N. Thompson adam-thompson.com
-
Couldn't agree more. A bad coder will write bad code in C# or any other language as well. It's the coder that makes the difference, not the language. fwiw; I like VB over C#, I hate all the curly braces. Especially when maintaining someoneelses code. I find it far easier to read VB code.
Cigarettes are a lot like hamsters. Perfectly harmless, until you put it in your mouth and light it on fire.
Yeah, I've seen recent C# code that will put shame to bad 90's VB code :sigh: I've also seen quite some bad VB code. Then again, I've seen bad English and bad Dutch... It's the skill of the programmer that matters, not the language (although having Option Strict Off by default is inviting people to write bad code in VB :sigh: ). I'm as proficient in C# as I am in VB, though I prefer the latter to read and write (if done well) :)
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
} -
GoSub? :rolleyes:
Don't forget
If blah blah Then GoSub
... I worked as a developer back in the 80s (dBaseII, Lotus 123 macros, Wang Glossaries and MS Basic). But my toy at home was a TI-994a. I still have the old manual for TI Basic as a keepsake. When I left the depravity of office environments behind I didn't lose my love for coding, and I just sort of stuck with Basic. It's more intuitive (for me) than any other language I've ever tried. If you want to try something truly bizarre, download Presentation Wizard[^] and try AM's A.N.I.M.A.L. programming language. It's not overly complicated but the syntax is backasswards from anything else I've ever tried.
XAlan Burkhart
-
Hey, they're both development languages that precompile to IL. No big deal, there are some great VB programmers around. Don't ridicule the language because you prefer C# - personally it's my preference too, but a good developer should be comfortable writing in either, so look on it as time well spent.
:thumbsup:
XAlan Burkhart
-
If anyone asks, tell them you're using VB.Net because you wanted a language with iterator lambdas, and C# doesn't support them...
Function Range(min As Integer, max As Integer) As IEnumerable(Of Integer)
If min>max Then Throw New RangeException()
Return Iterator Function()
For i = min To max
Yield i
Next
End Function()
End Function