[Discussion] We should start implementing class based module
See original GitHub issueHey Mohit here,
I think it’s high time that we should start writing our scripts in the form of class so that the user can directly import the script and use it instead of running the whole file.
I know that it will take time to shift to this pattern but we should start it in near future as it will be required as codebase will increase.
for example:
import abc_script from RottenScript
abc_script(rows = 2, ....)
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Classroom Discussions Module Facilitator Guide - TN.gov
The goal of this module is to provide you with the knowledge, tools, and resources that will help you implement practices around classroom...
Read more >Examples of Module Structures - Vanderbilt University
Let's look at a few examples of how to structure an online course module. There is no perfect module structure, and even when...
Read more >Module Templates vs Module Classes - Emerson Exchange 365
I am looking for users out there that have opinions on class based modules vs module templates and if anyone out there has...
Read more >Discussions - Eberly Center - Carnegie Mellon University
What questions will I pose to spark or guide discussion? to encourage deeper analysis? Will I open the discussion to the entire class...
Read more >Online Course Module Structure
Even when courses are designed and taught by the same person, they will typically use a somewhat different module structure based on the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That is a brilliant suggestion here @mohitacecode
I saw a similar proposal from @Sanketwable who has worked a lot on integrating Go Scripts with this Project. I would love to see a proposal coming up to be able to achieve this.
@HarshCasper WHy don’t we modify the guidelines a bit? That for experienced programmers, they can already start using of Object-based programming. This way in the future if we try to implement this idea, it would be easier for us. Moreover, we can link a script in the guidelines as well which follows a similar approach, this was we can also give them a static demo of how a script shld look like.