04-15-2011 11:45 AM - edited 04-15-2011 11:46 AM
@Ben wrote:
@altenbach wrote:
....
No program is completely error free! A program 😮 without bugs does not exist, it's a myth!
See myth below
Ben
I believe 'World' should be capitalized.
04-15-2011 11:49 AM
Certainly the example provided is worthy of criticism! I once looked up where they get those example solutions and to my surprise and amazement found that there is good evidence that they are sourced from real submissions to retired exams.
In some ways this makes sense-
The CLD logo doesn't mean we are perfect! (we'll not me anyhow) but does demonstrate some familiarity and skill.
That said: Stupid design choice- the author got lucky that choice didn't bite him.
04-15-2011 11:51 AM
@Darin.K wrote:
@Ben wrote:
@altenbach wrote:
....
No program is completely error free! A program 😮 without bugs does not exist, it's a myth!
See myth below
Ben
I believe 'World' should be capitalized.
Oh bother!
Do you know how long it took me to spell that right?
I'll attempt an elegant recovery by saying, "I was working from a different spec."
Ben
04-15-2011 11:53 AM
@Ben wrote:
@altenbach wrote:
....
No program is completely error free! A program 😮 without bugs does not exist, it's a myth!
See myth below
Ben
-10 pt for style
Meaningful:
Icon?
VI Name?
Control/ Indicator Label?
VI Documentation?
Tsk Tsk Ben
04-15-2011 12:04 PM
04-15-2011 12:16 PM
Unscrupulous electricians are trained to make the wiring in the main panel very neat and tidy. Why would they spend so much time and effort doing this? When the inspector comes and sees the clean wiring he is much less inclined to climb into the attic and check for overloading of a junction box. Somehow people start to equate neatness with correctness.
It seems at least 75% of the CLD grading is based on neatness and style. Haven't seen the code, but as long as the wires heading into the abomination of a subVI are straight, everything should be ok, right?
I'd fail this test seven times a week and twice on Sunday, but at least I believe the code would work....
04-15-2011 12:30 PM
Well I was never trained but I do make the Service Entrance as neat as possible just so I can figure it out latter.
Neatness = Correctness
Sea story time
When studying for my E-phys degree I had EE labs that required notebooks that where graded. After realizing we made a mistake my lab partner and I realized the Grad student was not actually checking our work. So being scientists at heart (he was E-Phys as well), we made an entry in the next weeks log saying ".and in summary we believe that nobody actually reads what we write in this log book." It came back to us unnoticed.
Set Sea story off.
As humans we loose interest in perfection quickly. When walking down the sidewalk our eyes are drawn to the cracks and not the regularly placed expansion joints.
The Monna Lisa by Leonardo has a twisted smile being both a smile and a frown.
So one of the suggestions I pass on to my rookies when they are delivering code for review and acceptance by the customer is "Include an obvious but easy to fix flaw." Cutomers always assume there is SOMETHING wrong and they will keep looking until they find them. So don't make them work to hard and make it easy to find the flaw.
Ben
04-15-2011 01:11 PM
@Ben wrote:
@altenbach wrote:
....
No program is completely error free! A program 😮 without bugs does not exist, it's a myth!
See myth below
This is not LabVIEW code, just an image. Maybe you made the entire thing in photoshop, pixel-by-pixel.
Assuming it is a LabVIEW program, we still cannot tell much:
04-15-2011 03:36 PM
@Ben wrote:
@altenbach wrote:
....
No program is completely error free! A program 😮 without bugs does not exist, it's a myth!
See myth below
Ben
Will that open in LabVIEW version 4.0? If not it is a bug!
04-16-2011 11:34 AM
If I had to take the CLD exam again, I would not want any of you people to be grading it.