|
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
|
|
|
|
|
You'll meet a lot of nice folks you never knew existed under those rocks...
Hold your head up son! You get paid to do what others are afraid to do.
It was broke, so I fixed it.
|
|
|
|
|
If you ever need protection, I am talking about cowboy style gunslinger stuff.... JSOP is your guy.
|
|
|
|
|
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
|
|
|
|
|
As the announcer from NBA Jams you to say... "Boom shakka-lakka". Point, set, match.
|
|
|
|
|
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.
|
|
|
|
|
Thanks Pete, I think some people need to hear that coming from someone of your level of expertise. VB is my bread and butter language and they pay me a decent wage for for doing so. I'm also the GoTo guy for converting legacy VB 6 apps to C# or VB.NET.
I still have a spot in my heart for VB 6, but I haven't forgotten thr frusrations of debuggung applications with undeclared or loosely declared variables.
It was broke, so I fixed it.
|
|
|
|
|
S Houghtelin wrote: I'm also the GoTo guy for converting legacy VB 6 apps
Make it stop! *Rocks back and forth in the fetal position in a dark corner.*
|
|
|
|
|
Is there
GoTo
Is there any other way to write that?
It was broke, so I fixed it.
|
|
|
|
|
GoSub?
|
|
|
|
|
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
|
|
|
|
|
In English (as opposed to coding), that's two words.
|
|
|
|
|
S Houghtelin wrote: I still have a spot in my heart for VB 6
Soft spot in the head more likely, while I spent much of the 90s steeped in VB I do prefer C# and I loathe HTML!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: and I loathe HTML!
You're in good company...
Alan Kay Interview with Dr Dobbs[^]
"The Browser - A Lament" - even the section title says it all really.
|
|
|
|
|
Pete O'Hanlon wrote: He ended up as a PM at Microsoft.
And this is a perfect punishment !
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
I spent a year doing VB.net (that may be why my MVPhood hasn't recurred). I hope I never have to again, but if that's all I can get, I'll take it. It beats Java.
Shoot, I can't find the advice I got when I made a similar announcement, but it mentioned OPTION STRICT * and such.
If you're a good developer, you can write good code in it. Just try to stay away from anything that is unique to VB.
* Edit:
/optionexplicit+
/optionstrict+
/optioninfer-
http://www.codeproject.com/Lounge.aspx?msg=4096062[^]
|
|
|
|
|
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.
|
|
|
|
|
XAlan Burkhart
|
|
|
|
|
Wash your hands often, and gargle before meeting with anyone with an IQ over room temperature; you'll get through this. Hang on, it can't last forever...
Will Rogers never met me.
|
|
|
|
|
Welcome to one of the nicest languages ever with some of the greatest flaws ever
VB.NET isn't so bad once you get used to it. I prefer it over C#.
Just enjoy not having to type (); manually at the end of each sentence...
Or break; after each case of a switch statement, while falling through isn't allowed anyway...
Or an opening and closing bracket after just about every other line of code...
Just make sure you put Option Strict On and don't talk to VB programmers that have been around since the 90's
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|