guider icon indicating copy to clipboard operation
guider copied to clipboard

Split the grown script into loadable modules

Open elfring opened this issue 3 years ago • 6 comments

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? :thinking:

elfring avatar Sep 25 '21 18:09 elfring

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?

iipeace avatar Sep 26 '21 03:09 iipeace

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?

:thought_balloon: 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? :thinking:

elfring avatar Sep 26 '21 07:09 elfring

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 avatar Sep 27 '21 11:09 iipeace

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.

elfring avatar Sep 27 '21 14:09 elfring

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

iipeace avatar Sep 27 '21 21:09 iipeace

decoupling is needed now,

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

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?

elfring avatar Sep 28 '21 07:09 elfring