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

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

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

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

Damian Conway

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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







B.16. Chapter 17, Modules


  • Design the module's interface first. [Interfaces ]

  • Place original code inline. Place duplicated code in a subroutine. Place duplicated subroutines in a module. [Refactoring ]

  • Use three-part version numbers. [Version Numbers ]

  • Enforce your version requirements programmatically. [Version Requirements ]

  • Export judiciously and, where possible, only by request. [Exporting ]

  • Consider exporting declaratively. [Declarative Exporting ]

  • Never make variables part of a module's interface. [Interface Variables ]

  • Build new module frameworks automatically. [Creating Modules ]

  • Use core modules wherever possible. [The Standard Library ]

  • Use CPAN modules where feasible. [CPAN ]



/ 317