Tìm tài liệu

Modern C Design Generic Programming and Design Patterns Applied

Modern C Design Generic Programming and Design Patterns Applied

Upload bởi: yeu_nhat_ck

Mã tài liệu: 202042

Số trang: 285

Định dạng: pdf

Dung lượng file:

Chuyên mục: Khoa học công nghệ

Info

From the Inside Flap
You might be holding this book in a bookstore, asking yourself whether you should buy it. Or maybe you are in your employers library, wondering whether you should invest time in reading it. I know you dont have time, so Ill cut to the chase. If you have ever asked yourself how to write higher-level programs in C++, how to cope with the avalanche of irrelevant details that plague even the cleanest design, or how to build reusable components that you dont have to hack into each time you take them to your next application, then this book is for you.
Imagine the following scenario. You come from a design meeting with a couple of printed diagrams, scribbled with your annotations. Okay, the event type passed between these objects is not char anymore; its int. You change one line of code. The smart pointers to Widget are too slow; they should go unchecked. You change one line of code. The object factory needs to support the new Gadget class just added by another department. You change one line of code.
Well, there is something wrong with this scenario, isnt there? A much more likely scenario is this: You come from the meeting in a hurry because you have a pile of work to do. You fire a global search. You perform surgery on code. You add code. You introduce bugs. You remove the bugs . . . thats the way a programmers job is, right? Although this book cannot possibly promise you the first scenario, it is nonetheless a resolute step in that direction. It tries to present C++ as a newly discovered language for software architects.
Traditionally, code is the most detailed and intricate aspect of a software system. Historically, in spite of various levels of language support for design methodologies (such as object orientation), a significant gap persisted between the blueprints of a program and its code because the code must take care of the ultimate details of the implementation and of many ancillary tasks. The intent of the design is, more often than not, dissolved in a sea of quirks.
This book presents a collection of reusable design artifacts, called generic components, together with the techniques that make them possible. These generic components bring their users the well-known benefits of libraries, but in the broader space of system architecture. The coding techniques and the implementations provided focus on tasks and issues that traditionally fall in the area of design, activities usually done before coding. Because of their high level, generic components make it possible to map intricate architectures to code in unusually expressive, terse, and easy-to-maintain ways.
Three elements are reunited here: design patterns, generic programming, and C++. These elements are combined to achieve a very high rate of reuse, both horizontally and vertically. On the horizontal dimension, a small amount of library code implements a combinatorialand essentially open-endednumber of structures and behaviors. On the vertical dimension, the generality of these components makes them applicable to a vast range of programs.
This book owes much to design patterns, powerful solutions to ever-recurring problems in object-oriented development. Design patterns are distilled pieces of good designrecipes for sound, reusable solutions to problems that can be encountered in manycontexts. Design patterns concentrate on providing a suggestive lexicon for designs to be conveyed. They describe the problem, a time-proven solution with its variants, and the consequences of choosing each variant of that solution. Design patterns go above and beyond anything a programming language, no matter how advanced, could possibly express. By following and combining certain design patterns, the components presented in this book tend to address a large category of concrete problems.
Generic programming is a paradigm that focuses on abstracting types to a narrow collection of functional requirements and on implementing algorithms in terms of these requirements. Because algorithms define a strict and narrow interface to the types they operate on, the same algorithm can be used against a wide collection of types. The implementations in this book use generic programming techniques to achieve a minimal commitment to specificity, extraordinary terseness, and efficiency that rivals carefully handcrafted code.
C++ is the only implementation tool used in this book. You will not find in this book code that implements nifty windowing systems, complex networking libraries, or clever logging mechanisms. Instead, you will find the fundamental components that make it easy to implement all of the above, and much more. C++ has the breadth necessary to make this possible. Its underlying C memory model ensures raw performance, its support for polymorphism enables object-oriented techniques, and its templates unleash an incredible code generation machine. Templates pervade all the code in the book because they allow close cooperation between the user and the library. The user of the library literally controls he way code is generated, in ways constrained by the library. The role of a generic component library is to allow user-specified types and behaviors to be combined with generic components in a sound design. Because of the static nature of the technique used, errors in mixing and matching the appropriate pieces are usually caught during compile time.
This books manifest intent is to create generic componentspreimplemented pieces of design whose main characteristics are flexibility, versatility, and ease of use. Generic components do not form a framework. In fact, their approach is complementarywhereas a framework defines interdependent classes to foster a specific object model, generic components are lightweight design artifacts that are independent of each other, yet can be mixed and matched freely. They can be of great help in implementing frameworks.
Product Details
* Paperback: 352 pages
* Publisher: Addison-Wesley Professional (February 23, 2001)
* Language: English
* ISBN-10: 0201704315
* ISBN-13: 978-0201704310
* Product Dimensions: 9.1 x 7.4 x 0.8 inches

Phần bên dưới chỉ hiển thị một số trang ngẫu nhiên trong tài liệu. Bạn tải về để xem được bản đầy đủ

  • Modern C Design Generic Programming and Design Patterns Applied
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Đang tải dữ liệu ...
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied
  • Modern C Design Generic Programming and Design Patterns Applied

GỢI Ý

Những tài liệu gần giống với tài liệu bạn đang xem

C 3 0 Design Patterns Jan 2008

Upload: nguyenvanhai

📎 Số trang: 316
👁 Lượt xem: 529
Lượt tải: 16

Data Structures and Algorithms with Object ...

Upload: lngco_phg

📎
👁 Lượt xem: 349
Lượt tải: 16

Circuit Design For Modern Wireless Systems ...

Upload: tiendung1029

📎 Số trang: 588
👁 Lượt xem: 334
Lượt tải: 16

Restaurant Design

Upload: thanhlh123

📎 Số trang: 316
👁 Lượt xem: 400
Lượt tải: 17

Identity by Design

Upload: ttk0179

📎 Số trang: 298
👁 Lượt xem: 323
Lượt tải: 16

Lighting by Design

Upload: duychinh44kd

📎 Số trang: 235
👁 Lượt xem: 430
Lượt tải: 17

Design First Design based Planning for ...

Upload: khungtroiuocmo85

📎 Số trang: 289
👁 Lượt xem: 295
Lượt tải: 16

Design of Wood Structures

Upload: cobengocngechnhat

📎 Số trang: 1096
👁 Lượt xem: 470
Lượt tải: 19

Architectural Design Portable Handbook

Upload: thacvinhdtbk

📎 Số trang: 625
👁 Lượt xem: 345
Lượt tải: 16

Design and Equipment for Restaurants and ...

Upload: quansubin

📎 Số trang: 622
👁 Lượt xem: 242
Lượt tải: 16

Masonry Design and Detailing

Upload: nvkhanhst

📎 Số trang: 584
👁 Lượt xem: 380
Lượt tải: 16

3G Handset and Network Design

Upload: songnuocmiendong

📎 Số trang: 561
👁 Lượt xem: 340
Lượt tải: 16

QUAN TÂM

Những tài liệu bạn đã xem

Modern C Design Generic Programming and ...

Upload: yeu_nhat_ck

📎 Số trang: 285
👁 Lượt xem: 324
Lượt tải: 16

CHUYÊN MỤC

Tài liệu tiếng nước ngoài Khoa học công nghệ
Modern C Design Generic Programming and Design Patterns Applied From the Inside Flap You might be holding this book in a bookstore, asking yourself whether you should buy it. Or maybe you are in your employers library, wondering whether you should invest time in reading it. I know you dont have time, so Ill cut pdf Đăng bởi
5 stars - 202042 reviews
Thông tin tài liệu 285 trang Đăng bởi: yeu_nhat_ck - 12/10/2024 Ngôn ngữ: Việt nam, English
5 stars - "Tài liệu tốt" by , Written on 12/10/2024 Tôi thấy tài liệu này rất chất lượng, đã giúp ích cho tôi rất nhiều. Chia sẻ thông tin với tôi nếu bạn quan tâm đến tài liệu: Modern C Design Generic Programming and Design Patterns Applied