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

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

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

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

Justin Gehtland; Bruce A. Tate

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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








2.4 Summary


Simplicity is perhaps the core value of Java
development. It makes you more productive, improves the readability
of your code, reduces bugs, and makes it easier to layer core
concepts. It's a concept that does not stand alone.
You must consider the foundation that you're
usingwhether it's a framework, design
pattern, or your own code. You've also got to worry
about your development process, because complex development processes
frequently lead to complex code.

Finally, you've got to embrace the practices of
refactoring and testing to have the freedom that leads to simplicity.
One XP principle is to try the simplest thing that will work. This
adage works well within XP because if you're wrong,
you can refactor. Since you started with a simple solution,
you're not going to lose much. Refactoring, through,
can be dangerous, so you need a safety net. Automated unit tests
provide that safety net.

In the next chapter, I'll introduce the principle
"Do one thing, and do it well."
You'll learn how to focus the goals of each part of
your system. As you'd probably expect,
I'll also spend some time talking about reducing
coupling.


/ 111