Helper Functions and DRY principle

Helper Functions and DRY principle

Hello everyone,

I believe Deluge should be able to use 'Helper functions' inside the main function.

I know I can create different standalones, but this is not helpful and confusing.

I don't want 10000 different standalones, and I dont want to have to search for the standalone to see it.

I believe it will be helpfull to have helper functions to avoid the repeating on large projects.

For example (not real deluge code), deluge should be able to do this:



Looking forward hearing from you,
Sakis.