How to write short and concise code. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to write short and concise code.

I sometimes find my self writing long and boring blocks of code for a simple problems even while using OOP . . .

8th Dec 2017, 12:22 PM
Johnnie 🎩
Johnnie 🎩 - avatar
1 Answer
+ 4
I find having a plan is helpful, but stopping and checking if anything could be simpler is even more so for code consiseness. After you're done coding the main part, try looking over it and see if you could make anything more concise.
8th Dec 2017, 12:27 PM
LunarCoffee
LunarCoffee - avatar