Bob On Development

Musings on the craft and business of software development









July 16, 2007

Stop it! Stop Writing Unhelpful Help!

Filed under: — bob @ 1:58 pm

Is it just me, or is help becoming even more unhelpful than it has historically been?

Today I was creating a DataTable by defining DataColumn objects and wanted to prevent null values from going into a particular column. Presumably to do this, you would set the AllowDBNull property of the column to false. But to my memory at least, I’d never used this feature before (I lean more towards DataReaders personally — lighter weight and more performant for most of what I need to do, and people often seem a little DataTable happy to me … but I digress).

So … I wondered whether this prevents a row from being added to a DataTable’s Rows collection if it’s DBNull, or if it’s just “as info”, or something in between. No problem, let’s just look it up in help, right? Not! Here is what the docs say:

Gets or sets a value that indicates whether null values are allowed in this column for rows that belong to the table.

Um … yeah, I kind of figured that. No, wait! There’s more down under the syntax description! Surely that’s it!

Property Value

true if null values are allowed; otherwise, false. The default is true.

Er … gee, I would have never guessed.

The only useful info here is the default, which is not exactly a Big Surprise.

I don’t think this particular logic is in the Rotor source, as it’s part of ADO.NET, so I guess I’ll just write some tests to figure it out for myself, or just wing it. But for cryin’ out loud … this isn’t any better than saying the Text property of a TextBox contains the TextBox’s text, which can consist of any string value. I mean … what am I, some kind of dimwit?

I heard you in the back row — yes, you! The one that said, “apparently”. Guards! Take him away!

Ahem … now that we have that out of the way … pay no attention to the screams … let’s get down to cases, shall we? All of you in this room write help files, right? And help files are supposed to be … helpful, right? Helpful to whom, hm? To someone actually using the product, right? Right!

Now let me think … what would someone using the product want to know, and at what level?

I think we can safely assume that someone who can’t figure out that a declaration like “bool AllowDBNull” would have the values true or false, and that it tells us whether DBNull is allowed, is probably someone we don’t have to worry much about catering to. There’s no helping them anyway.

On the other hand, maybe … just maybe, mind you … your typical user might want to know at what point non-nullness is enforced, with a simple illustrative example with the most typical use case. That would tell the inquirer if it was designed primarily with the idea that it should work in concert with default values or not, for example. Maybe the likely answer is not that hard to make an educated guess about but maybe the inquirer would like to confirm that the person who designed the feature wasn’t on Quaaludes at the time, and just generally make sure the feature behaves as they expect. It should take 5 minutes to check out the help, which should be at least three times as fast as writing a test program (or a blog rant, for that matter).

That typical user might also want to know exactly what happens if you violate the constraint. Is the assignment ignored? Is an exception thrown? An error condition set someplace? Nuclear missles launched?

And, are there any exceptions to the enforcement of this rule? Any “gotchas”? Common mis-uses or mis-conceptions?

People, people people. People. For the love of all that is holy, don’t write placeholder help topics that you intend to flesh out later. You and I both know that you never will. Something worth doing is worth doing right.

That’s all. Go forth, and sin no more. And take care to step around that mess in the hall.

Oh, wait, there’s one more thing — you, the guy in the suit — you manage the help writers, yes? Come back. Sit down. Let’s chat. You needn’t tremble so!

Let’s be fair to the others who just fled … uh, left the room. I’m willing to bet that at least half the time when a gob of possum-snot like my example help entry on AllowDBNull sees the light of day, it’s because of someone like you (yes, yes, not you specifically, I’m sure, but someone a lot like you).

You see, the help author for that entry may have been trying to find out more about the feature, and they’re not getting any useful information. Your job as a manager is to remove obstacles in the path of your people getting things done. You are making sure that happens, yes? I thought so. Carry on.

What’s that? You’re curious about how AllowDBNull really works? Well here’s a snippet from a bug report to the Mono team that is illuminating:

+Summary: DataColumn.AllowDBNull mis-implementation
+
+DataColumn.AllowDBNull should not throw exeption on “existing” data.
+AllowDBNull (and Readonly) is only schema information, not for immediate
+data validation.
+Data should be valideted when a new value is given.
+
+This also how MS System.Data implementation works.

Despite the broken, mis-spelled English (don’t get me started) this indicates that an exception is thrown when someone attempts to assign DBNull.Value to the column. Probably a DataException, but who knows.

I wonder if the original author of the Mono implementation would have gone down that particular rabbit trail if he didn’t have to guess at how it’s supposed to work? I’ll bet he was working from the same “who cares” help file topic that we saw today.

Now away with you, and see to it that drivel like this cometh not out of thy department!

2 Comments »

  1. This comes because nowadays 99.999% of help is generated not written!

    Comment by Andrew — July 18, 2007 @ 7:09 pm

  2. You know they’re getting lazy when the pop-up help just says “RTFM”…and there’s no manual for the software…

    Comment by Blah — July 23, 2007 @ 3:35 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)


Powered by WordPress

Augmentin Avandamet Rhinocort Elavil Gasex Glucotrol XL Zelnorm Vermox Penis Growth Oil Nymphomax Adalat Prograf Geriforte Medithin Avalide Lariam Viagra Erexor Sarafem Confido Himplasia Arimidex Fosamax ActoPlus Met Mentat Cardizem Hytrin Cafergot Lasuna Mycelex G Hyzaar Buy Pro Erex Buy Lincocin Buy Viramune Buy Micardis Buy Nymphomax Buy Omnicef Buy Effexor Buy Accutane Buy Levothroid Buy Cialis Jelly Buy Femcare Buy Amoxil Buy Aleve Buy Cephalexin Buy Lotrisone Buy Acticin Buy Touch Up Kit Buy Metabo UltraMax Buy Orgasm Enhancer Buy Penis Growth Pack Buy Levlen Buy Styplon Buy Aceon Cheap Loxitane Cheap Differin Cheap Geriforte Cheap Dramamine Cheap Sinequan Cheap Hoodia Cheap Nolvadex Cheap Womens Intimacy Enhancer Cheap Medithin Cheap Female Sexual Tonic Cheap Purinethol Cheap Inderal Cheap Flomax Cheap Orgasm Enhancer Cheap Zimulti Cheap Erexor Cheap Avandamet Cheap Ceftin Cheap Buspar Cheap ZMA Power Cheap Wellbutrin SR Cheap Hoodia Gordonii HG p57 Cheap Singulair Cheap Avandia Cheap Soma Credit reporting system For low credit scores Commercial credit report Understanding credit score Credit report and Florida free credit report Chase credit card status 3 credit reporting agencies Beacon credit score Federal credit reporting act To credit reporting agencies Fix your credit report On line credit card applications Credit card offers Card credit reward travel Credit score formula Credit reports from all Credit free instant report Annual report credit Order credit reports Instant personal credit report Credit beacon score Juniper credit card application Free instant credit reports Airline credit card miles National credit card debt Vue prepaid credit card Credit card debt calculator Chase credit card complaints Is credit score Elan credit card services Balance transfer credit cards Fix my credit score Credit card machines uk Check credit report fix Credit scores of Credit report uk Balance transfers credit cards Average credit score Increasing credit scores Is my credit score Business credit report Redit card pros cons Acceptable credit score Credit card business industrial Credit reports for Fast credit score increase Credit card debt facts On line credit report Free credit reporting Order credit report Chase credit card application Credit reporting act litigation Credit report consumer Clean up credit report Affect your credit score Credit report annual Credit report online Chase redit card Getting a credit score Credit card debt history Credit score after bankruptcy Credit scores meaning Stop credit card offer Ranked credit card offers Mobile credit card processing Linkpoint credit card machine Credit card applications in Credit report disputes Student credit card debt Credit reporting columbia house Credit report service Cheap credit card uk 0 credit card offer Credit report agencies Credit report score understanding Credit cards 0 apr Anual credit report Application aspen card credit Credit score higher Credit card debt management Citibank credit card offers Great credit card offer Free business credit reports Introductory offer credit card Money bank credit card Interpreting credit scores Get credit reports Free credit report Credit card apply online Credit score services Interest credit card offers Credit card debt eliminate Equifax credit reporting Instant credit card offer Credit card consolidation loans Bad credit score Credit card application uk Credit rating score scale Free credit score Experian credit report Credit report.com Article credit card debt Consolidation credit card debt Credit card consolidation uk Stopping credit card offer Read my credit report Obtain a credit report Mint credit card deal Raise my credit score Experian credit report uk Reports credit cards Hurt my credit score Discover credit card offer Good credit rating score Of my credit report Repairing credit score Credit reporting codes Credit reports on Hsbc credit card Credit card application online Repair my credit report Apr credit card offers Credit card debt advice Credit scores by Compare credit card offers Prepaid credit card companies Credit card debt laws Unlimited credit reports Annual credit report request Get my credit report Aarp chase credit card Card consolidation credit debt Credit report companies About credit scores Card credit debt free Transunion credit score Free credit card report Application card citi credit Corporate credit card application Credit scores work Consumer credit reports Credit scores mortgage Freecredit report Credit reporting service Credit card application with Credit scores and Personal credit report canada Credit report identity theft Free anual credit report Improving credit score Credit score uk My annual credit report Landlord credit report Credit score rates With a credit score Credit report government The credit reporting Up credit reports Instant credit reports Fre credit report Visa card bad credit Fair credit reporting act Freecreditreports Credit report repair service Free online credit report To increase credit score Bank one credit card American credit card debt Credit fix repair report Stop credit card debt Instant credit reports uk Low credit scores Colorado free credit report Free transunion credit report Of credit score Company credit report Credit reports with Personal credit score repair Credit scores only Obtain free credit score Cic credit report Eliminate credit card debt Free yearly credit reports The best credit score Credit report canada Wamu secured credit card Uk credit card debt Hsbc rs credit card Check credit report equifax Providian credit card company Secured credit or card Canada credit report Online Femcare Lipitor Muscle Pain Hydrocodone No Prescription Online Furosemide Online Inderal Online Maximum Lipotropics Online Viagra Soft Tabs Online Rythmol SR Levitra Actress Online Avalide Online Lynoral Online Neurontin Online Cardura Online Valtrex Online Fosamax Online Ditropan Online Diamox Online MetaboSafe Online Anafranil Online Viramune Online Advair Diskus Online Pro Erex Online Medrol Online Levaquin Online Echinacea Online Betnovate Online Prevacid Online Male Enhancement Oil Online Vasodilan Online Glucotrol XL Lorazepam Online Cymbalta Online Endep Online Confido Online Keftab Online Depakote Lortab Online Prozac Online Methox 400 Online Anabol AMP Online Tribulus Lipitor Side Affects Online Bentyl Online Dramamine Online Geodon Xanax Addiction Vicodine Online Indocin Online Trimox Online Shoot Carisoprodol 350 Mg Vicodin Hp Online Colostrum 800 Tramadol Cod Zoloft Withdrawal Online Cardizem Online Hangover Helper Online Isoptin Online Nolvadex Online Amaryl Online Penisole Cialis Dosage Phentermine No Prescription Vicodin Lorazepam Overdose Online Liponexol Online Sumycin Online Evecare Online Differin Online Urispas Online Biaxin Online Antabuse Online Ventolin Online Styplon Carisoprodol Soma Online Sustiva Online Prinivil Online Casodex Online Vermox Diazepam Online Cafergot Online Detrol Online Melatonin Zoloft Side Effects Online Trandate Online Reglan Xanax Dosage Lorazepam Addiction Online Avapro Adipex P Didrex Diet Pills Cialis.Com Ultram Online Calcium Carbonate Online Zyloprim Online Desyrel Online Ponstel Viagra Side Effects Xanax Withdrawal Viagra Alternatives Online GABA (HGH Booster) Online Probalan Viagra Dosage Online Orgasm Enhancer Hydrocodone Apap Online Flexisyn Adipex No Prescription Xanax Abuse Viagra Online Tofranil Propecia Generic Phentermine Online Online Mentat Online Zanaflex Online Noxide Online Loxitane Online Lukol Levitra Drug Online Extendaquin Alprazolam No Prescription Online Hyzaar Online Pletal Online Zovirax Online Cialis Soft Tabs Online Relafen Online Quibron T Online Paxil Online Rocaltrol Online Coreg Online Mevacor Carisoprodol Online Maxaquin Online Tenormin Online Remeron Online Evegen Online Claritin Ativan Drug Online QuickBust Diazepam Dosage Tramadol Hcl Online Cystone Online Nymphomax