What's your guys programming style? Write clean code or just name the variables you like | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's your guys programming style? Write clean code or just name the variables you like

for example if you declare a variable, would you name it clearly even the program just only written by you, or you just named it in causal? The clean code mean: bool playingSoloLearnNow = true; v.s. you name it causal: bool p = true;

24th Apr 2017, 2:34 PM
黃冠融
黃冠融 - avatar
2 Answers
+ 8
I always do clean code. I've been working on a game alone on c# for fun and to learn Unity. Trust me, if I did: int a, b, c; I think I'd have a nervous breakdown 😅. You really cannot keep track of what those are for any decently sized project. Especially if you take a break from working on the project.
24th Apr 2017, 2:43 PM
Rrestoring faith
Rrestoring faith - avatar
+ 3
Yes, clean code is really important.
24th Apr 2017, 2:57 PM
黃冠融
黃冠融 - avatar