|
I 'dunno, I kind of like VB. My career really got it's boost with VB6. Interestingly enough I still get projects where they want VB.NET or for VB6 application maintenance and I don't mind it.
But I admit with all of my new projects starts, I've been using C# for PC side development and have grown more comfortable with it.
It was broke, so I fixed it.
|
|
|
|
|
Point, when you were learning it was great. When you want something quick to try an idea it has a place. A production environment running a test rig, no, just no! VB like everything has its place...
|
|
|
|
|
glennPattonWork wrote: A production environment running a test rig, no, just no!
Why not? By the time the code is run, it is exactly the same CLR as a C# application (that is what puts the "common" in Common Language Runtime) executing exactly the same code in the .NET Framework.
Sloppy coding is sloppy coding, and C# can be as bad as, even worse than, VB.
|
|
|
|
|
Most my production VB code is still in use and have had little or no issues.
What issues do crop up they are generally having to do with adding features for new product, updating the UI of the applicationor changing test parameters. I've offered to rewrite them into C# code, but the answer is always, Why? If they still work, lets keep using them.
VB if coded well is a very viable platform to use, it's not just a "Starter" language although it does serve well in that capacity. The problem with VB is the ability to abuse some of the features, things like resume next and goto. But those features are great tools when debugging or running code that you know is incomplete. These have their place.
I've have seen some truly awfull code in C++, C#, assembly you name it. Any language can be abused it's not specific to VB.
It was broke, so I fixed it.
|
|
|
|
|
for the honesty. My career has followed a similar path. The 'legacy' VB6 applications still install and work fine on Windows 8, but most importantly, they continue to generate revenue in sales and support contracts. Like you, new projects are either C# or VB.NET.
"Go forth into the source" - Neal Morse
|
|
|
|
|
I use VB, and my code is as structured as C#. Any coder who is still relying on GOTO and other antiquated keywords deserves to be slapped down hard.
|
|
|
|
|
There is my point!
|
|
|
|
|
And yet, GOTO DOES have some valid uses.
In college, when learning COBOL, we were told there was only one valid use for GOTO.
Forget the details, but suffice to say that to avoid the use of GOTO for a particular type of COBOL application, the code size tripled.
Tim
|
|
|
|
|
Umm try coding any loop or call with out using a GOTO or JMP in assembly you can't...
|
|
|
|
|
Some languages need it. VB is not one of those languages. I've been coding in VB since VB4, and have never found a use for GOTO .
|
|
|
|
|
I've been writing VB code for more than 15 years, and I have never needed to use GOTO . Some languages, like COBOL, Fortran, Assembly, and older flavors of BASIC, needed the syntax. VB does not and never has.
|
|
|
|
|
I was raging against my coding problem more than the Language!
|
|
|
|
|
We already have ran a poll for it as well.
glennPattonWork wrote: being the last programmer to touch it all the blame will fall at my door even though the famous "well it was working when it was left with you", And yeah we all hate VB and my condolence with you.
Believe Yourself™
|
|
|
|
|
Speaking of Ini-Files. Make sure the INI-File IS NOT written in UTF-8. Windows can't handle UTF-8 ini files!!
|
|
|
|
|
No the elephant is plain ASCII text file so far...
|
|
|
|
|
Blame the programmer, not the language. That said, it is obvious, over and over again, that VB attracts the worst programmers. However, I've also perused the VB articles on CP here and am equally impressed with the code there as I am in say, the C# and C++ forums. And I also have the equal amount of rolling eyes as well.
Marc
|
|
|
|
|
No I totally agree apart from it's safer to blame VB, the previous programmer has access to weapons, hence I hate <<redacted for="" my="" own="" good="">>
|
|
|
|
|
It's not the tool that you use that's the problem, it's the tool that uses it!
=========================================================
I'm an optoholic - my glass is always half full of vodka.
=========================================================
|
|
|
|
|
See here[^]
(site is in dutch, but the movie is English spoken)
Personally I thought it was pretty funny: subtle and not offensive. However I'm pretty sure if I did it here, I would get trouble in a matter of minutes.
What's the best prank you ever did?
(and did you get in trouble? )
|
|
|
|
|
I've seen that beofre. I agree, it is pretty funny...
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
The best two pranks I ever pulled on my siblings were as follows:
1. tie a piece of thread across the start of the hallway leading to bedrooms; the other end of the thread was attached to a stuffed animal suspended from the cieling behind a light fixture at the other end of the hallway. When my older brother got home in the middle of the night, he broke the thread (tripwire) thus releasing the stuffed animal. In the dark, all he could see was a large shape approaching his head and he had walls on both sides. He told me in the morning I got him well - he sobered up very quickly that night.
2. another older brother had his bedroom across the hall from mine. Tied nylon cord to the top corners of his top cover on his bed and ran the cord under the cover, over the wall and into my room. When he arrived home late and went to bed, I waited until he was comfortable and started pulling the cords - the cover started rising off of the bed in the dark. He was so upset with me, he broke the nylon cord by hand, but did not retaliate.
The third... I can't repeat and I will self incrimate.
And your best prank?
Tim
|
|
|
|
|
And you got away with these? With two older brothers?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
Actually 4 older brothers, 3 younger brothers and a younger sister.
And yes, I got away with them because we all prank each other; it was who was the best at it.
|
|
|
|
|
Poor sister - all alone...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
I have two stories as well:
#1: When we were kids we loved making "blowpipes". That day we hadn't any material in the house so we took a straw, some tape and needles and made a mini blowpipe. We tested it in our sister whom we sneaked up upon from behind. Did you know people can jump pretty high from a sitting position?
#2: During uni we lived with 6 people in a house and one of us was always home late (or early, because mostly it was morning) That guy was on the ground floor and me and my mate on the top floor (2d floor) Before going to bed we tied a cord to the front door attached the fire extinguisher to it, lifting it in the air and attached the entire thing via the staircase all the way up to our floor. In addition we made a "spider web" of cords in front of his door and attached that to the stair case as well. The spider web we covered in newspaper so he had more trouble figuring it out. He used his lighter to burn the rope because he couldn't find how to release the rope ( so lucky us we didn't have a fire). The fire extinguisher made a huge thump when it came down.
|
|
|
|