+ 3

Lack of clarity

why do most programmers do not make clear codes? How could we improve this ability?

29th May 2017, 1:17 AM
Eduardo Delinski
Eduardo Delinski - avatar
4 Respostas
+ 5
well it's a bit like math. There are countless solutions to every problem. I am quite sure that every code is quite clear to its author, however if that person's approach is different than the one you would have chosen then you might have difficulty understanding it in the beginning. There are in general two ways to solve that: 1. always use the "standard" solution, but that takes the creativity out of coding and will sooner or later turn you into a copy-paste machine... 2. write comments - the problem with that is that when you are eager to solve a problem you tend to skip the useless at the time comments and are too lazy to add them later...
29th May 2017, 5:45 AM
Nikolay Nachev
Nikolay Nachev - avatar
+ 2
You are just starting. Learn your languages first it helps
2nd Jun 2017, 12:40 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
I think these languages that are too much easy to write have a high risk to generate bugs. see the challenges in c++ where the main objective is find the" illusion on read". in other hand some pseudo benefits sintax brings no real gain and just only creates lines of codes that you must interpreter or compiler in your mind to understand it !
30th May 2017, 1:14 PM
Anibal Lopes