For the love of grep
Collapse
X
-
-
<snip snide pissing contest remarks>Your condescending remark is out of place.
Beyond that, I think you are wrong. A good coding standard would definitely discourage same file names, even in different folders. Especially in a language that does not support namespaces.
T.* Are you ready for something else ? Hellband 0.8.8 is out! *Comment
-
I didn't mean to be condescending, though of course I was. I am just boggled. Flabbergasted. Etc. Repeated filenames in different directories is common practice for many good coders who take their coding standards very seriously.<snip snide pissing contest remarks>Your condescending remark is out of place.
Beyond that, I think you are wrong. A good coding standard would definitely discourage same file names, even in different folders. Especially in a language that does not support namespaces.
T.
The most universally accessible C project I can think of is the linux kernel. On my machine there appear to be 33 instances of "types.h" in the kernel. That's the filename that I assume started this thread.
locate "/types.h" | grep /usr/src/linux | wc
33 33 1653Comment
-
Call me a fence-sitter (or anything else you like), but I actually like port-specific files in their own directories and everything else in src.
Also, I'm with UnAndrew on the not splitting up.
(goes away to continue adding ID-by-use code to dungeon.c)One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
actually, I agree with you. Angband is only marginally big enough for multiple subdirectories, but the OS- and GFX- specific stuff is a distraction. Especially osx, which requires rather a lot of files to do right.
LOLZ(goes away to continue adding ID-by-use code to dungeon.c)Comment
-
Yes, I do believe it is fine for os specific stuff, I do the same.
Still googling the types.h phenomena for linux which I didnt know about, so far it seems to give more head aches than benefits
T.* Are you ready for something else ? Hellband 0.8.8 is out! *Comment
Comment