VBxxxx (fill in your most hated incarnation) SUCKS
-
Does this mean that my VB program will be able to build a string that describes VB procedure and then run it (passing in params somehow)? And that my procedure will be able to find itself and change itself while it is running? Or is that too much to ask.
AFAIK that was possible back in VB6. In the dotNet-ian world (at least 1.1 and 2.0 for sure) you could use the built in tools to compile code (from memory or file(s)) to either file or memory, load it through use of reflection, and execute it. mm, what _IS_ DLR..?
:badger:
-
:~
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
My first real C# project | Linkify!|FoldWithUs! | sighistThanks, now I'll have nightmares for a few [days|weeks]
:badger:
-
Al Beback wrote:
you don't feel the pain.
[Note:] I am assuming VB 1 - 6 Until you try to do something silly like gasp interact with the operating system or use threads.
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
Chris Austin wrote:
interact with the operating system or use threads.
VB6 (maybe 1-5 too, never used those) wasn't _completely_ impossible to interact with the OS/use threads. Sure, you'd have to spend all you work AND free time to get it working, but it sure was possible. And sure, you'd have more code that actually made sure things produce the correct result than code that actually does what the program is supposed to do, but at the end of the day it worked anyway, albeit sluggishly...and that it would be the end of the _next_ day.
:badger:
-
Chris Austin wrote:
interact with the operating system or use threads.
VB6 (maybe 1-5 too, never used those) wasn't _completely_ impossible to interact with the OS/use threads. Sure, you'd have to spend all you work AND free time to get it working, but it sure was possible. And sure, you'd have more code that actually made sure things produce the correct result than code that actually does what the program is supposed to do, but at the end of the day it worked anyway, albeit sluggishly...and that it would be the end of the _next_ day.
:badger:
Anton Afanasyev wrote:
albeit sluggishly...and that it would be the end of the _next_ day.
:laugh: You made my point for me, much better than I could. It shouldn't require so much extra effort.
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
-
Al Beback wrote:
you don't feel the pain.
[Note:] I am assuming VB 1 - 6 Until you try to do something silly like gasp interact with the operating system or use threads.
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
Chris Austin wrote:
interact with the operating system
this is difficult... don't do it....
Chris Austin wrote:
use threads.
this is difficult don't do it.... other things difficult and discouraged: loops, recursion, creativity, thought.... so don't do it! :rolleyes:
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
Chris Austin wrote:
interact with the operating system
this is difficult... don't do it....
Chris Austin wrote:
use threads.
this is difficult don't do it.... other things difficult and discouraged: loops, recursion, creativity, thought.... so don't do it! :rolleyes:
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
El Corazon wrote:
so don't do it!
But I already have!? Oh no, what do I do now? Will I get in trouble for it? :)
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
-
El Corazon wrote:
so don't do it!
But I already have!? Oh no, what do I do now? Will I get in trouble for it? :)
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
Chris Austin wrote:
Will I get in trouble for it?
Yes... you will be caught in a VB.Net, and forced to write VB-X. :omg::omg:
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
Nishant Sivakumar wrote:
Currently VB.NET is not a dynamically typed language
Sure it is. Just set Option Strict and Option Explicit to OFF and enjoy the benefits of data type that magically adapt to the context they are used in, even at the expense of loss of precision or meaning. So we are moving from the Common Language Runtime To the Damaged Language Runtime to support a return to bugs inherent in runtime type definition. Great.
I think you are mixing up static/dynamic typing and strong/weak typing. VBScript, for example is a weakly typed language, whereas JavaScript and Python are strongly typed languages - only that the type checking happens at runtime instead of (or in addition to) compile time.
Regards Senthil [MVP - Visual C#] _____________________________ My Blog | My Articles | My Flickr | WinMacro
-
John Simmons / outlaw programmer wrote:
evil incarnation of Visual Baisc.
It takes time, but you will be assimilated. :) When you start looking at how easy and quickly business apps can be written with it, you might actually start liking it, a little. The syntax? Yep, it sucks. But the IDE practically fills in (and indents) all that wonderful verbosity for you, so you don't feel the pain.
SUPPORT OUR TROOPS
Al Beback wrote:
When you start looking at how easy and quickly business apps can be written with it, you might actually start liking it, a little.
See also: Stockholm Syndrome...
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
-
John Simmons / outlaw programmer wrote:
lately we find that almost all of the work we're doing right now involves some evil incarnation of Visual Baisc.
Prior to .NET I noticed a trend away from C++ and towards VB, especially for GUI and database work. But it's surprising that this is happening now at your place. Not transitioning to .NET? Or do you mean VB .NET? I know you hate .NET, so I suppose you'd moan if it was C# too.
Kevin
Like almost everyone else here, we have no choice. In each and every dreary case, we're maintaining old code, and there is no funding for conversions. I hate my job.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
John Simmons / outlaw programmer wrote:
evil incarnation of Visual Baisc.
It takes time, but you will be assimilated. :) When you start looking at how easy and quickly business apps can be written with it, you might actually start liking it, a little. The syntax? Yep, it sucks. But the IDE practically fills in (and indents) all that wonderful verbosity for you, so you don't feel the pain.
SUPPORT OUR TROOPS
I prefer the verbosity because it means *I* have control over what's happening and when. I can promise I will never start liking VB.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Does this mean that my VB program will be able to build a string that describes VB procedure and then run it (passing in params somehow)? And that my procedure will be able to find itself and change itself while it is running? Or is that too much to ask.
Or you can use delegates to inject code dynamically in C#.
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
-
Al Beback wrote:
When you start looking at how easy and quickly business apps can be written with it, you might actually start liking it, a little.
See also: Stockholm Syndrome...
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
:laugh:
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
-
Does this mean that my VB program will be able to build a string that describes VB procedure and then run it (passing in params somehow)? And that my procedure will be able to find itself and change itself while it is running? Or is that too much to ask.
You can do that in VB6 with the CallByName[^] function. When I discovered this it was the coolest thing since sliced bread, as I could use controls arrays, with a Tag property on each control indicating which property it was 'bound' to.
-
John Simmons / outlaw programmer wrote:
You have to explain to them what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?"
Cruel! :laugh:
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
My latest book : C++/CLI in Action / Amazon.com linkNishant Sivakumar wrote:
Cruel!
Not at all!
-
I think their first coding standard should have been: Avoid Coding In Visual Basic
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001I totally agree. They should have a warning page first. Warning, this page contains explicit VB content not to be viewed by C++, Java or C# developers :P
WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
-
We've been a C++ shop since the beginning of time, but lately we find that almost all of the work we're doing right now involves some evil incarnation of Visual Baisc. None of us like coding in it, and we spend a good part of the day hurling insults at it. Our project manager chimes in with her usual harpie-like screech proclaiming "At least you have a job!". I hate her. In any case, one of our testers was crusing the web looking for something about VB, and she stumbled across this: http://www.visibleprogress.com/vb_coding_standards.htm[^] I thought some of you might enjoy it as much as we have.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001John Simmons / outlaw programmer wrote:
At least you have a job!".
Easy start looking for a new one and when you leave stick to her - bitch, I had PM's who act like that. John I feel your pain, personally if I was dumped with a VB project I would have to jump ship.
.net is a box of never ending treasures, every day I get find another gem.
-
Like almost everyone else here, we have no choice. In each and every dreary case, we're maintaining old code, and there is no funding for conversions. I hate my job.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001John Simmons / outlaw programmer wrote:
I hate my job.
Does that mean you're looking around? :)
Kevin
-
John Simmons / outlaw programmer wrote:
I hate my job.
Does that mean you're looking around? :)
Kevin
Not in San Antonio. Other than the job I have, and the occasional convenience store clerk, the highest tech job in this town is picking lettuce.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
John Simmons / outlaw programmer wrote:
At least you have a job!".
Easy start looking for a new one and when you leave stick to her - bitch, I had PM's who act like that. John I feel your pain, personally if I was dumped with a VB project I would have to jump ship.
.net is a box of never ending treasures, every day I get find another gem.
Unfortunately, San Antonio is more interested in attracting blue collar employers, so you can either pick vegetables, or work at the Toyota plant. Everyone looking for high-tech work eventually moves out of town.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001