Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 390783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:59:53+00:00 2026-05-12T15:59:53+00:00

I use Resharper at work. Some of my colleagues do not. When I open

  • 0

I use Resharper at work. Some of my colleagues do not.

When I open some code that has been written someone who doesn’t, it is immediately obvious by the amount of orange on my screen.

What I am unsure of is to what extent I should feel free to tidy up the messes the have unknowingly left. With most of what I am looking at, it is sloppy but harmless, and wouldn’t really jump out at me if I hadn’t ever used Resharper.

I guess I see my options broadly as

1) The history of changes to source code is essential to maintenance. Change as little as possible, or the next guy wont have a hope of figuring out what has changed. Who cares about unreachable code, unnecessary use of .ToString() etc. anyway.

2) Change the meaningless stuff like includes, fix method documentation comments and things like that. The guy who wrote it likes his code to look like this, so leave it in a state where he wont complain, but get rid of some of the unnecessary orange

3) Orange is just red but lighter. F12 then Alt+Enter until green.

4) Forget the orange, look at that monster 700 line function. What is this 1997? Time to get busy… and if you have got the time, introduce your colleague to our good friend and mentor Mr Fowler.

I tend to flit between the options depending on how much time I have got, to what extent I am now responsible for the code, and how complex the code looks (which can make me go for 1 or 4 usually).

It seems like one of the 4 options should be the one I am striving for though, but I have no idea which one

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:59:54+00:00Added an answer on May 12, 2026 at 3:59 pm
    "Leave the campsite cleaner than you found it."
    

    It’s the boyscout principle. If it’s “their” code and they maintain it then introducing little cleanup-changes shouldn’t offend them, but going too far might seem rude or you might be effectively taking ownership of the code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The company that owns the company that I work for has recently decided unilaterally
I use C#, MVVM, WPF and Resharper. When using the following code: public bool
I have heard people state that Code Generators and T4 templates should not be
I have a new laptop at work and code that worked earlier in the
Has anyone got a strategy for unit testing heiarchies in Resharper? I typically use
Like many of you, I use ReSharper to speed up the development process. When
I need to use the ReSharper Unit Test Runner to run my MSTest Unit
I use NUnit plugin from ReSharper. I can't find any way of debugging a
I have resharper installed and I use the todo list functionality pretty often. My
When getting SQL DateTime Resharper suggests to use new DateTime() when value is DBNull.Value

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.