If your methods are functional, then
int fancyNumber = calculateFancyNumber();
int fancyNumber; { // [Mathy stuff redacted] fancyNumber = someIntermediateVariable / anotherIntermediateVariable; }
[&fancyNumber] { // [Mathy stuff redacted] fancyNumber = someIntermediateVariable / anotherIntermediateVariable; }();
If your methods are functional, then
Can be inclined cleanly/equivalently as: