![]() |
This newsgroup is sometimes frightening
Greetings,
I was wondering if any one else is sometimes struck by the same thing: Several times a week someone posts some flat-out bad code and/or asks exceedingly basic questions. I have no problem with this. You have to learn sometimes and asking questions is a good way to do so. What is frightening is that you can sometimes infer that the code in question is *important* to a company, and that potentially a lot of money is riding on getting it right. I wonder how many companies have been burned by buggy Excel programs written by people with little or no programming background. In a sense VBA is too easy to write. With the macro recorder and a bit of trial and error you can cobble together something that seems to work (most of the time) without understanding why it works or being able to anticipate when it might fail. No company would dream of trusting C code written by a beginner, but many apparantly trust equally unreliable VBA code. Just a random thought. -John Coleman |
This newsgroup is sometimes frightening
Good point John, and a good observation about C code programs versus VBA.
My business would not accept a VB programme to be installed, but would let users run VBA macros. I guess the difference is that most programs in VBA are 'contained' within the Host (Excel) application and not a serious risk or a network issue, and if it is, the problem is more than rogue VBA programmers! As for this newsgroup it should never be condemned for providing solutions, guidance or help to any OP whatever the level of understanding. Until companies take responsibility for good training and IS support, both often sadly lacking in my experience, the problems will persist but not because of this newsgroup! -- Cheers Nigel "John Coleman" wrote in message oups.com... Greetings, I was wondering if any one else is sometimes struck by the same thing: Several times a week someone posts some flat-out bad code and/or asks exceedingly basic questions. I have no problem with this. You have to learn sometimes and asking questions is a good way to do so. What is frightening is that you can sometimes infer that the code in question is *important* to a company, and that potentially a lot of money is riding on getting it right. I wonder how many companies have been burned by buggy Excel programs written by people with little or no programming background. In a sense VBA is too easy to write. With the macro recorder and a bit of trial and error you can cobble together something that seems to work (most of the time) without understanding why it works or being able to anticipate when it might fail. No company would dream of trusting C code written by a beginner, but many apparantly trust equally unreliable VBA code. Just a random thought. -John Coleman |
This newsgroup is sometimes frightening
John,
I largely agree with your points. But I would take issue with your final assertion: No company would dream of trusting C code written by a beginner, Many companies do in fact rely on C code written by beginners. I've had to debug my share of it. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "John Coleman" wrote in message oups.com... Greetings, I was wondering if any one else is sometimes struck by the same thing: Several times a week someone posts some flat-out bad code and/or asks exceedingly basic questions. I have no problem with this. You have to learn sometimes and asking questions is a good way to do so. What is frightening is that you can sometimes infer that the code in question is *important* to a company, and that potentially a lot of money is riding on getting it right. I wonder how many companies have been burned by buggy Excel programs written by people with little or no programming background. In a sense VBA is too easy to write. With the macro recorder and a bit of trial and error you can cobble together something that seems to work (most of the time) without understanding why it works or being able to anticipate when it might fail. No company would dream of trusting C code written by a beginner, but many apparantly trust equally unreliable VBA code. Just a random thought. -John Coleman |
This newsgroup is sometimes frightening
Nigel wrote: Good point John, and a good observation about C code programs versus VBA. My business would not accept a VB programme to be installed, but would let users run VBA macros. I guess the difference is that most programs in VBA are 'contained' within the Host (Excel) application and not a serious risk or a network issue, and if it is, the problem is more than rogue VBA programmers! As for this newsgroup it should never be condemned for providing solutions, guidance or help to any OP whatever the level of understanding. Until companies take responsibility for good training and IS support, both often sadly lacking in my experience, the problems will persist but not because of this newsgroup! -- Cheers Nigel "John Coleman" wrote in message oups.com... Greetings, I was wondering if any one else is sometimes struck by the same thing: Several times a week someone posts some flat-out bad code and/or asks exceedingly basic questions. I have no problem with this. You have to learn sometimes and asking questions is a good way to do so. What is frightening is that you can sometimes infer that the code in question is *important* to a company, and that potentially a lot of money is riding on getting it right. I wonder how many companies have been burned by buggy Excel programs written by people with little or no programming background. In a sense VBA is too easy to write. With the macro recorder and a bit of trial and error you can cobble together something that seems to work (most of the time) without understanding why it works or being able to anticipate when it might fail. No company would dream of trusting C code written by a beginner, but many apparantly trust equally unreliable VBA code. Just a random thought. -John Coleman Actually, I think there's a much bigger problem than poorly written code. Poorly done spreadsheets themselves! I've seen all kinds of erroneous formulas in spreadsheets, sometimes being used to determine financial transactions. There are a lot of spreadsheets done by people who don't even know the order of operations. And I NEVER see error checking in the spreadsheets I work on. Everyone assumes if it's done in Excel, it must be right. Very scary! |
This newsgroup is sometimes frightening
And I've seen very experienced programmers writing bad code and young
talents writing good code. But yes, access to VBA is very easy, so you'll find all sorts of programmers there. Also, I'm always surprised that spreadsheets are often hardly tested. Most financial companies have very strict rules for testing professionally developed systems, but don't pay any attention to the correctness of spreadsheets. -- Kind regards, Niek Otten "Chip Pearson" wrote in message ... John, I largely agree with your points. But I would take issue with your final assertion: No company would dream of trusting C code written by a beginner, Many companies do in fact rely on C code written by beginners. I've had to debug my share of it. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "John Coleman" wrote in message oups.com... Greetings, I was wondering if any one else is sometimes struck by the same thing: Several times a week someone posts some flat-out bad code and/or asks exceedingly basic questions. I have no problem with this. You have to learn sometimes and asking questions is a good way to do so. What is frightening is that you can sometimes infer that the code in question is *important* to a company, and that potentially a lot of money is riding on getting it right. I wonder how many companies have been burned by buggy Excel programs written by people with little or no programming background. In a sense VBA is too easy to write. With the macro recorder and a bit of trial and error you can cobble together something that seems to work (most of the time) without understanding why it works or being able to anticipate when it might fail. No company would dream of trusting C code written by a beginner, but many apparantly trust equally unreliable VBA code. Just a random thought. -John Coleman |
This newsgroup is sometimes frightening
It is a trade off. There is no substantially risk-free way of providin software but VBA is about as risky as it gets. Pointing out the risks of this to one FD his view was that spreadsheet have only a shortlife after the person who created them has left. Whe they did the next person would re-write them. The safty was in that th author was actually operationally responsible for the numbers create (as opposed to a programmer who wasn't) and this ensured "reasonabl reliability". But personally I find that the degrading of the high-standards is real conceptual problem. Particularly when trying to evidence th good-quality of work my work against some of the charlatans puttin themselves forward as experts. I remember one person coming for an interview as an excel "expert" asked the question what "formula would you use to give the total of th numbers in the cells A1 to A10". No answer was given to this or my othe two "make them feel confortable" questions. I despair. Think you hit one of my nerves with this thread - better stop before rant -- tony ----------------------------------------------------------------------- tony h's Profile: http://www.excelforum.com/member.php...fo&userid=2107 View this thread: http://www.excelforum.com/showthread.php?threadid=49073 |
This newsgroup is sometimes frightening
Also, I'm always surprised that spreadsheets are often hardly tested. Most
financial companies have very strict rules for testing professionally developed systems, but don't pay any attention to the correctness of spreadsheets. Surely that can't be true :-) http://www.eusprig.org/stories.htm Regards, Peter T |
This newsgroup is sometimes frightening
I would have to disagree. I am one of these so called novices that use
VBA at my company. VBA should be encouraged. It has saved me and my company countless hours. Sure I make errors in programming but I am sure we all on occasion make errors on something we are working on. This can not be avoided, we are humans. The benefits of using VBA overwhelming outweigh not using it. I encourage all Excel users to pick up as much VBA as possible. tony h wrote: It is a trade off. There is no substantially risk-free way of providing software but VBA is about as risky as it gets. Pointing out the risks of this to one FD his view was that spreadsheets have only a shortlife after the person who created them has left. When they did the next person would re-write them. The safty was in that the author was actually operationally responsible for the numbers created (as opposed to a programmer who wasn't) and this ensured "reasonable reliability". But personally I find that the degrading of the high-standards is a real conceptual problem. Particularly when trying to evidence the good-quality of work my work against some of the charlatans putting themselves forward as experts. I remember one person coming for an interview as an excel "expert" I asked the question what "formula would you use to give the total of the numbers in the cells A1 to A10". No answer was given to this or my other two "make them feel confortable" questions. I despair. Think you hit one of my nerves with this thread - better stop before I rant! -- tony h ------------------------------------------------------------------------ tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074 View this thread: http://www.excelforum.com/showthread...hreadid=490731 |
This newsgroup is sometimes frightening
Yes, in the company I used to work for I've seen very encouraging examples.
But I insist on proper testing as stated in my previous post. And that does not just mean apply the spreadsheet to a large number of cases; it means testing all decision points, just as in professional testing of IT-built systems. IT departments should make their testing skills available to other developers, instead of just trying to fight them. -- Kind regards, Niek Otten "snax500" wrote in message oups.com... I would have to disagree. I am one of these so called novices that use VBA at my company. VBA should be encouraged. It has saved me and my company countless hours. Sure I make errors in programming but I am sure we all on occasion make errors on something we are working on. This can not be avoided, we are humans. The benefits of using VBA overwhelming outweigh not using it. I encourage all Excel users to pick up as much VBA as possible. tony h wrote: It is a trade off. There is no substantially risk-free way of providing software but VBA is about as risky as it gets. Pointing out the risks of this to one FD his view was that spreadsheets have only a shortlife after the person who created them has left. When they did the next person would re-write them. The safty was in that the author was actually operationally responsible for the numbers created (as opposed to a programmer who wasn't) and this ensured "reasonable reliability". But personally I find that the degrading of the high-standards is a real conceptual problem. Particularly when trying to evidence the good-quality of work my work against some of the charlatans putting themselves forward as experts. I remember one person coming for an interview as an excel "expert" I asked the question what "formula would you use to give the total of the numbers in the cells A1 to A10". No answer was given to this or my other two "make them feel confortable" questions. I despair. Think you hit one of my nerves with this thread - better stop before I rant! -- tony h ------------------------------------------------------------------------ tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074 View this thread: http://www.excelforum.com/showthread...hreadid=490731 |
This newsgroup is sometimes frightening
Peter T wrote: Also, I'm always surprised that spreadsheets are often hardly tested. Most financial companies have very strict rules for testing professionally developed systems, but don't pay any attention to the correctness of spreadsheets. Surely that can't be true :-) http://www.eusprig.org/stories.htm Regards, Peter T Fascinating stuff! I've always known that this sort of thing must be happening all over the place. Good to see it documented. Let's face it, for most businesses, QA/QC is not even a consideration. |
This newsgroup is sometimes frightening
The point about an organization taking the responsiblity to make sure their
people are well versed at the position they were hired for is all to common. Mentoring is the answer. This just doesn't get done. At least not in the industry I work in. I was given ownership of two Excel files with extensive VBA and both files have some major issues. With only one semester of introductory VB 6 under my belt, I know enough to be dangerous, not effective. I can't even get our onsite EDS people to provide support on this one. They want to rework these into applications that they create from $cratch. Enough for now. . . Hal "Nigel" wrote: <snip Until companies take responsibility for good training and IS support, both often sadly lacking in my experience, the problems will persist but not because of this newsgroup! -- Cheers Nigel "John Coleman" wrote in message oups.com... Greetings, I was wondering if any one else is sometimes struck by the same thing: Several times a week someone posts some flat-out bad code and/or asks exceedingly basic questions. I have no problem with this. You have to learn sometimes and asking questions is a good way to do so. What is frightening is that you can sometimes infer that the code in question is *important* to a company, and that potentially a lot of money is riding on getting it right. I wonder how many companies have been burned by buggy Excel programs written by people with little or no programming background. In a sense VBA is too easy to write. With the macro recorder and a bit of trial and error you can cobble together something that seems to work (most of the time) without understanding why it works or being able to anticipate when it might fail. No company would dream of trusting C code written by a beginner, but many apparantly trust equally unreliable VBA code. Just a random thought. -John Coleman |
This newsgroup is sometimes frightening
Peter T wrote: Also, I'm always surprised that spreadsheets are often hardly tested. Most financial companies have very strict rules for testing professionally developed systems, but don't pay any attention to the correctness of spreadsheets. Surely that can't be true :-) http://www.eusprig.org/stories.htm Regards, Peter T Very interesting link, but traditional programmers shouldn't gloat. None of the cases resulted in death, unlike the notorious case of the therac-25 radiation therapy machine in the 80s or the patriot missle in the Gulf War. -John Coleman |
This newsgroup is sometimes frightening
John Coleman wrote: Peter T wrote: Also, I'm always surprised that spreadsheets are often hardly tested. Most financial companies have very strict rules for testing professionally developed systems, but don't pay any attention to the correctness of spreadsheets. Surely that can't be true :-) http://www.eusprig.org/stories.htm Regards, Peter T Very interesting link, but traditional programmers shouldn't gloat. Neat! I don't consider myself a "traditional programmer", so I guess I can still gloat! BTW, what is a "traditional programmer"? None of the cases resulted in death, unlike the notorious case of the therac-25 radiation therapy machine in the 80s or the patriot missle in the Gulf War. -John Coleman |
This newsgroup is sometimes frightening
davegb wrote: Neat! I don't consider myself a "traditional programmer", so I guess I can still gloat! BTW, what is a "traditional programmer"? A figment of my imagination? I guess I meant programmers of traditional compiled languages like Fortran, C, C++, etc. |
This newsgroup is sometimes frightening
John Coleman wrote: davegb wrote: Neat! I don't consider myself a "traditional programmer", so I guess I can still gloat! BTW, what is a "traditional programmer"? A figment of my imagination? I guess I meant programmers of traditional compiled languages like Fortran, C, C++, etc. I don't think I ever did enough programming to be considered "traditional", so I'll still gloat. :) |
This newsgroup is sometimes frightening
"davegb" wrote in message oups.com... John Coleman wrote: davegb wrote: Neat! I don't consider myself a "traditional programmer", so I guess I can still gloat! BTW, what is a "traditional programmer"? A figment of my imagination? I guess I meant programmers of traditional compiled languages like Fortran, C, C++, etc. I don't think I ever did enough programming to be considered "traditional", so I'll still gloat. :) Not sure gloat is quite appropriate, and most certainly not towards the examples John quoted earlier or other serious system errors I could also cite. However a certain schadenfreude might be permitted on reading some of the stories on that page, even beneficially if that helps prevent more of the same. The wry smile that preceded the link I posted was prompted by - Robert Brust, Kodak's chief financial officer, called it "an internal control deficiency that constitutes a material weakness that impacted the accounting for restructurings." I can only wonder if he's been promoted to head of the Spin dept. Regards, Peter T |
All times are GMT +1. The time now is 10:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com