How to design a command line program reusable for a future development of a GUI?
- by systempuntoout
What are some best practices to keep in mind when developing a script program that could be integrated with a GUI, probably by somebody else, in the future?
Possible scenario:
i develop a fancy python CLI program that scrapes every unicorn images from the web
i decide to publish it on github
a unicorn fan programmer decides to take the sources and build a GUI on them.
he\she gives up because my code is not reusable
How do i avoid step four and let unicorn fan programmer build his\her GUI without hassle?