Puzzle. These 9 lines are from Bitcoin v0.1.0, main.h, lines 398 to 406. Satoshi's habits are all over them.
bool IsFinal() const
{
if (nLockTime == 0 || nLockTime < nBestHeight)
return true;
foreach(const CTxIn& txin, vin)
if (!txin.IsFinal())
return false;
return true;
}
Reply with how many you can spot. I count habits in the indents, the braces, the names, a macro and the way the reference is written.
The full checklist, 24 habits, is on the page.
https://bitcoin-takeover.com/satoshi-archive/coding-style/?utm_source=nostr&utm_medium=social&utm_campaign=satoshi-archive&utm_content=puzzle-spot-the-habits
