How to design a command line program reusable for a future development of a GUI?
Posted
by systempuntoout
on Stack Overflow
See other posts from Stack Overflow
or by systempuntoout
Published on 2010-04-10T12:45:22Z
Indexed on
2010/04/10
19:53 UTC
Read the original article
Hit count: 242
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?
© Stack Overflow or respective owner