Hi guys,

I do not want to risk never getting another one of Daniel's splendid 
gremlin answers, but I am afraid that I like Marko's systematic "to 
-the-left" indentation style better. Probably because it resembles the 
python PEP-8 style I am used to (also python's 80 char line length limit 
forces you to think about clean code formatting).

As to closures that do not fit a single line: I prefer to insert a named 
lambda (in Java/Scala) or an externally defined string ${myClosure} (in the 
Groovy repl).

Fixed styling rules per type of step could be cumbersome since a natural 
grouping of steps will depend on the overall logic of the traversal.

Best wishes,     Marc

Reply via email to