Skip to content
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

Split the grown script into loadable modules #262

Open
elfring opened this issue Sep 25, 2021 · 6 comments
Open

Split the grown script into loadable modules #262

elfring opened this issue Sep 25, 2021 · 6 comments

Comments

@elfring
Copy link

elfring commented Sep 25, 2021

The script “guider.py” grew to a remarkable size.
I imagine that it can occasionally be helpful to import only selected parts from the supported functionality on demand.
How do you think about to offer loadable modules accordingly? 🤔

@iipeace
Copy link
Owner

iipeace commented Sep 26, 2021

There were many requirements about it :)
But I don't like it because It may requires also installation or complex copy to target systems.
Why do you want it? because of memory usage?

@elfring
Copy link
Author

elfring commented Sep 26, 2021

But I don't like it because It may requires also installation

How does such a concern fit to your installation instructions?

or complex copy to target systems.

Would you like to collaborate with Python wheels?

Why do you want it?

💭 I imagine that adjusted code structures will support nicer run time characteristics.

because of memory usage?

This is another recurring application concern, isn't it? 🤔

@iipeace
Copy link
Owner

iipeace commented Sep 27, 2021

How does such a concern fit to your installation instructions?

Guider already provides it but it is for PIP or OE.

Would you like to collaborate with Python wheels?

some old and light platforms don't support it ;(

I imagine that adjusted code structures will support nicer run time characteristics.

may I ask you more explanation?

This is another recurring application concern, isn't it?

Yes, right.
Guider is just a complete standalone application :)

@iipeace iipeace self-assigned this Sep 27, 2021
@elfring
Copy link
Author

elfring commented Sep 27, 2021

may I ask you more explanation?

Yes, of course.

I got the impression that some implementation details from the discussed (Python) software can influence selected program module calls in undesirable ways.

@iipeace
Copy link
Owner

iipeace commented Sep 27, 2021

I can understand it :)
decoupling is needed now,
I will try it step by step.

@elfring
Copy link
Author

elfring commented Sep 28, 2021

decoupling is needed now,

I became curious once more how another refactoring can evolve also for this software. 🤔

I will try it step by step.

  • How do you think about to move help descriptions to other places?
  • Will a reorganisation become helpful for the main program modules?
  • Would you like to choose nicer tags (or labels) for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants