Better Faster Lighter Java [Electronic resources] نسخه متنی

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

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

Better Faster Lighter Java [Electronic resources] - نسخه متنی

Justin Gehtland; Bruce A. Tate

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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








Chapter 6. Allow for Extension


Nearly every extreme sports junky has one tool in common.
It's a tool that you can't always
find at an outdoor shop, although it's the first one
you pack for extended river trips or mountain biking journeys. A
close friend has used it as a first aid kit for major cuts and others
have used it to splint broken bones. I've repaired
major gashes in my boat, tightened up my cockpit, and even splinted a
broken paddle. I've heard tales of amazing mountain
bike repairs, from tires to gear systems.

Of course, the magic tool is duct tape. Like any other aspiring
engineer, I stretch duct tape far beyond its intended use. In this
chapter, you'll see some techniques that allow your
applications to stretch in the same way. Enterprising users apply
great code for a variety of purposes, including many the author never
considered. If you want to build simpler software, extensibility can
keep it from being too simplistic. If you don't
allow for extension, you don't have a prayer of
meeting the needs of today's sophisticated and
rapidly changing customers. Give your customers room to be creative
and they'll always surprise you.


/ 111