Design Patterns and SOLID with C++ in 14 Days (Paperback)
Lingua: inglese
Editore: Independently Published, 2026
- Brossura
- Nuovo

Da: Grand Eagle Retail, Bensenville, IL, U.S.A.Grand Eagle Retail
Venditore AbeBooks dal 12 ottobre 2005
Condizione: Nuovo
EUR 33,97
Quantità: 1 disponibile
Aggiungi al carrelloDescrizione dell’articolo da parte del venditore
Paperback. Fourteen days of drills that turn design patterns from vocabulary into judgment. Most pattern books show you Java-shaped code and leave out the question C++ actually asks: who owns these objects, and how long do they live? This one answers it for every pattern. That is the difference between a diagram you can recite and a design you can ship. You learn by doing, on one real project. studio is a command-line vector-drawing and report-generating application. It starts on Day 1 as a rigid hundred-line program and ends on Day 14 as a design that absorbs change. Every pattern earns its place in it rather than being bolted on. Week one builds the foundation: what a design is judged by, object lifetime and ownership in C++, and all five SOLID principles. Week two is the twenty-three classic patterns in their three groups, then the C++ forms that reach the same flexibility with no virtual function at all, then removing designs as well as adding them. Every pattern is presented the same way. First the change that breaks the rigid design. Then the rigid code, with the exact line you would have to edit. Then the hinge, the one abstraction that turns editing into adding. Then the code that changed. Then the cost, stated plainly, because a pattern that looks free gets used everywhere. Every day is self-contained: numbered rules, short worked examples with real captured output and a diagram of the mechanism, then a fixed ladder of five problem sets running from recall to unassisted building. Practice problems have no answers anywhere, by design. YOUR 14-DAY PATH Week 1 - Principles Day 1: Design, Change and Cost Day 2: Single Responsibility and Open-Closed Day 3: Substitution, Segregation and Inversion Day 4: Creating Objects by Name Day 5: Assembling, Copying and Sharing Day 6: Wrapping, Splitting and Nesting Day 7: Adding, Hiding, Deferring and Sharing Week 2 - Patterns and judgment Day 8: Interchangeable Behaviour Day 9: Objects That Talk to Each Other Day 10: Mode, Traversal and History Day 11: Operations over a Structure Day 12: Patterns without Virtual Functions Day 13: Anti-Patterns and Refactoring toward Patterns Day 14: The Assembled Application WHO IT'S FOR Working C++ programmers who can write a class but cannot yet say why one design survives a change and another does not. Students on a software design or software engineering course. Candidates preparing for a design interview, where the twenty-three patterns are asked about by name. Written to C++23. Every listing was compiled and run with g++ -std=c++23 -O2 -Wall -Wextra, and every printed output is what came back from that run. Nothing was typed from memory. Work the problems. That is what the book is for. This item is printed on demand. Shipping may be from multiple locations in the US or from the UK, depending on stock availability.…
Codice articolo 9798194713745
- Titolo
- Design Patterns and SOLID with C++ in 14 Days (Paperback)
- Autore
- Mohammad Saqib
- Editore
- Independently Published
- Anno di pubblicazione
- 2026
- Condizione
- new
- Rilegatura
- Paperback
- Lingua
- inglese
- ISBN 13
- 9798194713745
- Serie
- Libro 17 di 17: Learn Programming in 14 Days
Most pattern books show you Java-shaped code and leave out the question C++ actually asks: who owns these objects, and how long do they live? This one answers it for every pattern. That is the difference between a diagram you can recite and a design you can ship.
You learn by doing, on one real project. studio is a command-line vector-drawing and report-generating application. It starts on Day 1 as a rigid hundred-line program and ends on Day 14 as a design that absorbs change. Every pattern earns its place in it rather than being bolted on.
Week one builds the foundation: what a design is judged by, object lifetime and ownership in C++, and all five SOLID principles. Week two is the twenty-three classic patterns in their three groups, then the C++ forms that reach the same flexibility with no virtual function at all, then removing designs as well as adding them.
Every pattern is presented the same way. First the change that breaks the rigid design. Then the rigid code, with the exact line you would have to edit. Then the hinge, the one abstraction that turns editing into adding. Then the code that changed. Then the cost, stated plainly, because a pattern that looks free gets used everywhere.
Every day is self-contained: numbered rules, short worked examples with real captured output and a diagram of the mechanism, then a fixed ladder of five problem sets running from recall to unassisted building. Practice problems have no answers anywhere, by design.
YOUR 14-DAY PATH
Week 1 - Principles
Day 1: Design, Change and Cost
Day 2: Single Responsibility and Open-Closed
Day 3: Substitution, Segregation and Inversion
Day 4: Creating Objects by Name
Day 5: Assembling, Copying and Sharing
Day 6: Wrapping, Splitting and Nesting
Day 7: Adding, Hiding, Deferring and Sharing
Week 2 - Patterns and judgment
Day 8: Interchangeable Behaviour
Day 9: Objects That Talk to Each Other
Day 10: Mode, Traversal and History
Day 11: Operations over a Structure
Day 12: Patterns without Virtual Functions
Day 13: Anti-Patterns and Refactoring toward Patterns
Day 14: The Assembled Application
WHO IT'S FOR
Working C++ programmers who can write a class but cannot yet say why one design survives a change and another does not. Students on a software design or software engineering course. Candidates preparing for a design interview, where the twenty-three patterns are asked about by name.
Written to C++23. Every listing was compiled and run with g++ -std=c++23 -O2 -Wall -Wextra, and every printed output is what came back from that run. Nothing was typed from memory.
Work the problems. That is what the book is for.
"Riassunto" può appartenere a un’altra edizione di questo titolo.
Grand Eagle Retail
Bensenville, IL, U.S.A.
Venditore AbeBooks dal 12 ottobre 2005
Tariffe di spedizione nazionale per U.S.A.
| Articolo | Da 6 a 14 giorni lavorativi | Da 6 a 16 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 0,00 | EUR 0,00 |
Metodi di pagamento
Informazioni sull’azienda del venditore
APOLLO ONLINE CORP.
605 Geddes Street
Wilmington, DE U.S.A. 19805
Condizioni di vendita
We guarantee the condition of every book as it¿s described on the Abebooks web sites. If you¿ve changed
your mind about a book that you¿ve ordered, please use the Ask bookseller a question link to contact us
and we¿ll respond within 2 business days.
Books ship from California and Michigan.
Diritto di recesso
Se sei un consumatore puoi recedere dal contratto in conformità con quanto segue. Per Consumatore si intende qualsiasi persona fisica che agisce per scopi estranei alla propria attività commerciale, imprenditoriale, artigianale o professionale.
Informazioni sul diritto di recesso
Diritto legale di recesso
Hai il diritto di recedere dal presente contratto entro 14 giorni senza fornire alcuna motivazione.
Il periodo di recesso scade dopo 14 giorni dal giorno in cui tu o una terza parte, diversa dal vettore e da te indicata, acquisisce il possesso fisico dell'ultimo bene o dell'ultimo lotto o pezzo.
Per esercitare il diritto di recesso, compila e invia elettronicamente una dichiarazione esplicita sul nostro sito Web, alla voce “I miei acquisti” nella sezione “Mio account”. Ti comunicheremo senza indugio una conferma di ricezione di tale recesso su un supporto durevole (ad es. via e-mail).
Per rispettare il termine di recesso, è sufficiente inviare la comunicazione relativa all'esercizio del diritto di recesso prima della scadenza del periodo di recesso stesso.
Effetti del recesso
In caso di recesso dal presente contratto, ti rimborseremo tutti i pagamenti ricevuti, compresi i costi di spedizione (ad eccezione dei costi supplementari derivanti dalla tua eventuale scelta di un tipo di spedizione diverso dal tipo meno costoso di consegna standard da noi offerto).
Potremo effettuare una detrazione dal rimborso per la perdita di valore dei beni forniti, qualora tale perdita sia il risultato di una manipolazione non necessaria da parte tua.
Eseguiremo il rimborso senza indebito ritardo e non oltre 14 giorni dal giorno in cui saremo informati della tua decisione di recedere dal presente contratto.
Il rimborso sarà effettuato utilizzando lo stesso mezzo di pagamento da te usato per la transazione iniziale, salvo che tu non abbia espressamente concordato altrimenti; in ogni caso, non dovrai sostenere alcun costo quale conseguenza di tale rimborso.
Possiamo trattenere il rimborso finché non avremo ricevuto i beni oppure finché non avrai fornito la prova di averli rispediti, a seconda di quale condizione si verifichi per prima.
Dovrai rispedire i beni o consegnarli a Grand Eagle Retail, Bensenville, Illinois, U.S.A., senza indebito ritardo e, in ogni caso, entro 14 giorni dal giorno in cui ci hai comunicato la tua volontà di recedere dal presente contratto. Il termine è rispettato se rispedisci i beni prima della scadenza del periodo di 14 giorni. I costi diretti della restituzione dei beni saranno a tuo carico. Sei responsabile solo della diminuzione del valore dei beni risultante da una manipolazione diversa da quella necessaria per stabilire la natura, le caratteristiche e il funzionamento dei beni stessi.
Eccezioni al diritto di recesso
Il diritto di recesso non si applica a:
- La fornitura di giornali, periodici o riviste ad eccezione dei contratti di abbonamento; e
- La fornitura di contenuto digitale non fornito su un supporto materiale (ad es. su un CD o DVD), se al momento dell'invio dell'ordine hai accettato l'inizio dell'esecuzione e hai riconosciuto che non avresti potuto recedere una volta iniziata l'esecuzione.
Condizioni di spedizione
Orders usually ship within 2 business days. All books within the US ship free of charge. Delivery is 4-14 business days anywhere in the United States.
Books ship from California and Michigan.
If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.