-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folder names and structure of extensions of the pure translation project #22
Comments
I don't think there's much sense in prefixing stuff with Speaking of docs, currently we're mostly just taking the original C source and leaving the original doc-comments as-is. I think this is rather pointless, since I imagine that someone looking for information on how to use SDL will just consult the official documentation at wiki.libsdl.org, rather than browse the
|
Well, I see your point. I'm also not fully happy with a prefix "pascal" either, About I'd like to suggest, too, that we add a folder
I disagree about the notion that everybody will always look up everything on the wiki pages, but never in the code itself. Lazarus will display the comments above a function declaration fairly quickly and it can help a lot, especially if you are not about to study the package but just need a quick reminder of the return values or something similar. So, I strongly suggest to go with way 1. - I will add this to the todo list. |
Proposal of a structure:
What do you think? |
I'm not really sold on the |
See issue PascalGameDevelopment#22 for details.
…ture Add "units", "docs", "examples", "tests" folder Move all unit and inc files into units folders. Hint: You need to update the unit source for your Pascal projects! This closes issue #22 . Check it for more information on this PR.
Not sure if I'm all too happy about all the file histories gone now... Forgot about that... Anyway, for the project altogether, it has a better structure now. |
As the project grows more complex, we need to decide on senseful names and folder structure of project extensions (e. g. examples, tests, docs,...) which are not directly related to the original sdl2 package. Otherwise the main folder will be polluted with all kinds of different files which complicates everything unncecessarily.
The main goal is to make clear from the folder names that these contain files which are not directly related to the original sdl2 lib.
My proposal would be a prefix "pascal" to make this clear:
E.g.
\ (main source, as is)
\pascaldocs\
\pascalexamples\
\pascaltests\
The substructure in these folders could then be as expected:
\pascalexamples\renderbitmap\
\pascalexamples\handleevents\
Please let us discuss if there are other and/or better ways to keep the files ordered.
The text was updated successfully, but these errors were encountered: