Questions tagged [code]

Questions relating to computer coding practices.

Filter by
Sorted by
Tagged with
3 votes
3 answers
912 views

Shall a senior coach/correct Junior's behavior?

I am a senior software engineer in a company who has the role of code reviewing. Last week I have rejected two PRs from juniors, one of them was simply duplicating a lot of code (~5K) lines with the ...
1 vote
1 answer
1k views

Manager removes code documentation without explanation

I have recently joined a startup in software engineering, and my tasks consist of writing code that gets merged into the master branch. Before the code is accepted, it is reviewed by my manager, who ...
  • 495
1 vote
5 answers
822 views

How long should you wait for a code review?

I've been working as a junior developer for a startup and mainly doing smaller bug fixes. How long should you wait on average on your code to be code reviewed? I've submitted a few non-prio merge ...
  • 473
-5 votes
3 answers
673 views

How to manage a junior developer who complains that a senior developer is throwing lots of comments on their code reviews? (Updated with more info) [closed]

How would you handle this as a senior manager? Given that there are already coding standards, process etc. There are coding standards already set and the junior engineer is following the standards, ...
8 votes
3 answers
1k views

How to offer code-reviews to a junior colleague who has been in the office longer than I am?

I am a senior software engineer, on an algorithm development team, with the algorithm engineer title (I wanted to stop being a software engineer by title, and move to algorithm development, which I ...
  • 823
-4 votes
1 answer
783 views

Is it bad for software developers to sign their comments in the code? [closed]

I am a software developer and I work in a big team where everybody works on everybody's code. I am used to comment a lot, indicating what I am editing, why, and what is expected to happen after a ...
  • 693
1 vote
2 answers
2k views

What steps should I take to use GitHub copilot in my work? [closed]

A few weeks ago I got access to GitHub copilot, probably many of you have seen hundreds of news about GitHub copilot, if you do not know, in essence it is a kind of AI that helps you create code, I ...
  • 119
-4 votes
1 answer
342 views

Using different programming language as coworker

I do alot of text file parsing at work and I like to use python since it's a lot of times easier and less code to write but the rest of my coworkers use C# or VB with .net. People do their own work ...
  • 612
2 votes
4 answers
1k views

What does it mean if I am non billable on my project yet a useful resource. Will they fire me?

I work as a non billable member in my company. But I complete my tasks assigned to me on time for my project. Is there a chance that in future my company will fire me just because I am non billable?
  • 37
-2 votes
7 answers
2k views

Got rejected in a coding interview even though I felt I could get to the next round. How can I be consistently successful in coding interviews? [closed]

About two months ago, I was interviewed by a developer from a start-up company and he asked me to write C++ code for a straight-forward problem (Given an array of integers, return the prime numbers in ...
  • 299
53 votes
19 answers
12k views

Are questions on theory useful in interviews?

Our company have been interviewing for a C# position recently. One of the questions we ask is "can you explain the difference between an abstract class and an interface". I've been to many ...
  • 567
41 votes
14 answers
13k views

My colleague got upset, did I insult him?

I am an international female student, working as a part-time employee in a fairly big company in Canada with a group: 2 other international male students and one male employee, "Jack", who ...
  • 1,500
-1 votes
1 answer
210 views

How to avoid these duplications and streamline? [closed]

I working in a departmentA, where I write my own code and perform required task. Some other departmentB is working on the same area (departmentB is not aware that departmentA already completed) which ...
7 votes
3 answers
2k views

How do to ship "utility" code that's not really part of the "value add" work

I hope this is the right forum for this. I do software work for clients and typically the client owns the code I write. Now this work can include "utilities" i.e. useful code that I have ...
  • 96.9k
61 votes
13 answers
12k views

How can I get a new developer to significantly improve their code?

I'm technical lead and we have a recent hire that's very inexperienced. He's also very opinionated and proud for a newbie and his code style diverges too much from the team. But he still produces low-...
user avatar
-1 votes
3 answers
459 views

What are my rights regarding IP (in UK) when there was no written contract and business never paid fully for the code

Hope you will be able to help me here. I do not really know if this is the correct place to ask such questions. In 2014 I started to work for a certain company – the setup was that I was hired by my ...
58 votes
11 answers
24k views

I'm in isolation - How can I prove that I can code without leaving the house or paying much money?

This is a shot in the dark, but I'm hoping for the best. My situation is as follows: I have a Master's degree in mathematics and have been trying my best to get a statistics job, or better yet, data ...
  • 685
6 votes
9 answers
2k views

Team doesn't take my code review comments seriously

I am a mid level software developer in a small software company. I have been here for the last 8 months and due to my approach with code reviews I was added to the mandatory reviewers list early on. ...
148 votes
16 answers
27k views

When I need to constructively criticize someone's code, what can I do to "soften the blow" and increase the impact at the same time?

A junior developer was having some issues on a project. As the deadline got closer without any resolution in sight, my manager asked me to help out. I'm a mid-level developer on the team. After ...
  • 6,200
8 votes
2 answers
1k views

The Value and ownership of programming interview questions for developers

During taking interviews for developer positions, it is common to ask to provide snippets of code that fulfill specific requirements. Therefore, recently I was asked to create an entire application ...
52 votes
16 answers
12k views

How to do code reviews to people whose programming skills are weak?

I am a developer and I was recently promoted so I am doing significantly more code reviews now. Part of that includes doing code reviews on Github with people who are either not very competent or lack ...
  • 413
30 votes
9 answers
4k views

I feel ashamed about my old code

Last year I entered in a software company as a Junior developer and started to work with new language and technologies. I tried my best, studied, and did a lot of features. Because of this, I gained ...
  • 351
14 votes
3 answers
3k views

Coworker ignores my code review suggestions

I work as a developer in a small team containing 5 developers and a team lead. I have been on a project since its beginning so I understand the code better than others. It happens sometimes that, I ...
  • 161
12 votes
11 answers
10k views

Manager asked me to reconsider my resignation and he sounded quite convincing, should I listen to him? [closed]

As stated in this question: Just resigned as backend developer. How do I acquire the skills needed for my next job? I have resigned from my job as backend developer. Today my manager and I had a ...
4 votes
2 answers
2k views

Just resigned as backend developer. How do I acquire the skills needed for my next job?

I am an engineering graduate from a Non CS background. I have been working as a backend developer for almost two years now. The tasks had become a little repetitive for me and frankly speaking a ...
1 vote
5 answers
831 views

Reviewing old code database, how to start interacting with the dev team?

TL, DR: There was this software product being developed in my company, I needed to review a lot of the codebase. How do I talk to the development team? The not-so-short version: Due to several reasons ...
  • 3,613
6 votes
7 answers
2k views

Coworker thinks code review cost too much time

Almost a year ago I switched to my current job. I have 2 prior years of programming experience but this is my first time working on an entirely new product. I am part of a small team of (5 or less) ...
4 votes
4 answers
5k views

Respect and Code Reviews [duplicate]

How do you respect your boss when he asks you to write the code in his fashion for no objective reason other than he likes it that way? I submitted my code for review and passed all lint checks and ...
  • 179
8 votes
6 answers
2k views

Can I reuse the code of an application written in my spare time if it has been deployed and used in the internal company network?

I have written a small application to offer a service to all employees where I work. This was done outside of work almost 100% using my personal laptop (only small fixes were done at work mostly ...
  • 5,672
-2 votes
3 answers
677 views

My interview answers are "overly engineered/complex and too hard to read" [closed]

I'm a graduated computer sience student (with a gpa of 95/100) and maintain some open source projects. I love to code and this is my daily job in a company that almost declined me in the interview ...
-2 votes
4 answers
371 views

what I will choose, while giving any coding interview -- Own Algorithm or Any predefined algroithm if the complexity isn't mentioned? [closed]

In a coding/technical interview, your interviewer may ask you to write an algorithm -- for example, one that efficiently can return "longest possible increasing order" from a stream of numbers. Will ...
14 votes
3 answers
2k views

How do I know if I suck at code reviews?

I’m a senior frontend developer. My career is going great but I feel like I'm terrible at reviewing other people's code. There’s a much higher level of complexity that I can understand when its code I'...
  • 281
32 votes
6 answers
12k views

How to approach protecting my code as a research assistant? Should I be worried in the first place?

I am an undergraduate working as a research assistant for a university, primarily alongside a supervisor. While I have my own project, my job still has me assisting my supervisor in his main research. ...
3 votes
3 answers
562 views

Colleague prefers to roll their own solutions that are completely unnecessary

How do I help a coworker with more years of experience write cleaner code? Let's call them Dario. What are some tips on how to gradually introduce clean code concepts while still being respectful and ...
1 vote
4 answers
638 views

Who to go to about a code review?

I am an apprentice at a large-ish company (500-600 employees). It is an engineering firm. I have written a web app which was not requested by anyone to start with but when I demonstrated the potential ...
  • 59
76 votes
14 answers
14k views

Is it a problem that pull requests are approved without any comments

I've recently joined a new company within this pretty small team. I'm running into this issue where my coworkers approve my pull request a few seconds after I ask them to review it. There never are ...
  • 609
131 votes
26 answers
28k views

Team member is vehemently against code formatting

I am the manager of a small team of developers (5 engineers, including me). A few months ago, on the suggestion of another colleague we introduced mandatory code formatting in the code base, for our ...
  • 1,117
5 votes
5 answers
637 views

Code Ownership Vs Responsibility&Credit

I'm having mixed feelings about a situation in my workplace. I’m getting the impression that a colleague wants to claim my work as his, but I’m also suspecting it might be unfair of me to think so. ...
user avatar
106 votes
19 answers
31k views

Can I criticise the more senior developers around me for not writing clean code?

I am a junior developer. Although I already programmed in different languages for the last 5 years I still have a hard time debugging more complex issues. On the other hand I like clean code and try ...
user avatar
29 votes
7 answers
3k views

Professionalism: protecting code quality

TL;DR: Questions under the text I am a software developer at the R&D center. Due to my seniority, I am oftentimes asked to review time/scope critical changes to our code-base. Due to the hectic ...
  • 311
8 votes
3 answers
1k views

I developed code and "donated" it my workplace to speed things up. Now do they own that code? [closed]

I work at a small startup as a full stack developer. We previously used PHP to develop all of our applications and I told my boss we should eventually move to C# which he agreed. Over the coming ...
  • 275
2 votes
3 answers
1k views

Technical interview coding and bad code sharing web applications [closed]

During tech interviews, some companies open up a web application like "codeshare.io" or coderpad.io and they ask an algorithm question etc. I normally use Intellij Idea whenever I code and I'm not ...
  • 29
5 votes
5 answers
769 views

How can I identify coding skills without any IT background? [closed]

We are a small company and looking for a full-stack developer (NodeJS) with focus on Node and React. Since we all don´t have an IT background it´s difficult to really check on the quality of the ...
  • 75
-10 votes
6 answers
2k views

How to deal with a software developer who doesn't seem to understand that he's just a coder?

As a manager for a software development team, how do I deal with developers who don't seem to understand what their job description is? In particular, I am currently dealing with a junior developer ...
  • 33
9 votes
6 answers
2k views

How to not sound passive aggressive in code reviews?

As a young guy in my first programming job, I can't figure out how to avoid sounding passive aggressive when providing code review comments or when responding to such comments in my own code. It ...
6 votes
1 answer
725 views

How should I approach my boss about more code-reviews?

I work as a trainee in a large IT-company for a little more than one year now. After a few weeks of crash course training, I was assigned to update the front-end for one of our departments. It ...
  • 477
1 vote
2 answers
613 views

Code sample for embedded software developer application? [closed]

Unexpectedly, I've the chance for a dream job as an embedded software developer. The application requires a code sample to be included with the CV. I have a very good experience in C. But ...
72 votes
10 answers
21k views

Coworker reviewing code too late in process

Over the summer I changed jobs from a big company as a senior engineer to a way smaller company as a principal engineer. Now I oversee about 20 jr-to-mid-level engineers working on 3 different ...
3 votes
2 answers
416 views

How to pass interviews if you never contributed to an open source project? [duplicate]

I am getting stuck already in few interviews when the companies ask me to show them my source code. During 10 years of career all "my" source code is private, sealed by many NDAs source code that is ...
  • 1,639
11 votes
4 answers
1k views

Co-worker letting coding standards drop again after large refactor - how to enforce better practices?

After we spent 4 years cleaning up the code and it is working OK again, my colleague started to get messy again. Ignoring Reviews with the usual phrase "I have more important tasks to do atm" means ...
  • 223