CoreBitcoin
CoreBitcoin copied to clipboard
Reformat the code to put opening curly brace on the same line as method name
This will makes it consistent with Apple Obj-C and Swift style guide and consistent with blocks/closures syntax. This should apply to methods, blocks and conditionals.
Originally I was placing opening brace on the new line to have more whitespace around the code to make it easier to read. However, using Meslo font with increased line-height proved to be more efficient and now we can put all braces back on the same line as the related expression.
Before:
if (foo)
{
bar;
}
After:
if (foo) {
bar;
}
I can take this on. I was looking for a simple way to get into the code here.
@joelklabo thanks!
bump
This was done BTW.
https://github.com/oleganza/CoreBitcoin/commit/58ffed3b9fe4d017136e4921731648a154f3a0bf