For questions relating to the process of developing software.

learn more… | top users | synonyms

-2
votes
2answers
155 views

How to explain to PM that a task is too small to be shared [closed]

There is task that from the business point of view is really critical but, even it has been estimated in 40 days of works [of course worst case], involves a really small part of the project (a couple ...
-1
votes
3answers
130 views

Who should write Unit Tests? [duplicate]

Should unit tests be written by the developer who wrote the code or someone else ? And how effective is writing units tests as a method of learning a new system ?
1
vote
1answer
146 views

How to make 100k lines of orphan code work [duplicate]

I've recently started to work on an old project, that was originally written by two professors with no programming experience. Those professors left the project before they have finished it. Meaning ...
98
votes
10answers
13k views

My coworker commits and pushes without testing

When my coworker thinks that there is no need for a test on his PC, he makes changes, commits and then pushes. Then he tests on the production server and realizes that he made a mistake. It happens ...
0
votes
2answers
122 views

When should you avoid iterative and incremental development? [duplicate]

I'm currently reading some literature about software development process models. Everywhere I look, I only read the problems with the Waterfall model and how the iterative and incremental development ...
11
votes
3answers
623 views

Why create a Logger object instead of using static logging methods across an application?

Taking an example of a simple Ruby on Rails application. It creates a Logger object during application load process: # in environment.rb config.logger = Logger.new(<STDOUT | file | whatever>) ...
83
votes
9answers
8k views

What are the advantages of build scripts?

For most of my programming career, I've used the "build/compile/run" command in whatever IDE I'm working with to produce a runnable program. This is one button, pretty easy. As I learn more about ...
2
votes
1answer
65 views

Code review and testing in the process

I am thinking about the software development process of my team, more specifically, I am thinking about tests and code review into our development process. I came to the conclusion that, in order to ...
0
votes
0answers
24 views

Ipython3 development cycle

I am new to python (python3) and am using Ipython3 while writing the code just in my preferred text editor. I am not yet sure what is a good development cycle as I keep getting problems with reloading ...
3
votes
1answer
177 views

Has there been recent research on Fred Brooks's model of the “Surgical Software Team”? [closed]

I'm reading through The Mythical Man Month for the first time. In it, Fred Brooks* proposes a model of software development based on how a surgical team works. There is a "surgeon" (a senior ...
18
votes
3answers
3k views

Introducing a version control branching policy to a small team

I'm a contractor that has recently started with a firm. Team is 3 developers consisting of 2 junior to mid level devs, with another at the same level starting soon, and myself (6 Years xp). For both ...
22
votes
6answers
587 views

TDD in theory in only

A little over a year ago I was fortunate enough to be able to take a 9 month break from work. I decided that in that time time I would hone my C# skills. I started working on a bunch of projects and ...
0
votes
0answers
34 views

Defensive Programming - “Return” placement [duplicate]

Sometimes I see myself writing code in the following way: if(value == null) return null; //... I will have here as many defensive conditions (and returns) as I need //... Continue to execute method ...
0
votes
2answers
73 views

What are some (best) practices of organizing configuration data for applications? [duplicate]

I am working on an application (in php) that needs some rules to evaluate the labelling of some data. Since these rules might change someday, I decided not to hardcode them, rather handle them as ...
2
votes
0answers
67 views

What type of buffer should I implement for a one-way streaming audio device?

I'm working on a project where audio data is streamed to a device. The audio data is encoded via opus and streamed at 20 ms payloads at a time. The streaming is done via TCP to avoid packet loss ...
2
votes
2answers
195 views

Is there a software industry for converting old, outdated code to new standards? [duplicate]

There still are developers building and extending applications using languages like COBOL, since banks and other such organizations rely on ancient systems to power their day to day businesses. Some ...
2
votes
1answer
131 views

Setting up an [AWS] environment locally

Currently, our infrastructure sits on AWS (EC2, ElasticBeanstalk, RDS) and consists of a few different services that work together to create our production environment, these consist of a: MySQL ...
0
votes
0answers
122 views

Managing code responsibility separation on large mobile app

I work for a large corporation with some different business units. Each of this business unities has their own group of developers. We have to build a mobile app that has features from each of these ...
5
votes
2answers
116 views

When designing a replacement application, how can I compare its performance to the original, if there are no existing statistics?

I don't believe there are any performance statistics kept for the application I'm being asked to replace, and don't want to ask the individuals doing the work to manually record things like how long ...
0
votes
5answers
153 views

what gets testers invested in the releases they test? [closed]

For a lot of roles in a development team it is pretty obvious how these roles are invested in the quality of releases of their software. Developers who accidentally write bugs know that when the call ...
2
votes
1answer
39 views

Partial or full changelog for release

When releasing a new version of a program is it better to include the full changelog since the beginning of the project or just the part since the last release? I know that the release notes would ...
0
votes
2answers
41 views

Approach to encouraging organizational adoption of new web dev tools [closed]

I'm attending the O'Reilly Fluent conference, and a clear theme I've seen is the widespread adoption of tools to improve effectiveness of efficiency in web development workflows. I readily recognize ...
0
votes
0answers
20 views

How do I remove the history from items that come from a branch operation in SourceGear Vault?

We are currently pulling down the Development version, renaming it to the release name, such as "2.0.0.0", and using "Add files/folders..." on the folder containing the Development folder, and adding ...
4
votes
2answers
198 views

How do you get complete manual testing by QA in a git/hg flow development process?

I have a question about working with independent testers doing manual testing (not about automated unit and regression testing.) In a flow process I do my work on a feature branch until I'm confident ...
1
vote
5answers
185 views

should I help QA team in finding bugs? [duplicate]

I Just started my career as Consultant Developer and Joined a small company. When I go through the code for an already developed application, I can see that there are some bugs. I inform the QA team ...
11
votes
1answer
568 views

Slicing up the Development Stack - diagonally?

We've got a new project going on, and at the moment developers have been split into two teams, team A and team B. This project has 2 parts to it which require development throughout the development ...
5
votes
3answers
401 views

How to solve the Lava flow anti-pattern?

In this blog post, the author describes an anti-pattern called the "lava flow" In a nutshell, the lava flow anti-pattern happens when many programmers lead the development of an application, each of ...
1
vote
2answers
158 views

What about source code homogeneity?

As time passes I think that one valuable aspect of maintenable and escalable software is to be homogeneous. The same problem should be solved in the same way everywhere in the application. If there is ...
-3
votes
1answer
73 views

Does cpu cache affects boot time?

...and most probably I should refer to the instruction cache, since data cache is unlikely to have major effects in boot time of a system... lets say for windows 7 64bit or any other example you may ...
2
votes
1answer
88 views

How do you differentiate software between TEST and PROD environments?

We have a TEST and PROD environment. TEST and PROD are nearly identical, and obviously software first ends up in TEST before getting approved to go to PROD. Our software is primarily Windows ...
1
vote
1answer
59 views

Global gitignore v project [closed]

We have several web projects within our organisation - using different frameworks and with many different developers. Each developer might use a different ide and use different operating system etc ...
2
votes
2answers
136 views

Is it acceptable to refactor a collaborator's code?

When working with other people in a project, is it acceptable to refactor some of their code? I'm working with another developer and I notice a lot of duplicate code. To make things easier for ...
2
votes
5answers
155 views

Staying productive by keeping focus on a feature while developing [duplicate]

As a hobbyist developer I'm quite keen on the git-flow way of working. But I keep having a problem that I can only blame myself for: while developing a new feature, I keep getting sidetracked by ...
0
votes
2answers
101 views

How do I organizing 2 different projects with shared code

I know there have been same question asked multiple times on the programmers stackexchange. I think my question is more specific and hence decided to start a new question. My current a project which ...
1
vote
1answer
103 views

Using conditional feature compilation/inclusion for release versioning

I have been playing with the following idea: commonly when different release series (1.0.x, 1.1.x, development code) of a product are maintained in parallel one uses different branches within a ...
35
votes
7answers
3k views

How to make significant technical decisions given very little time

I have got 2 days for making a very serious decision about the tools and platforms that my company is going to use in order to port its WPF application to Linux / Android / iOS whatnot. Obviously I ...
-1
votes
1answer
37 views

Difficulty translating specs into rending HTML/CSS [closed]

Our small shop excels at data modeling and algorithms, but we increasingly face challenges getting the presentation and rendering correct. I would like others to explain to me which strategies are ...
3
votes
2answers
95 views

Is it reasonable to have grunt/gulp build phases in javascript dev environment

Nowdays it's goes to be very fancy to have grunt/gulp build phases who concatenate and minify and organize javascript code. And I agree that this is important for production. But as a developer, I ...
4
votes
2answers
181 views

Test Driven Development when the specifications change

These days, it's fairly common for me to be tasked to make a change that actually breaks the prior spec. I know that one of the major ideas behind TDD is to have a suite that verifies all your changes ...
16
votes
4answers
2k views

Should a front-end developer ever specify JSON format for back-end developers?

I am taking the front-end role in a project. Should I be specifying for my back-end teammates the exact format of JSON that their PHP returns to my JavaScript? For example, should I be telling them ...
1
vote
2answers
70 views

Explicitness, verbosity and their counterpart - when to prefer which?

I'am the only one in my team who advocates for adding a little implicitness in favor of codebase reduction and decreasing repetition. Yet I don't want to be a biased 'Bad apple' playing against ...
2
votes
2answers
108 views

Is there some way to mark which branch is the latest in subversion?

We're reworking our process with subversion at the moment, and one of the things we're doing is making branches for each release target in our demo environment so that you can test a release that has ...
1
vote
2answers
150 views

What is proper order of pull requests and testing?

We want to setup proper development workflow. We have two main branches: master(release branch) and develop(working branch). We want to use pull requests properly. We see two ways how to do this: The ...
2
votes
5answers
351 views

Is it acceptable to ask management for pseudo code? [closed]

I'm a developer in the IT department of a large oil company. I received a spec document, basically in plain English, about business rules that need to be implemented in a new application. The rules ...
-1
votes
2answers
435 views

Moving code to production without breaking existing functionality? [closed]

How can one move development / test code into production, and not end up breaking the functionality in Production environment? I am working with a small sized company, so they don't have a budget for ...
1
vote
2answers
141 views

how to upgrade software [closed]

I am a beginner in computer programming with C/C++. I have previous experience in programming for the web. There is some confusion that I am having with the software development process in desktop ...
3
votes
1answer
130 views

Managing code changes in this coding environment

I have the following coding environment: Three Developers Source code resides in Team Foundation Server (2010) Development Environment Stage Environment Production Environment As the Senior ...
1
vote
3answers
183 views

What should I expect from a developers guide? [closed]

I'm willing, with some friends, to make a developers guide for an open source point of sale written in Java. The thing is I have never written anyone and so I don't know exactly what to put in there ...
4
votes
3answers
131 views

Version control workflow for semi-bespoke software

I have a web app product (PHP, MySQL) for which I offer a bespoking service. That is, you can buy the main product, which is quite extensive, and then have it customised however you like. This might ...
9
votes
3answers
314 views

How best to involve junior developer in designing an application from scratch? [closed]

We are a team of 3 developers (2 experienced devs and a junior). We just started a brand new project. We've designed the application, concentrated efforts on choosing the right architecture and now ...