9 Aug 2012 11:01
GOP2-4 - C++ and scheme indentation
Graham Percival <graham <at> percival-music.ca>
2012-08-09 09:01:15 GMT
2012-08-09 09:01:15 GMT
http://lilypond.org/~graham/gop/gop_5.html ** Proposal summary Speaking academically, scheme code style is a “solved problem”. Let’s pick one of the existing solutions, and let a computer deal with this. Humans should not waste their time, energy, and creativity manually adding tabs or spaces to source code. C++ will remain as-is, using astyle 2.02 (not astyle2.02.1) with scripts/auxiliar/fix-scheme.sh Scheme will be indented with a yet-to-be written scripts/auxiliar/fix-scheme.sh, which does the same thing as emacs. ** Motivation New contributors sometimes struggle to follow our indentation and code style – this is especially difficult when parts of our existing source code doesn’t have a consistent style. This is problematic... we want new contributors to be struggling with the lilypond architecture, not playing games in their text editors! We discussed this last year, but it didn’t quite turn into a patch. This led to yet another round of disheartening confusion for a well-intentioned new contributor, i.e. http://codereview.appspot.com/5343050/#msg5 http://codereview.appspot.com/5320074(Continue reading)



RSS Feed