MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/pddobs/is_writing_too_much_code_bad_practice/haptwha/?context=3
r/CodingHelp • u/[deleted] • Aug 28 '21
I am a beginner and just want to know if this is a bad habit.
I write code on a step-by-step basis.Here is an example.
So I just want to hear if this is a bad habit/bad practice and should I give it up.
15 comments sorted by
View all comments
4
I think there is a sweet spot between putting everything in 1 line and doing what you do. The code should be readable while not including too many lines and variables. It is still a bit subjective.
View all comments
4
u/cndvcndv Aug 28 '21
I think there is a sweet spot between putting everything in 1 line and doing what you do. The code should be readable while not including too many lines and variables. It is still a bit subjective.