Much (most?) of the Arrow code I've looked at conforms to 2 space indentation. I've always used 4. But it seems like the more functional-style code I write, the more I run out of horizontal space. Is that typical? What's the reasoning for the 2 space style chosen for Arrow? Is it a carryover from Scala conventions?
r
raulraja
07/23/2020, 10:02 PM
functional style frequently involves nesting specially if you use methods like flatMap etc… and results in over nested code. Having said that there is no strong reason but that of the preference of the original authors
👍🏾 1
raulraja
07/23/2020, 10:03 PM
Ideally it does not matter what you commit it gets reformatted before merging but we don’t have that kind of flow in Arrow at the moment
b
Bob Glamm
07/23/2020, 10:15 PM
Odd, I find the more FP I write the fewer indents I have due to comprehension blocks and simpler functions