Article 4X28Q LXer: Making trade-offs when writing Python code

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...latest?d=yIl2AUoC8zA latest?i=jZkcQR5_Zz4:IcgKSDnXl6Y:F7zBnMy latest?i=jZkcQR5_Zz4:IcgKSDnXl6Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=jZkcQR5_Zz4:IcgKSDnXl6Y:gIN9vFwjZkcQR5_Zz4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments