Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Bonus chapter idea: split to multiple files #12

Closed
tomassedovic opened this issue Sep 7, 2016 · 4 comments
Closed

Bonus chapter idea: split to multiple files #12

tomassedovic opened this issue Sep 7, 2016 · 4 comments

Comments

@tomassedovic
Copy link
Owner

Show how to use modules and organise the dodebase into more than one file. That seems to be the most controversial aspect of the original tutorial. And it seems to me, modules trip beginners out.

@keisetsu
Copy link
Collaborator

keisetsu commented Sep 9, 2016

I think this is a great idea. Would like to see the original python code split up, too; it's so easy, there's no excuse for not making this modular. Rust is a little more difficult; it took me a while to figure out the use of mod, use, and extern (just noticed I have a relic of this my ui code...). It's not particularly difficult, but for me at least this didn't seem well documented.
I split things out into separate modules as soon as I finished the tutorial, here. A work in progress and I'm not sure the divisions are completely valid, but it got me started.
Not sure how much this helps, but I split most of the files in this commit.

@anmej
Copy link

anmej commented Sep 10, 2016

Completely agree, module chapter would be great.

@tomassedovic
Copy link
Owner Author

Thanks, I think so too. Not sure when I'll be able to put the work in, though. So the issues are all up for taking :-).

@tomassedovic
Copy link
Owner Author

This project has not been maintained for a few years. I'm closing all pull requests and issues before archiving the repo on github. Sorry I hadn't done this sooner!

@tomassedovic tomassedovic closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants