Back when I converted Freecell Solver to a library, I wanted to make sure
there are no potential clashes in its symbols with those of other libraries
that would be potentially used. As a result, I used the freecell_solver_
prefix.
As I and others felt later, naming functions with this prefix made them quite
obnoxious. Using "fcs_" would be better, but we don't have a monopoly on
the "fcs" acronym:
http://www.google.com/search?q=fcs
On the other hand, Freecell Solver does seem to dominate "fc solve":
http://www.google.com/search?hl=en&q=fc+solve&btnG=Search
Which makes it a viable prefix.
As a result, I ran a script (written in Ruby which I've started to learn) that
converted the identifiers from starting with "freecell_solver_" to starting
with "fc_solve_". I excluded the "freecell_solver_user_" identifiers in order
to not break the API and ABI of the library.
After the change, I rerun the tests after the first try, and so I commited
them.
I hope this change will make the Freecell Solver code easier and quicker to
read and to write.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Stop Using MSIE - http://www.shlomifish.org/no-ie/
Shlomi, so what are you working on? Working on a new wiki about unit testing
fortunes in freecell? -- Ran Eilam
Received on Sat Dec 13 2008 - 00:52:36 IST