Object-Oriented Computation in C++ and Java
Home > Computing and Information Technology > Computer programming / software engineering > Object-oriented programming (OOP) > Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing
Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing

Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

This is the digital version of the printed book (Copyright 2007). Virtually all business, scientific, and engineering applications are heavily reliant on numeric data items. C++ and Java offer object-oriented programmers unique flexibility and control over the computations required within such applications. However, most books on object-oriented programming gloss over such numeric data items, emphasizing instead one-dimensional containers or collections and components of the graphical user interface. Object-Oriented Computation in C++ and Java fills the gap left by such books. Drawing on more than twenty years' experience as a software developer, tester, consultant, and professor, Conrad Weisert shows readers how to use numeric objects effectively. Not limited to any language or methodology, the concepts and techniques discussed in this book are entirely independent of one's choice of design and coding methodology. Practitioners of Extreme Programming, UML-driven design, agile methods, incremental development, and so on will all develop these same data classes. Whether you are a seasoned professional or an advanced computer science student, this book can teach you techniques that will improve the quality of your programming and the efficiency of your applications. The exercises (and answers) presented in this book with teach you new ways to implement the computational power of C++, Java, and numeric data items. Topics include taxonomy of data types developing and using object-oriented classes for numeric data design patterns for commonly occurring numeric data types families of interacting numeric data types choosing efficient and flexible internal data representations techniques for exploiting pattern reuse in C++ conventions for arithmetic operations in Java numeric vectors and matrices  

Table of Contents:
&> Preface Introduction   3 Chapter 1: Numeric Objects in Context   7 1.1 Data and objects   7 1.2 Application-domain data   8 1.3 Non-application-domain data   9 1.4 Four basic types of elementary data   10 1.5 Avoiding false composites   12 1.6 Numeric data representation   12 Chapter 2: Review of C++ and Java Facilities and Techniques for Defining Classes   21 2.1 Our emphasis   21 2.2 The basic goal–a major difference between C++ and Java   22 2.3 Constructors and destructor   24 2.4 Operator overloading in C++   31 2.5 Operator overloading in Java   37 2.6 Flow-control constructs   38 2.7 Manipulating character strings in C++   41 2.8  Canonical class structure   43 2.9  Overcoming macrophobia   44 2.10  Program readability   48 2.11 Error detection and exceptions   53 Chapter 3: Defining a Pure Numeric Data Type   55 3.1 What does "pure numeric" mean?   55 3.2  Example: Designing a Complex number class   55 3.3  Packaging and using the Complex class   65 3.4  Some other pure numeric classes   67 3.5 Java equivalents   70 Chapter 4: Defining a Numeric Type Having an Additive 4.1 Unit of measure in modeling real-world data   73 4.2 A business application example: Money class   75 4.3 Noting the additive pattern   83 4.4 Supporting an external Money representation   88 4.5 More additive classes   93 4.6 Additive classes in Java   96 Chapter 5: The Point-Extent Pattern for Pairs of Numeric Types   100 5.1 Non-additive numeric types   100 5.2 Another companion class: Calendarlnfo   106 5.3 Back to Date and Days   109 5.4 Other Point-Extent pairs   119 5.5 Date and Days classes in Java   121 5.6 Other point-extent classes in Java   124 Chapter 6: Families of Interacting Numeric Types   125 6.1 Beyond the patterns   125 6.2 Example: Electrical circuit quantities   126 6.3 Greater interaction: Newton's laws in a straight line .... 134 6.4 Extending Newtonian classes to three-dimensional space   140 6.5 Other families of interacting types   145 6.6 Summary   146 6.7 Java versions      146 Chapter 7: Role of Inheritance and Polymorphism with Numeric Types   148 7.1 Review of example classes   148 7.2 Representation is not specialization   149 7.3 Usage is not specialization   150 7.4 A numeric specialization example   151 7.5 Obstacles to polymorphic functions   153 7.6 Turning off Java polymorphism   154 7.7 Why bother with OOP?   154 Chapter 8: Programming with Numeric Vectors and Matrices   156 8.1 Introduction   156 8.2 Existing facilities   156 8.3 A C++ base class for all arrays   160 8.4 Some specialized vector classes   164 8.5 Operations on numeric arrays   166 8.6  A basic Matrix class   171 8.7 Some specialized Matrix classes   174 8.8 What about Java?   177 Appendix: Answers to Selected Exercises   179 Index   191  


Best Sellers


Product Details
  • ISBN-13: 9780133489248
  • Binding: Digital download
  • No of Pages: 209
  • Weight: 1 gr
  • ISBN-10: 0133489248
  • Language: English
  • Sub Title: A Practical Guide to Design Patterns for Object-Oriented Computing


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing
-
Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!