Item-30 Understand ins and outs of inlining
· ☕ 7 min read

Limit most inlining to small, frequently called functions to facilitate debugging and binary upgradability, minimize potential code bloat, and maximize the chances of greater program speed.


Item-29 Strive for exception-safe code
· ☕ 8 min read

Exception-safe functions leak no resources and allow no data structures to become corrupted, even when exceptions are thrown. Such functions offer the basic, strong, and nothrow guarantees.