Looking at other people's code it seems really common to include an extra space inside curly brace blocks. Is there a reason for that? To me it seems to add extra keystrokes for added ugliness. Especially when things get nested:
lambda { (1..5).map { |i| { :a => { :b => i } } } }
For some reason it just looks more concise and coherent to do:
lambda {(1..5).map {|i| {:a => {:b => i}}}}
Maybe the extra spaces are some text editor side effect or there is a historical reason or something? I haven't seen this addressed in style guides and if it's like 2 space indentation I want to follow conventions, but if there's no good reason I guess I'll just keep doing things my own way. Which do you prefer, and why?