Effective C++: 55 Specific Ways to Improve Your Programs and Designs


Scott Meyers - 1991
    But the state-of-the-art has moved forward dramatically since Meyers last updated this book in 1997. (For instance, there s now STL. Design patterns. Even new functionality being added through TR1 and Boost.) So Meyers has done a top-to-bottom rewrite, identifying the 55 most valuable techniques you need now to be exceptionally effective with C++. Over half of this edition s content is new. Templates broadly impact C++ development, and you ll find them everywhere. There s extensive coverage of multithreaded systems. There s an entirely new chapter on resource management. You ll find substantial new coverage of exceptions. Much is gained, but nothing s lost: You ll find the same depth of practical insight that first made Effective C++ a classic all those years ago. Bill Camarda, from the July 2005 href="http://www.barnesandnoble.com/newslet... Only

Applied Cryptography: Protocols, Algorithms, and Source Code in C


Bruce Schneier - 1993
    … The book the National Security Agency wanted never to be published." –Wired Magazine "…monumental… fascinating… comprehensive… the definitive work on cryptography for computer programmers…" –Dr. Dobb's Journal"…easily ranks as one of the most authoritative in its field." —PC Magazine"…the bible of code hackers." –The Millennium Whole Earth CatalogThis new edition of the cryptography classic provides you with a comprehensive survey of modern cryptography. The book details how programmers and electronic communications professionals can use cryptography—the technique of enciphering and deciphering messages-to maintain the privacy of computer data. It describes dozens of cryptography algorithms, gives practical advice on how to implement them into cryptographic software, and shows how they can be used to solve security problems. Covering the latest developments in practical cryptographic techniques, this new edition shows programmers who design computer applications, networks, and storage systems how they can build security into their software and systems. What's new in the Second Edition? * New information on the Clipper Chip, including ways to defeat the key escrow mechanism * New encryption algorithms, including algorithms from the former Soviet Union and South Africa, and the RC4 stream cipher * The latest protocols for digital signatures, authentication, secure elections, digital cash, and more * More detailed information on key management and cryptographic implementations

The Sense of Beauty


George Santayana - 1896
    It is not a dry metaphysical treatise, as works on aesthetics so often are, but is itself a fascinating document: as much a revelation of the beauty of language as of the concept of beauty.This unabridged reproduction of the 1896 edition of lectures delivered at Harvard College is a study of "why, when, and how beauty appears, what conditions an object must fulfill to be beautiful, what elements of our nature make us sensible of beauty, and what the relation is between the constitution of the object and the excitement of our susceptibility."Santayana first analyzes the nature of beauty, finding it irrational, "pleasure regarded as the quality of a thing." He then proceeds to the materials of beauty, showing what all human functions can contribute: love, social instincts, senses, etc. Beauty of form is then analyzed, and finally the author discusses the expression of beauty. Literature, religion, values, evil, wit, humor, and the possibility of finite perfection are all examined. Presentation throughout the work is concrete and easy to follow, with examples drawn from art, history, anthropology, psychology, and similar areas.

xUnit Test Patterns: Refactoring Test Code


Gerard Meszaros - 2003
    An effective testing strategy will deliver new functionality more aggressively, accelerate user feedback, and improve quality. However, for many developers, creating effective automated tests is a unique and unfamiliar challenge. xUnit Test Patterns is the definitive guide to writing automated tests using xUnit, the most popular unit testing framework in use today. Agile coach and test automation expert Gerard Meszaros describes 68 proven patterns for making tests easier to write, understand, and maintain. He then shows you how to make them more robust and repeatable--and far more cost-effective. Loaded with information, this book feels like three books in one. The first part is a detailed tutorial on test automation that covers everything from test strategy to in-depth test coding. The second part, a catalog of 18 frequently encountered "test smells," provides trouble-shooting guidelines to help you determine the root cause of problems and the most applicable patterns. The third part contains detailed descriptions of each pattern, including refactoring instructions illustrated by extensive code samples in multiple programming languages. Topics covered includeWriting better tests--and writing them faster The four phases of automated tests: fixture setup, exercising the system under test, result verification, and fixture teardown Improving test coverage by isolating software from its environment using Test Stubs and Mock Objects Designing software for greater testability Using test "smells" (including code smells, behavior smells, and project smells) to spot problems and know when and how to eliminate them Refactoring tests for greater simplicity, robustness, and execution speed This book will benefit developers, managers, and testers working with any agile or conventional development process, whether doing test-driven development or writing the tests last. While the patterns and smells are especially applicable to all members of the xUnit family, they also apply to next-generation behavior-driven development frameworks such as RSpec and JBehave and to other kinds of test automation tools, including recorded test tools and data-driven test tools such as Fit and FitNesse.Visual Summary of the Pattern Language Foreword Preface Acknowledgments Introduction Refactoring a Test PART I: The Narratives Chapter 1 A Brief Tour Chapter 2 Test Smells Chapter 3 Goals of Test Automation Chapter 4 Philosophy of Test Automation Chapter 5 Principles of Test Automation Chapter 6 Test Automation Strategy Chapter 7 xUnit Basics Chapter 8 Transient Fixture Management Chapter 9 Persistent Fixture Management Chapter 10 Result Verification Chapter 11 Using Test Doubles Chapter 12 Organizing Our Tests Chapter 13 Testing with Databases Chapter 14 A Roadmap to Effective Test Automation PART II: The Test Smells Chapter 15 Code Smells Chapter 16 Behavior Smells Chapter 17 Project Smells PART III: The Patterns Chapter 18 Test Strategy Patterns Chapter 19 xUnit Basics Patterns Chapter 20 Fixture Setup Patterns Chapter 21 Result Verification Patterns Chapter 22 Fixture Teardown Patterns Chapter 23 Test Double Patterns Chapter 24 Test Organization Patterns Chapter 25 Database Patterns Chapter 26 Design-for-Testability Patterns Chapter 27 Value Patterns PART IV: Appendixes Appendix A Test Refactorings Appendix B xUnit Terminology Appendix C xUnit Family Members Appendix D Tools Appendix E Goals and Principles Appendix F Smells, Aliases, and Causes Appendix G Patterns, Aliases, and Variations Glossary References Index "

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development


Craig Larman - 2000
    Building on two widely acclaimed previous editions, Craig Larman has updated this book to fully reflect the new UML 2 standard, to help you master the art of object design, and to promote high-impact, iterative, and skillful agile modeling practices.Developers and students will learn object-oriented analysis and design (OOA/D) through three iterations of two cohesive, start-to-finish case studies. These case studies incrementally introduce key skills, essential OO principles and patterns, UML notation, and best practices. You won’t just learn UML diagrams - you’ll learn how to apply UML in the context of OO software development.Drawing on his unsurpassed experience as a mentor and consultant, Larman helps you understand evolutionary requirements and use cases, domain object modeling, responsibility-driven design, essential OO design, layered architectures, “Gang of Four” design patterns, GRASP, iterative methods, an agile approach to the Unified Process (UP), and much more. This edition’s extensive improvements include:- A stronger focus on helping you master OOA/D through case studies that demonstrate key OO principles and patterns, while also applying the UML- New coverage of UML 2, Agile Modeling, Test-Driven Development, and refactoring- Many new tips on combining iterative and evolutionary development with OOA/D- Updates for easier study, including new learning aids and graphics- New college educator teaching resources- Guidance on applying the UP in a light, agile spirit, complementary with other iterative methods such as XP and Scrum- Techniques for applying the UML to documenting architectures- A new chapter on evolutionary requirements, and much moreApplying UML and Patterns, Third Edition, is a lucid and practical introduction to thinking and designing with objects - and creating systems that are well crafted, robust, and maintainable.

Modern C++ Design: Generic Programming and Design Patterns Applied


Andrei Alexandrescu - 2001
    Displaying extraordinary creativity and programming virtuosity, Alexandrescu offers a cutting-edge approach to design that unites design patterns, generic programming, and C++, enabling programmers to achieve expressive, flexible, and highly reusable code. This book introduces the concept of generic components--reusable design templates that produce boilerplate code for compiler consumption--all within C++. Generic components enable an easier and more seamless transition from design to application code, generate code that better expresses the original design intention, and support the reuse of design structures with minimal recoding. The author describes the specific C++ techniques and features that are used in building generic components and goes on to implement industrial strength generic components for real-world applications. Recurring issues that C++ developers face in their day-to-day activity are discussed in depth and implemented in a generic way. These include: Policy-based design for flexibility Partial template specialization Typelists--powerful type manipulation structures Patterns such as Visitor, Singleton, Command, and Factories Multi-method engines For each generic component, the book presents the fundamental problems and design options, and finally implements a generic solution.

Guardians of Mayhem MC Box Set 1


Hope Stone - 2021
    I have to know who, what, how and when. That’s the Sergeant code.I never knew the striking redhead, Chloe, from back in the day that well, but we were about to be reacquainted. Pity she was off limits.With a newly formed Albuquerque police task force tracking clubs and the Devils working to infiltrate our network we have our work cut out for us.Will good girl Chloe be able to hold her ground with Finn?Or will she get wrapped up in the mayhem of the Guardians?BOOK 2: HavocI’m the man with the iron fists on a bike, and I raise Havoc...She had that good girl image down pat, but I knew it was a lie. The Mayor’s daughter; a taste of forbidden fruit with links to dismantle or elevate our whole organization to the next level. I had problems of my own. A rival gang alliance that left me for dead on the side of the road.My fighting spirit wasn’t about to lay down without a fight. There’s always one more round.Do Havoc and the Mayor’s daughter have what it takes to finish the round?Or will outside forces break them apart for good?BOOK 3: AxleShoot first, ask questions later, that’s Axle’s motto...I’m the wild, the reckless, the untamable beast who knows my way around a car. We’re up against it with a rival gang allegiance threatening our chop shop operation and the cops are on our ass. When the Reaper’s badass daughter showed up leading the charge…Let's just say I wanted to taste and kill my prey at the same time. A sassy hellcat with a mane of ebony night and a heart as dark as mine stepped on my turf and the temptation was like bitter chocolate.Will this vixen break down all of Axle’s defenses and ruin the Guardians?Or will they find a way to break all the taboo’s to be together?BOOK 4: RushThey nicknamed me the blonde haired pretty boy of the Guardians…From the moment I saw her I wanted the long-legged dancer. Penn, with the champagne cascading locks and movie star looks. The one works the pole for her dollars.A hit on our crew, arrogant cops looking for a takedown, in-fighting, a loss of revenue and a call for me to get a little grimy.Can Rush trust the woman with the expensive taste?Or will she be the reason for the Guardian’s demise?BOOK 5: RedWhen the past catches up with you...you have to turn and face it...When the wild heart of a free-spirited gypsy casts a spell on me I can’t look away.Is Brody the calm before the storm or is she more trouble than she’s worth?Or can this perfect storm come together to be a one-two punch of passion?BOOK 6: ShadowSometimes even those in the shadows have to step into the light...When he met sweet Ava with her cute apron and pretty smile his whole life changed. She’s the only one who knows about Shadow’s secret hobbies and shares them with him.He found her knee deep in the midst of chaos in his life, she’s like an angel to him.Will the sultry Ava be able to withstand the heat that threatens to unravel a beautiful beginning for them both? BOOK 7: ShaggyDara made my world light up in the darkened chaos of the club’s woes. She had a rocky past of her own, with a known enemy on her heels.D-day for the Guardians was approaching and I had to prove myself. Will Shaggy and Dara be able to withstand the enemies from their past and present? Does Shaggy have what it takes to be part of the Guardians crew?