cpp-io2d/P0267_RefImpl

sample-program names differ, depending on context

Closed this issue · 2 comments

io2d's samples have different names, depending on where they are listed. Examples:

  1. Rocks In Space is listed as both "RocksInSpace" and "rocks_in_space"
  2. DrawCPP is listed as both "DrawCPP" and "draw_cpp"
  3. CPULoad is listed as "CPULoad" and "cpuload"

The differences seem to show up predominately in samples' directory-name, and their CMake project name.

Are there any objection(s), or significant reason(s), to keep the names different? I could see io2d's CMakeLists.txt file(s) get simplified, and perhaps the ability to add new samples be heavily-simplified, if the separate names were merged. I'd be happy to try putting together a Pull Request for such, too.

One possible merging of sample-names could look like this, for example:

  • CPULoad + cpuload --> cpu_load
  • DrawCPP + draw_cpp --> draw_cpp
  • Life + life --> life
  • Maps + maps --> maps
  • RocksInSpace + rocks_in_space --> rocks_in_space
  • Sprites + sprites --> sprites
  • SVG + svg --> svg

Resolved via #91