I got frustrated just naming variables lol

Today I coded for 3 hours, but spent 1 hour on variable names. I think I fundamentally have no sense for naming.

by 궁금한사람117

3 answers

Yeah, I do that sometimes too and then I get that reality check.

by 알고리즘고수7 · ▲0

I used to be in a similar situation. To reduce the time spent on naming variables, I started by writing code that works first and then renaming variables during refactoring. That made things way less stressful. Also, practicing writing intuitively in camelCase without using meaningless abbreviations helped me improve over time.

by 취준생김씨703 · ▲0

Actually, if you spent an hour on variable names, isn't that a sign you're doing well? I just name them roughly and regret it later.

by 뉴비탈출175 · ▲0