News for hackers. Stuff that matters.
Re:CamelCase vs. underscores: Scientific showdown by jdontillman on Tuesday March 03, 2015 @12:22PM (#9138965)
Very often a variable name needs to provide more context.

I have found it very useful to use under_scores as a form of punctuation within camelCase to visually connect related variables.

Like this:

  spectrumPlot_x
  spectrumPlot_y
  spectrumPlot_drawHarmonics
  qa_signalDone
  qa_setLoadedFlag
  requestTimeout_minValue
  requestTimeout_maxValue
... and so forth.

(Note that the opposite doesn't work: camelCase as a punctuation within under_scores.)

Re:CamelCase vs. underscores: Scientific showdown by Gibbon1 on Wednesday March 04, 2015 @01:17AM (#9142952)
In c often I use underscores to deal with lack of name spaces and or classes. As in Module_FunctionName()