Re:How Lisp is Going to Save the World
by ripter on Thursday January 10, 2013 @11:36AM
(#5037886)
And where do I find this "simple naming convention"? I tried google and found repos to the project, but nothing that told me how to read the C documentation and translate it into LISP.
[ Parent
| on HN ]
Re:How Lisp is Going to Save the World
by pavelludiq on Thursday January 10, 2013 @02:07PM
(#5039008)
I've never used cl-opengl, but the usual nameing convention for lisp names is as follows:
name-with-multiple-words
*global-variable*
so GLOBAL_VARIABLE and NameWithMultipleWords or name_with_multiple_words are easy to figure out. Any body who has used lisp for more than a few days knows how to name things, and since the combinations of naming schemes in C is finite, figuring this out is close to common sense. so glLoadIdentity() in lisp is (gl:load-identity).Happy Hacking!