What's your guys programming style? Write clean code or just name the variables you like | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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