Answer the question
In order to leave comments, you need to log in
Will this type of programmer appear?
Hello!
I had an idea about a new type of programmer, now I will explain what his task is.
For example, we have a fairly large project (for example, a higeload online store similar to Ozon) and, of course, such a large project cannot do without crutches and ugly code, but sooner or later these crutches and code begin to turn into technical debt ( or has already turned) and developers, roughly speaking, have to change
to
And other crutches and ugly code. Especially, I think, this is a problem of very, very large projects.
The task of a new type of programmer is to change the already existing code that has already been written and edit it in every possible way.Переменная += 1;
Переменная++;
That is, such people follow the beauty of the code. They just take and edit the code, create more understandable variables, change loops
for (i; i < Переменная; i++){
// что-то
for (j = 0; i >= Переменная; j--){
// что-то
}
}
for (ПонятныеПеременная; ПонятнаяПеременная < Переменная; ПонятнаяПеременная++){
// что-то
for (ПонятнаяПерменная2; ПонятнаяПеременная2 >= Переменная; ПонятнаяПеременная2--){
// что-то
}
}
Answer the question
In order to leave comments, you need to log in
They are called CodeReviewers and have been invented for a long time, but rarely is this a hotel position :)
most likely no one will rewrite the code in bulk just to make it prettier, the life cycle of a product and its separate version is a very short, useless waste of resources.
The usual code refactoring, any programmer usually does this sooner or later, and refactoring appeared before you were born and you can hardly call it a discovery
Will never appear.
If the programmer is a single freelancer, he writes as he wants. The team initially stipulates the standard.
You should also understand that the C language, from which the constructions you translated came into other languages, was developed for very slow machines (a few MHz) with an insignificant amount of memory by today's standards (tens of kilobytes). Therefore, a lot of constructions like if (++variable > 10) in the program text took up significantly less space and are easier to compile than constructions like
Variable = Variable + 1;
if (++variable > 10)
But in fact, for a person, the second option is more acceptable from the point of view of text perception, i.e. is the most "beautiful" although even now no one writes so as not to press extra buttons
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question