Skip to content

lightningund/Mathlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Styling Rules:
End every line with a semicolon
Put curly braces on the same line as whatever is using them
Put a space after commas and before and after every operator
Always surround if/while/else/etc. content with curly braces
Always put if/while/else/etc. content on a new line
Put else and else if on the same line as the closing curly brace of the parent if
Initialize variables on a new line
Priority Chain: Efficiency > Readability > Compactness
Variable orders:
x -> y
width -> height
lowerlimit -> upperlimit
x -> y -> z
width -> height -> depth