Z
Z
Zakhar Kushchenko2017-10-11 20:52:56
Programming
Zakhar Kushchenko, 2017-10-11 20:52:56

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--){
        // что-то
       }
}

to more understandable
for (ПонятныеПеременная; ПонятнаяПеременная < Переменная; ПонятнаяПеременная++){
 // что-то
       for (ПонятнаяПерменная2; ПонятнаяПеременная2 >= Переменная; ПонятнаяПеременная2--){
        // что-то
       }
}

I think you get the idea.
But they don't do testing like testers and just make the code prettier, faster and clearer.
Do you think that such programmers will appear at all (we will call them, for example, code correctors)?
Will such code correctors hit programmers in the head so that they write normal code?
Will it also motivate programmers to write normal code, or will it only make them more lazy, saying "correctors will do everything"?
And what do you think about salaries?
I will be glad to any answers and comments.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
TyzhSysAdmin, 2017-10-11
@ZZahar

They are called CodeReviewers and have been invented for a long time, but rarely is this a hotel position :)

⚡ Kotobotov ⚡, 2017-10-11
@angrySCV

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.

P
Puma Thailand, 2017-10-12
@opium

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

E
evgeniy_lm, 2017-10-11
@evgeniy_lm

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 question

Ask a Question

731 491 924 answers to any question