How to design a command line program and keep it open for a future 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
12:53 UTC
Read the original article
Hit count: 532
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?
© Stack Overflow or respective owner