LXer: Making trade-offs when writing Python code
by LXer from LinuxQuestions.org on (#4X28Q)
Published at LXer:
Software development is a discipline rife with trade-offs. For every choice, there is an equally defensible but opposite choice. Make a method private? You[he]#039[/he]re encouraging copy-paste. Make a method public? You[he]#039[/he]re committing prematurely to an interface. Software developers make hard choices every minute. While all the principles in the Zen of Python cover trade-offs to some extent, the following principles take the hardest, coldest*look at some trade-offs.
Read More...


Software development is a discipline rife with trade-offs. For every choice, there is an equally defensible but opposite choice. Make a method private? You[he]#039[/he]re encouraging copy-paste. Make a method public? You[he]#039[/he]re committing prematurely to an interface. Software developers make hard choices every minute. While all the principles in the Zen of Python cover trade-offs to some extent, the following principles take the hardest, coldest*look at some trade-offs.
Read More...