-
Notifications
You must be signed in to change notification settings - Fork 0
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
TODO List #1
Comments
I would like the linter to warn me of overcommitted |
I see some issues with this, in particular if we consider best practice to be to keep dependencies minimal. I'm almost sure that in the AI notes (at least in my rewrites of AI2), it is often the case that slides build on each other; not necessarily because a symbol of some module is actually used, but also because "that slide came before this one, so I know it already includes all the things I will need". |
I agree with all you say, and let me answer some of the concerns above as a step towards "best practices". Also I probably meant the info (blue in VSCode) when I said "should warn me" above. As for the convenience module, I would consider this as "good practice" to use that for writing (makes life easy as you say) and then when the dust of writing and using the first time has settled, then we can refine the convenience import to the minimal one, thus minimizing dependencies. You also mention imports that "that slide came before this one, so I know it already includes all the things I will need". This is also something I see a lot, and I have been worrying about this (without coming to a specific conclusion or even doing something about it). I am wondering whether that should be be refactored into two properties:
ad 1.: this seems to be a rethoric/didactic relation, and maybe we want to have a specific sTeX markup for this relation in the future. |
BUT I just realize one Problem with my proposal. If we minimize the imports of one module, we might compromize all modules that import from it. This makes it a global operation rather than a local one. I wonder whether we should split the VSCode IDE into two. One with essentially just the linter (for all the local stuff) and a Curation IDE that does the global stuff like quickparse with an extended curation linter. |
true - which reinforces my point from recently: I think redundant imports are good, actually; both because they make dependencies explicit and because it makes them more robust against import-refactoring of dependencies... |
The text was updated successfully, but these errors were encountered: