Answer the question
In order to leave comments, you need to log in
How often do you have to deal with bad code at work?
Hello. He got a job as a junior in a small company. I write in C# (ASP.NET MVC). And each part of the code is approximately the same: the class implements 2 interfaces, each of which is inherited from other interfaces, inherited from the class, which is also inherited from the abstract class. All this provided that most of the methods consist of 100-120 lines of code. And sooooo much repetitive code. There are no comments, of course, because "the code must be self-documenting".
Therefore the question. Does any commercial C# code look like this?
Answer the question
In order to leave comments, you need to log in
well, I won't answer for the whole code.
But, in general, you need to understand that there are enough specialists who know how to write correctly / beautifully / maintainably, and they are among us
There may not be conditions. There may be a flow of tasks, such that, with a pain in the chest, you have to cook as is.
There may not be a desire. Like, we are churning out the same type of products here, 3 pieces a week, but I’ll quit in the summer.
Maybe there’s not enough review from someone from the outside. When offices are hired with an experience of 1.5 years, sit and cut everything in a row
Maybe everything at once
Not all businesses are ready to listen to IT arguments about the importance of architecture and all that.
There is a request from marketing - please do it by dinner
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question