lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, 2004-12-28 at 19:51, duck wrote:

> So including with " " and < > amount to the same thing if you routinely 
> keep C and header files apart, as the Lua distro does. Ergo, name 
> collision.

3 char prefix is recommended for everyone, eg:

foo_malloc.h
bar_malloc.h

Pity lua itself only uses one for filenames.. that
won't hold for long..

Avoid sensible names like the plague! 
Never call files 'memory.h' 'io.h'
'sock.h' or such like .. that's so sensible
you're certain to get a clash with another
sensible person :)

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net