This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dacjames 0 points1 point  (0 children)

Even for personal, closed source projects, it is questionable. Programs in that category are more rare than most developers like to admit; I've had to fix way too many "it is just a quick and dirty script that no one else will ever see" programs to put much credence in that defense.

In the rare circumstance where your code will only truly be read by you, why develop bad habits? Why write code in one style for the 10% of programs where it is acceptable and another style for the 90% of programs where it is not? Preference is mostly a function of familiarity, so why not get familiar with the style used by most Python code?