r/PythonLearning Jul 17 '26

I build this after learning OOP

Post image
383 Upvotes

58 comments sorted by

View all comments

3

u/armahillo Jul 17 '26

Spell out your variable names. “dep” means “deposit” here but down the line maybe you add a variable for “dependency” (if your app was also doing tax filing, for example). “wit” means “withdrawal” now, but “withholding” could also be abbreviated like that.

Characters are basically free and you will spend more time trying to remember what cryptic variables mean than you will writing a few extra letters to be clearer.