LIBRISTO
LIBROAMANTO
υποχρεωτικό
Γίνετε μέλος μιας κοινότητας βιβλιόφιλων από όλο τον κόσμο και επωφεληθείτε από πολλά προνόμια. Δημιουργία δωρεάν λογαριασμού
0
Δωρεάν αποστολή με Box Now άνω των 69.99 €
DHL courier 9.99 Σημείο Elta 3.99 Elta 4.49 ACS 4.99 Box Now 3.99 Σημείο ACS 3.99

Refactoring With std

:expected: Eliminating Legacy try/catch Exceptions and Fixing State Corruption in C++23

Γλώσσα ΑγγλικήΑγγλική
Βιβλίο Χαρτόδετο
Βιβλίο Refactoring With std Finnian Calloway
Κωδικός Libristo: 53679827
ΕΕκδοτικός οίκος Independently published, Αύγουστος 2026
Your Migration To std::expected Compiled Clean. The Corruption Shipped Anyway.A function can return... Πλήρης περιγραφή
? points 74 b Προετοιμαζουμε Προετοιμαζουμε Νέα Νέα
30.70
Αναμενόμενος εφοδιασμός σε αποθέματα Έκδοση 01. 09. 2026
Ελλάδα Παράδοση στην Ελλάδα

Έως 30 ημέρες για επιστροφή

Your Migration To std::expected Compiled Clean. The Corruption Shipped Anyway.

A function can return std::expected check has_value() everywhere a reviewer can see, pass every test in the suite, and still corrupt an account balance or leave an order half reserved in production, because nothing about a clean type signature tells you the mutation on line four ran before the validation on line seven. Migrating off exceptions does not, by itself, fix a single one of the bugs exceptions were blamed for.

Most engineers treat expected as a safer syntax for the same error handling they already had. It is not. A thrown exception and a returned std::unexpected fail at different points in a program's execution, with different costs and consequences the moment a call site skips a check it was supposed to make. A seam between legacy exception code and expected returning code can silently flatten six distinct failure types into one generic error, discarding the exact field an on call engineer needs during an incident.

Refactoring With std::expected is a strictly technical, mechanism first field guide for C++ engineers who already have expected in their codebase and need to diagnose why a properly typed, fully checked refactor still produced a corrupted object or an incident nobody could trace back to its cause.

Through precise ordering discipline, real boundary code, and a field tested diagnostic flow, you will learn to build functions where failure cannot leave partial state behind, and to catch a leaking seam or an unchecked access before it reaches production.

Inside the Book, You Will Diagnose and Fix:

Hidden Control Flow: Why a function's own type signature lies about its failure modes the moment a throw sits anywhere inside its call chain.

State Corruption From Partial Success: Build functions using the stage then commit pattern, where every fallible operation runs against local values before shared state gets mutated.

Exception and expected Boundary Leaks: The exact two shapes a correct seam takes at the point legacy throwing code meets expected returning code, and the conversions that silently drop context.

Unchecked Access Failures: Why an unguarded .value() call fails worse than the exception it replaced, including builds where it terminates with no diagnostic.

Monadic Chains That Hide Branching: Read an and_then chain the way it executes, and catch the inline lambda quietly running three code paths behind one flat step.

Error Type Composition: Choose between a flat enum, a rich struct, a variant composite, and std::error_code based on what your callers need to act on.

A Full Migration End to End: Triage which throw sites are worth converting, sequence the conversion so the codebase compiles at every step, and know which exceptions should stay as they are.

Stop trusting a checked expected and a passing test suite as proof your error handling is correct. This book gives you the reasoning, code, and diagnostic checklist to know the difference between visible failure and clean failure.

Who this book is for: senior C++ engineers, systems developers, and technical leads who already use or are migrating to std::expected and need to move from "it compiles" to verifying ordering, boundary, and access correctness. It assumes working knowledge of modern C++. Not an introduction for beginners.

Scroll up and click "Buy Now" to catch your state corruption before an incident review finds it for you.

Ηθοποιός & Πολύγλωσση
EWA KASP για
Αναπαραγωγή βίντεο
Ewa Kasp
το Libristo διαθέτει τη μεγαλύτερη επιλογή ξενόγλωσσων βιβλίων. Γι' αυτό αγοράζω τα βιβλία μου εδώ.

Πληροφορίες για το βιβλίο

Πλήρες όνομα Refactoring With std
Συγγραφέας Finnian Calloway, Tavish Garrison
Γλώσσα Αγγλική
Βιβλιοδεσία Βιβλίο - Χαρτόδετο
Ημερομηνία έκδοσης 2026
Αριθμός σελίδων 154
EAN 9798170419302
Κωδικός Libristo 53679827
ΕΕκδοτικός οίκος Independently published
Βάρος 258
Διαστάσεις 170 x 244 x 8
Χαρίστε αυτό το βιβλίο σήμερα
Είναι εύκολο
1 Προσθέστε το βιβλίο στο καλάθι σας και επιλέξτε παράδοση ως δώρο 2 Ως ανταμοιβή θα σας στείλουμε ένα κουπόνι 3 Το βιβλίο θα φτάσει στη διεύθυνση του παραλήπτη

Είσοδος

Συνδεθείτε στο λογαριασμό σας Δεν έχετε ακόμη λογαριασμό στο Libristo; Δημιουργήστε τον τώρα!

 
υποχρεωτικό
υποχρεωτικό

Δεν έχετε λογαριασμό; Αποκτήστε τα οφέλη ενός λογαριασμού Libristo!

Με έναν λογαριασμό Libristo, θα έχετε τον απόλυτο έλεγχο.

Δημιουργία λογαριασμού Libristo