lodo1995 / experimental.xml

A replacement of Phobos std.xml
https://lodo1995.github.io/experimental.xml
Boost Software License 1.0
20 stars 8 forks source link

BlockStatements and Empty lines #8

Closed burner closed 8 years ago

burner commented 8 years ago

here I would at least suggest adding an additional empty line between the else statement and the next if. Better would be if you only use { } for everything like if, while ...

sounds nitpicky but the quoted line is just hard to read and hard to change. Just let your editor create the curlies and be done with that.

https://github.com/lodo1995/experimental.xml/blob/master/source/std/experimental/xml/lexers.d#L81

lodo1995 commented 8 years ago

Reminiscences of some time ago, when I used to put lots of effort into writing as few lines as possible. I'll try to avoid this style.

Thank you for pointing it out.