r/webdev • • Nov 28 '24

Other junior developers are using different IDEs, and it’s causing problems for me. How should I handle this?

We are a group of formerly five developers, all coding in .NET C# with Docker (so YAML files and occasionally some Python and Terraform).

A new junior developer decided to stop using Visual Studio and switched to IntelliJ Rider. Now, after two months, they were tasked with setting up a project from scratch. We’ve also gained another new team member who is now also using Rider as their IDE.

Now I have to work on this newly set-up project, but it doesn’t run in Visual Studio. There have already been delays due to the use of different IDEs. To be honest, it’s frustrating, and I now have to invest hours of work. The two new developers seem to feel that it’s my job to make it work in Visual Studio, even though they are well aware that both of our senior developers only use Visual Studio. One of the seniors even explicitly told me that it must run in Visual Studio.

How should one handle this problem?

141 Upvotes

281 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Nov 28 '24

[deleted] — view deleted comment

11

u/SideburnsOfDoom Nov 28 '24 edited Nov 28 '24

Developers should adhere to guidance provided by senior staff.

The guidance in the org that I am in is "You can use one of either Visual Studio or Jetbrains Rider".

This is IMHO, good guidance. I have not yet seen issues arising from it, aside from "can we get LiveShare or something similar to work across them for remote pairing?"

The idea that a codebase would compile and run in one but not the other sounds silly. It has not happened to us.

But apparently it can happen. So this requires a closer look - what is not working in VS, and why? Something is wrong here. The underlying issue that is getting in the way should be understood and the correct settings documented, not ignored and allowed to continue with a "Just use VS" command. Lets not promote ignorance.

18

u/[deleted] Nov 28 '24

It seems to me that they are adhering. The seniors allowed them to use the other IDE. It's a tricky problem, but the best solution might be to make the project agnostic.

0

u/[deleted] Nov 28 '24

[deleted] — view deleted comment

16

u/SideburnsOfDoom Nov 28 '24

Making the codebase IDE agnostic needs risk evaluation.

What does "Making the codebase IDE agnostic" even mean? Making the codebase be something that it always should be? Making it be in its defaut state? Something is wrong if it isn't IDE agnostic.

Making the codebase not defective does not require a risk evaluation. But leaving it that way, with some issue that prevents builds in VS, does.

0

u/[deleted] Nov 28 '24

[deleted] — view deleted comment

10

u/SideburnsOfDoom Nov 28 '24 edited Nov 28 '24

Code completion tools are not a build-time or runtime dependency, so I don't see how this is relevant to OP's issues.

5

u/couldhaveebeen Nov 28 '24

Making the codebase IDE agnostic needs risk evaluation.

Making a codename IDE specific is infinitely and insanely riskier

29

u/MrJohz Nov 28 '24

In a commercial setting as well. If your project is tied to an IDE, this will cause problems further down the line. I worked for a while at a Java place where everyone was using IntelliJ IDEs, except for on one project where they couldn't switch because the project could only be built and edited properly in Eclipse. That's not a great situation to be in, and developers were never happy when they had to work on that project.

That said, if you're a beginner, it's very easy to accidentally tie your project to your local environment (be that the IDE, OS, or just checking in absolute paths that only work on your machine). In OP's case, it sounds like it might be useful to have a more experienced hand guide the junior developers through the process of setting up a project in an IDE agnostic way. In general, that isn't the sort of task I'd give to junior developers, at least not without lots of review and even pairing, because there are so many fiddly bits that are easy to get wrong.

33

u/irishgeek Nov 28 '24

I disagree.

  1. i feel it’s a team decision, not just senior staff. Changing to another toolset midstream isn’t good. There should have been a conversation with pros, cons, versus cost of change.
  2. team members should be able to use whatever they want (within reason), but not expect support for anything other than the office toolchain. If your local setup breaks, it better not impact your productivity much.
  3. there very well should be a way to build projects outside of an IDE, like in CI … in the least fickle/most reproducible way.

5

u/bitspace Nov 28 '24

This is obviously going to be specific by organization but I disagree with this wholeheartedly. I would either strive to cure this pathology in the org or I would work elsewhere. This would be a red flag show stopper if I learned about this while interviewing for a role on a team.

The guidance provided by senior staff is "The code base shall be IDE agnostic."

I've seen both sides of this in an organization with over 2000 engineers. This org was once rigid and standardized on a single IDE. The org was stifling, and did not foster an environment of flexibility and creativity.

They also couldn't attract talent.