Perl Best Practices [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Perl Best Practices [Electronic resources] - نسخه متنی

Damian Conway

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







B.6. Chapter 7, Documentation


  • Distinguish user documentation from technical documentation. [Types of Documentation ]

  • Create standard POD templates for modules and applications. [Boilerplates ]

  • Extend and customize your standard POD templates. [Extended Boilerplates ]

  • Put user documentation in source files. [Location ]

  • Keep all user documentation in a single place within your source file. [Contiguity ]

  • Place POD as close as possible to the end of the file. [Position ]

  • Subdivide your technical documentation appropriately. [Technical Documentation ]

  • Use block templates for major comments. [Comments ]

  • Use full-line comments to explain the algorithm. [Algorithmic Documentation ]

  • Use end-of-line comments to point out subtleties and oddities. [Elucidating Documentation ]

  • Comment anything that has puzzled or tricked you. [Defensive Documentation ]

  • Consider whether it's better to rewrite than to comment. [Indicative Documentation ]

  • Use "invisible" POD sections for longer technical discussions. [Discursive Documentation ]

  • Check the spelling, syntax, and sanity of your documentation. [Proofreading ]



/ 317