Embedded Underscore

From http://www.perldoc.com/perl5.6/pod/perlstyle.html

(also in ProgrammingPerl) -


Using embedded underscores means you used up an important character without thinking about the future. Underscores can be used to make a suffix attached to a function. Using them up ahead of time means you have wasted an important character.

I use two underscores to separate prefix from suffix: big_widget__refrobnicate_the_foncicle()

Using embedded_underscore is one of many possible CapitalizationRules for attaching several words together.


EditText of this page (last edited October 15, 2011) or FindPage with title or text search