Questions tagged [code]

Questions relating to computer coding practices.

Filter by
Sorted by
Tagged with
14
votes
3answers
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 ...
-4
votes
1answer
334 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 ...
-2
votes
7answers
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 ...
41
votes
14answers
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 ...
106
votes
19answers
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 ...
131
votes
26answers
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 ...
3
votes
4answers
894 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?
-1
votes
1answer
208 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 ...
53
votes
19answers
11k 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 ...
57
votes
11answers
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 ...
32
votes
6answers
6k views

Interview programming assignment seems like free work [duplicate]

I'm applying for a company that wants me to complete a several hour coding challenge. The assignment is basically "we've got 15 templates on our site, create a 16th one". Now I've heard of companies ...
2
votes
2answers
856 views

My IT Manager violates common IT policies and does not adhere to Standard Practices [closed]

I'm working as an offshore Senior Oracle ERP Developer with a BPO Company and have a Onshore Manager ("MM"). I've been working here for over two years now and one thing I noticed from the ...
7
votes
3answers
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 ...
61
votes
13answers
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-...
-1
votes
3answers
448 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 ...
157
votes
13answers
29k views

Is it reasonable to ask a potential employer for samples of their code and/or employee contact information, to determine if I want to work there?

I'm currently looking for a new job as a developer. There are two things that companies usually require that bother me a lot: long programming assignments and reference checks. There are plenty of ...
148
votes
16answers
26k 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 ...
5
votes
9answers
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. ...
14
votes
3answers
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'...
8
votes
2answers
950 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
16answers
11k 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 ...
29
votes
9answers
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 ...
12
votes
11answers
9k 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 ...
6
votes
7answers
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) ...
2
votes
2answers
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
5answers
787 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 ...
4
votes
4answers
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 ...
8
votes
6answers
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 ...
-2
votes
3answers
670 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
4answers
366 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 ...
28
votes
7answers
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 ...
32
votes
6answers
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
3answers
546 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
4answers
632 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 ...
76
votes
14answers
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 ...
5
votes
5answers
609 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. ...
27
votes
11answers
8k views

Is it unprofessional to call code "garbage"?

Intro: I’ve been writing software for over 15 years and currently lead a team of ~10 developers with whom I conduct code reviews daily. My comments are generally direct, honest, and straight-forward. ...
3
votes
4answers
2k views

Are there any known alternatives for code review?

Code review is part of the software development process, when all code written by one developer is checked by another, more senior developer, accepting it only after findings are corrected. While ...
8
votes
3answers
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 ...
2
votes
3answers
930 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 ...
9
votes
6answers
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 ...
5
votes
5answers
764 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 ...
-10
votes
6answers
1k 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 ...
6
votes
1answer
670 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 ...
1
vote
3answers
602 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
10answers
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
2answers
409 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 ...
10
votes
4answers
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 ...
5
votes
2answers
528 views

How can I encourage my coworkers to produce better quality code? [closed]

I'm a team lead for a small group of programmers. We share several projects with other teams. Lately the quality of two other teams' code has deteriorated to the point where it is slowing us down and ...
9
votes
9answers
3k views

How do I convince developers not fight code style enforcement?

I'm developer infrastructure and tools engineer. My org structure is like so (fictional names for convenience)(job level in parenthesis) Bob(3)/ Me(1)/ Alice(2)/ Sam(1)/ John(...