Results 1 to 19 of 19

Thread: 'Fool-proof' a software

  1. #1

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Arrow 'Fool-proof' a software

    Could you share some tips on how to fool-proof' an application?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: 'Fool-proof' a software

    Don't let fools use it?


    Actually, you have to think 'like a fool' and test every possible condition that could arise. Assume that they'll enter numbers in string data, and characters in a text field. Assume that they will leave textboxes empty and then hit the calculate button. I think I have finished my app, and my partner can't find anything wrong with it, so we'll be letting others test it for a while.

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: 'Fool-proof' a software

    Additionally, do the illogical and unexpected. You cant expect them to know the order of data entry or data types acceptable. You will never make it 100% error free but its getting the highest acceptable percentage thats the goal.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4
    Lively Member
    Join Date
    Feb 2005
    Location
    California
    Posts
    97

    Re: 'Fool-proof' a software

    I don't think there is any way to fool proof an application. If you can figure it out let me know!

    But like Rob and dglienna said do a lot of wacky things to your app and try and make it crash so you know what to expect.

    What I usually do after hours of debugging is go through a beta test where I have friends or collegues try and make it crash, have a central error log to let me know what is going on fix the errors and ship the product. Though even after I give the project to a client I'll always have an error log generating.

  5. #5
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: 'Fool-proof' a software

    My favorate say is

    "You can't idiot proof an applciation because someone will always make a better idiot."

    you can change idiot to fool if you would like.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  6. #6
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: 'Fool-proof' a software

    Give away your software for free and correct all the bugs reported back. Over a period of time it will be 'fool proof'
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: 'Fool-proof' a software

    After a decent amount of testing myself, I always used to grab whoever was walking past (nobody who knew about the project), and ask them to use my program without any instruction from me; and if possible, get them to tell me what the program was doing.

    Using that method I quite often found minor changes (such as label captions) that really clarified things for the users.

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: 'Fool-proof' a software

    Quote Originally Posted by dglienna
    Don't let fools use it?
    This is the best advice, but if we all followed it we would all be out of jobs.

    Following what GaryMazzone said, I was always told that: "You can make an application fool-proof, but you can't make it idiot proof."

    One of the bigger issues with applications, especially during their initial rollouts is "flow". If you (and your should) error trap all of your routines, code your app to the specs provided, you will wind up with what you feel is just a wonderful piece of coding craftsmanship.

    Then, you show it to your customers and "nothing works" as far as they are concerned. Meaning, it doesn't make sense to them. Your customers are business people and have a way of doing things from Point A/Start to Point X/Finish and if your program and screens don't follow that "Flow", your customers are going to be completely confused with respect to using the tool you have built for them.

    We make a point of getting them, and keeping them, in the whole process development picture and that does help.

  9. #9
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: 'Fool-proof' a software

    Be imaginative, look at your program and try to think of inventive ways to break it. A user is supposed to hit a button after filling in a textbox, but what if he hits it 1000 times, what if he decides to delete all of the config files half way through using the program? What if your user loads up 500 images in MS word and your app runs out of ram?

    Failing that just give it to a user and they'll break it instantly.
    I don't live here any more.

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: 'Fool-proof' a software

    Quote Originally Posted by wossname
    Failing that just give it to a user and they'll break it instantly.
    If they are anything like my customers, they will be much quicker than instantly.

  11. #11
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: 'Fool-proof' a software

    An actual comment from one of customers was:

    "Well you did exactly what I told you but that is not what we want. We realy want this." Also known as the Bring me a rock method. When you bring the rock it's not quite the rock they are looking for and they tell you to bring them another rock until it's the rock they want.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  12. #12
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: 'Fool-proof' a software

    Quote Originally Posted by GaryMazzone
    "Well you did exactly what I told you but that is not what we want.
    If I had one pitiful little dollar for everytime I've heard this, I could retire.

  13. #13
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: 'Fool-proof' a software

    I once went from one project just like that (even tho I kept them involved all the way thru), to one where they pratically wrote the program spec for me.

    The second was still being hailed as 'perfect' six months later (only had a couple of minor bugs), while the first was still requiring minor alterations to fit with what they wanted (multiple bugs added by the alterations!).


    The moral of this story is to get the best program definition you can from the users before you start, and keep them close by while you make any decisions that effect their view of the system.

  14. #14
    Hyperactive Member capsulecorpjx's Avatar
    Join Date
    May 2005
    Location
    Renton, WA
    Posts
    288

    Re: 'Fool-proof' a software

    Quote Originally Posted by dee-u
    Could you share some tips on how to fool-proof' an application?
    Constrict their input. For Visual Basic, you can use Regular Expressions, so you know exactly the range of input you are getting.
    "I like to run on treadmills, because at least I know I'm getting nowhere."
    - Me

  15. #15
    Frenzied Member DKenny's Avatar
    Join Date
    Sep 2005
    Location
    on the good ship oblivion..
    Posts
    1,171

    Re: 'Fool-proof' a software

    Quote Originally Posted by GaryMazzone
    "Well you did exactly what I told you but that is not what we want. We realy want this."
    I this sums it up nicely.
    Declan

    Don't forget to mark your Thread as resolved.
    Take a moment to rate posts that you think are helpful

  16. #16
    Hyperactive Member eranfox's Avatar
    Join Date
    May 2001
    Posts
    492

    Re: 'Fool-proof' a software

    Hello dee-u,
    I can tell you what a Q.A. Manager told me once:
    He said:"Everytime we need to make Q.A. on a big project i bring my KIDS to play with the computers.

    they know how to make things to crash.

    So if you have small kids or have a little nephew or something like that,
    take him/her to test your app - the ultimate Q.A. is in the hands of small children.

    Best Regards,
    ERAN
    Eran Fox
    ASSEMBLER,C,C++,VB6,SQL...

  17. #17

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: 'Fool-proof' a software

    Quote Originally Posted by DKenny
    I this sums it up nicely.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  18. #18
    Addicted Member
    Join Date
    Aug 2002
    Location
    Belgium
    Posts
    167

    Re: 'Fool-proof' a software

    I think the other problem is: different computer configurations....
    On my program: 5 a 7 people from the 100 users where having problems.....
    and i had no clue on how to fix it
    So my sollution was easy: I gave them a refund.

    Problem 2: in most cases it is experience (thats what I think)

    Note: this was my first program that was designd for selling.

  19. #19
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: 'Fool-proof' a software

    Quote Originally Posted by DKenny
    I this sums it up nicely.
    I was just thinking of posting this image.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width