Click here to Skip to main content
15,912,578 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Marc Clifton30-May-18 1:40
mvaMarc Clifton30-May-18 1:40 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
GKP199230-May-18 18:41
professionalGKP199230-May-18 18:41 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Jim_Snyder30-May-18 7:16
professionalJim_Snyder30-May-18 7:16 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Jon McKee30-May-18 10:13
professionalJon McKee30-May-18 10:13 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Jim_Snyder30-May-18 10:31
professionalJim_Snyder30-May-18 10:31 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
Tomaž Štih29-May-18 22:55
Tomaž Štih29-May-18 22:55 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Marc Clifton30-May-18 1:36
mvaMarc Clifton30-May-18 1:36 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
soulesurfer29-May-18 22:58
soulesurfer29-May-18 22:58 
That is a valid perspective, and further one could say that junior developers need opportunities to learn and not have their hand held too much; and there must be an expectation that developers meet minimum requirements of understanding many aspects of software development. Code reviews are an effective way to share knowledge and help develop junior devs.

So, for balance, let's look at the other side. Companies invest in and employ devs to develop software assets. These assets are important to the companies value/revenue/future etc. So naturally, maintainability is a hugely important attribute of company assets. And there are many aspects to maintainability of course.

I would say that if someone is asking you to "dumb down" code for easier maintenance, perhaps that is just a diplomatic way of saying that your code is not readable/maintainable. There is an old school rule that when writing code, it should be readable by other people, including yourself at some time in the future.

Since I am no expert in LINQ, for example, I will often write code the simple / old way, and when Re-Sharper suggests a conversion to LINQ, I will have Re-Sharper do the conversion, and then decide if it is easier or harder to understand at a glance, and often I will undo the conversion.

Complicated or unreadable code is not "better" code. (obviously there is a minimum complexity required for every different problem/algorithm).

Well, anyway, I would tell your bosses that any policy that forbids using C# 7 syntax, for example, is a bad policy since every new version of c# provides syntax that is better and/or more maintainable.

Cheers,
Anthony
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Marc Clifton30-May-18 1:32
mvaMarc Clifton30-May-18 1:32 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Jim_Snyder30-May-18 7:19
professionalJim_Snyder30-May-18 7:19 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
Peter Shaw29-May-18 23:13
professionalPeter Shaw29-May-18 23:13 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Marc Clifton30-May-18 1:28
mvaMarc Clifton30-May-18 1:28 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Peter Shaw30-May-18 6:06
professionalPeter Shaw30-May-18 6:06 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
Munchies_Matt30-May-18 0:43
Munchies_Matt30-May-18 0:43 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Marc Clifton30-May-18 1:27
mvaMarc Clifton30-May-18 1:27 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Munchies_Matt30-May-18 1:46
Munchies_Matt30-May-18 1:46 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Marc Clifton30-May-18 2:09
mvaMarc Clifton30-May-18 2:09 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Munchies_Matt30-May-18 19:02
Munchies_Matt30-May-18 19:02 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Leng Vang30-May-18 7:02
Leng Vang30-May-18 7:02 
GeneralRe: Dumbing down code so it can be maintained by junior devs Pin
Munchies_Matt30-May-18 19:02
Munchies_Matt30-May-18 19:02 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
Michael Breeden30-May-18 0:44
Michael Breeden30-May-18 0:44 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
Harrison Pratt30-May-18 1:22
professionalHarrison Pratt30-May-18 1:22 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
W Balboos, GHB30-May-18 1:31
W Balboos, GHB30-May-18 1:31 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
Pete O'Hanlon30-May-18 1:39
mvePete O'Hanlon30-May-18 1:39 
AnswerRe: Dumbing down code so it can be maintained by junior devs Pin
Member 1236478830-May-18 1:49
Member 1236478830-May-18 1:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.