How to design a command line program and keep it open for a future 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?
Example 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 decide to take the sources and build a GUI on them.
he gives up because my code is a mess
How do i avoid step 4 and let unicorn fan programmer build his GUI without hassle?