Instead of each template having its own X_name variable, all templates now just use name as a consistent interface to these Rebar templates. For example, before we would run the rebar template runner like: % rebar create template=ztmod module_name=blabla .... % rebar create template=project project_name=ldfjdsl ... Now we just do the following: % rebar create template=X name=bla ... Enjoy!
Finsignia coding style uses foldmarks and vim directives in the comments to separate out Erlang source files. Most Erlang source files have sections like: * HEADER * CALLBACKS * PUBLIC API * PRIVATE FUNCTIONS Also document specifications added to some callback declarations as a reminder to the application developer what interface is expected.