Re: [Plib-devel] C++ Philosophy Question
Brought to you by:
sjbaker
From: Dave M. <dp...@ef...> - 2000-03-20 17:52:42
|
I recently asked some related questions so i'll share what I know: *** Naming conventions: for public symbols in PLIB module 'XX' (where 'XX' is: SL, SSG, SG, PU, FNT): #define's, enum tags XX_ALL_CAPITALS functions/classes/structs/typedefs xxMixedCase For private symbols, I use all_lowercase unless they would pollute the name space - in which case I use a leading underscore _xxMixedCase *** Dependencies To use PLIB you need only GLUT, OpenGL and C++. keeping more dependencies out of PLIB is a design goal STL would just be another dependency If you just need a list you can make it yourself like the ssgVertexArray *** templates, exceptions, references, operator overloading like honey. icky sticky stuff. can't see why pooh bears like it once in a while it can be handy but might as well keep it simple in a portable library like PLIB *** namespaces i like them. any thoughts? |