Skip to main content

Questions tagged [code-reviews]

This tag is for questions about the practice of code review and code walkthroughs. For reviews of existing, working code, please see http://codereview.stackexchange.com

19 votes
7 answers
5k views

I am working in small company, having a lead position in a group of 5. We are developing a C++ application. One requirement is that it needs to run fast. Today, I noticed one function, say f1(), and ...
Jason Cho's user avatar
  • 301
2 votes
5 answers
751 views

In a Java EE legacy project, almost all the DAO and Service classes are written in a a way that DAO level does not catch any exception and instead the service classes catch(Exeption e) in all of their ...
Rui's user avatar
  • 1,935
6 votes
8 answers
912 views

I've been asked to review some code changes and when I see the code, well... I just don't like it! There must be a better way of doing this, but I can't think of one off the top of my head. So I ask ...
komodosp's user avatar
  • 177
3 votes
3 answers
171 views

Each table is on separate pages. Is it considered duplication (written in Angular)? The DevOps team ran SonarQube and detected the th tags as code duplication. How can I explain to them that it's not ...
Shlomi Levi's user avatar
-1 votes
3 answers
162 views

I will describe two development and code review processes, both describing the upsides and downsides to each version. Ideally we want to have a process that has no downsides and as much upsides as ...
GSerum_'s user avatar
  • 11
0 votes
1 answer
231 views

Our php codes base has 6 different ways to do INSERT … ON DUPLICATE KEY UPDATE. It happened over years because the php framework is evolving and my team members come and go, although I won't say we ...
Qiulang 邱朗's user avatar
38 votes
13 answers
10k views

In my current workplace, I act as lead developer and architect in a team of software developers. The general policy for merge/pull requests is that 1 person has to review and approve the request. This ...
FabianTe's user avatar
  • 525
0 votes
4 answers
636 views

I have been working almost for a year in my current place. It is a product team over some domain. Here are some example reviews I am getting every now and then (Scala). Removing unneeded wrapping ...
user2694307's user avatar
17 votes
8 answers
7k views

I'm a Software Engineer who sometimes need to review the code of my fellow team members. I often look at the source code and think; this looks fine. I'm having a hard time to think critical about it. ...
Jay's user avatar
  • 289
24 votes
7 answers
7k views

My team has a mixture of specialties, there's some overlap however. When some commits are done from person A (who is expert in some domain) and person B (who is not expert in that domain) I wonder if ...
user8469759's user avatar
0 votes
4 answers
222 views

I have the existing code provided below: if (!$existing_records && !$has_required_field) { return 'Skip Update, no records found'; } elseif (!$existing_records && $...
Muhammad Dyas Yaskur's user avatar
6 votes
7 answers
4k views

Say you want to test an update capability across a CRUD api. Test A updates a field, queries it, and asserts that it now has the value from the update. Knowledge about the starting value (and that it ...
candied_orange's user avatar
3 votes
5 answers
740 views

I was asked to review and handle merge request for a code base, which has been contributed by dozens of programmer with basically no regulation (or perhaps there was but nobody follows), so I set up ...
Rahn's user avatar
  • 147
2 votes
0 answers
119 views

None of my team's programs care about multithreading, parallelisation, async, or anything else that benefit from immutability. However, immutability is clearly in fashion at the moment and I'm ...
J. Mini's user avatar
  • 1,015
-2 votes
4 answers
279 views

Background I've been working with a team of 6 for the last couple of months doing enterprise software development. About half the team is very new (2-6 months). We loosely follow Kanban and manage/...
Manish M's user avatar

15 30 50 per page
1
2 3 4 5
25