For questions relating to the process of developing software.

learn more… | top users | synonyms

72
votes
11answers
12k views

What do you do when code review is just too hard?

OK so a lot of code review is fairly routine. But occasionally there are changes that broadly impact existing complex, fragile code. In this situation, the amount of time it would take to verify the ...
3
votes
1answer
112 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
1answer
31 views

What does the Kruchten 4+1 Process View implementation look like using sequence or activity diagrams?

Having read about the 4+1 Kruchten, I am required to document a system architecture using this concept. Instead of the notations proposed by Philippe Kruchten, we decided to go with UML instead. I am ...
1
vote
1answer
193 views

Best way to manage Git branches in different environments

I had a basic question regarding using a git repository in different environments. I'm more of a Sys admin than a web developer, so the teams I've worked on before just worked right in the master, ...
9
votes
5answers
879 views

Techniques for ensuring cross-platform compatibility (C++)?

I was finishing one of my earliest C++ projects which is (according to the framework) supposed to be cross-platform. I developed the project fully in Windows and Visual Studio, thinking that since the ...
98
votes
8answers
29k views

Why are many programmers moving their code to github?

For the past 6 months or more, I've been seeing many codes hosted at sourceforge.net as well as other hosting sites "Move to GitHub". A mere Google Search with the phrase "Moved to Github" returns ...
19
votes
6answers
3k views

How do you keep your unit tests working when refactoring?

In another question, it was revealed that one of the pains with TDD is keeping the testing suite in sync with the codebase during and after refactoring. Now, I'm a big fan of refactoring. I'm not ...
0
votes
3answers
519 views

What can I do to prevent frequent code loss? [closed]

I program as a hobbyist. I mainly code using an online tool (a website) that allows me to write, run, share, and debug code online. The website I use does have version control built in. Quite ...
-1
votes
0answers
27 views

Python public package development environments

I have a package on my computer I use for personal, general use code. I build it with python setup.py develop --user which works very well for making changes to the code and it taking effect without ...
1
vote
0answers
66 views

Which software methodology should I follow when I do research?

I usually analyze data of experiments and although I have a general schema of steps I need to do, I might need to tweak it to the specifics of the experiments or the questions behind. I am usually ...
1
vote
2answers
193 views

Python build system

Currently our Python application is deployed like this: Development team work on issues, commit code and create a Pull request Pull request is integrated to Development branch QA and Operations team ...
20
votes
12answers
4k views

How To Know When To Stop Testing?

I know this is a very very basic question. For some software applications there are a large almost infinitely high number of test cases for an application. It is not practical to test all those test ...
44
votes
7answers
3k views

Does software testing methodology rely on flawed data?

It’s a well-known fact in software engineering that the cost of fixing a bug increases exponentially the later in development that bug is discovered. This is supported by data published in Code ...
0
votes
0answers
30 views

What is the difference… no, relationship… between coupling and cohesion in OOP? [duplicate]

What is the relationship between coupling and cohesion in OOP? I am especially thinking of how these concepts apply specifically in a multi-tiered/multi-layered project. I find that my applications (...
1
vote
3answers
116 views

Is separating design from implementation a net win?

In my experience, technical design is made more challenging when it is divorced from implementation, particularly by assigning the roles to different people, because its easy for the designer to ...
0
votes
1answer
44 views

Replace a enterprise JAVA EE enviroment with a lightweight solution

Currently I work in a company with several applications developed in Java, these applications share an "internal framework" with common task like find an employee, check user permissions, etc. These ...
4
votes
2answers
110 views

Making minor edits elsewhere while working on a commit [duplicate]

I have a habit of constantly making minor edits to my code whenever I spot something I don't like - be it a bug or just some sloppy piece of code I see how to improve. Neurosis-Driven Development. ...
2
votes
1answer
115 views

Why directly edit binary files?

This may be a naive question, but I wonder when and why (non-research) developers would directly edit a binary file. It seems like the only good reason to use one is to create a kludge when you need ...
1
vote
3answers
72 views

Weighing value of change vs. cost, how to handle costly changes

Quite often there are situations where a bug exists in code, or a feature is requested, where it is expected that the fix/implementation will add less value to the business than the cost of any of: ...
5
votes
3answers
156 views

Can I implement a payment feature in my own software?

Note: I spent some time thinking about this question before choosing which StackExchance site to post it on. I have decided on this domain because of the description: "For professional programmers ...
0
votes
3answers
201 views

What kind of development am I doing?

I am doing a webapp for the internals in my company, it has been 8 months and now I want to become more professional about it, and to know precisely what I am doing. My workflow is to make little ...
1
vote
1answer
212 views

Scrum in combination with ad hoc bug fixes [duplicate]

I worked in a company where they tried to use Scrum but in practice it was hard to create a solid sprint backlog because they had a very active userbase, that used the software 8 hours a day, and ...
43
votes
19answers
6k views

How do you share your craft with non programmers?

Sometimes I feel like a musician who can't play live shows. Programming is a pretty cool skill, and a very broad world, but a lot of it happens "off camera"- in your head, in your office, away from ...
12
votes
10answers
1k views

Why does it seem so hard for non programmers to understand versioning? [duplicate]

In the past I have worked with designers, BAs and project managers, all who regularly produce project artifacts, yet very really do they understand the concept of versioning. When I try to explain it ...
1
vote
2answers
117 views

Development Methodology for Many Projects

Twice now I have encountered an office where there are many projects being done simultaneously. The two different approaches I've seen to this is splitting people up into very small (1-2 people) ...
2
votes
1answer
153 views

What is the proper infrastructure and release cycle for developing and testing an application? [closed]

I am developing a web application for my coworkers, and from a little management app it is becoming a more and intense large project that is involving more people as I go. I am pretty sure my boss ...
65
votes
7answers
5k views

How do you transition a program from in-development to release?

At some point a program is in development. Features are being added or removed or changed all the time. Every version is nothing but a prototype. So I don't waste much time on writing super clean code ...
0
votes
1answer
60 views

iOS: How to switch between prod and non prod REST end points

A noob iOS dev question: How do iOS developers develop their app with non prod REST URL endpoints while then using a prod REST URL endpoint for actual use by customers? I'm not aware of a way you ...
15
votes
5answers
276 views

The project is almost complete, what can I do to retain interest and not lose focus? [closed]

So I find every project I get involved in, the start is great and I am all gun-ho lets do some coding. Next thing you know, the project is nearing completion, we are refining, testing, revising, ...
5
votes
2answers
4k views

Why we need Throw-away Prototyping?

What is throw-away prototyping model in software engineering and why do we need it? How does it differentiate from Evolutionary Prototyping?
2
votes
1answer
80 views

“Selected design can be derived from requirements” - meaning and difference against traceability?

ISO 12207 contains interesting points for design verification: a) The design is correct and consistent with and traceable to requirements. c) Selected design can be derived from ...
0
votes
1answer
104 views

Developer, QA product management accountability using public shaming? [duplicate]

So our scrum team was talking this morning about some mega screw ups that one team continues to make but could apply in any situation and how we could bring transparency and accountability for the ...
6
votes
3answers
111 views

Project Cleanup and Version Control Best Practices

Question Background: I have a rather large project that I started before I learned about a beautiful thing called version control. Now, I have a ton of files labeled with the convention "...
44
votes
17answers
3k views

How can I thoroughly evaluate a prospective employer? [closed]

We hear much about code smells, test smells, and even project smells, but I have heard no discussion about employer "smells" outside of the Joel Test. After much frustration working for employers ...
12
votes
4answers
6k views

How do you deal with changing requirements? [closed]

In my current job it feels like we have a lot requirement changes. We are an "Agile" shop, so I get that we are supposed to adjust and what not, but sometime the change is large and nothing trivial. ...
4
votes
4answers
314 views

lightweight, sustainable processes for good code/design quality? [closed]

Ok, gang, next question: what do y'all think are the best processes to improve the quality of the code the (corporate) team produces? (The cult of quality question was good, but I'm looking for ...
28
votes
7answers
1k views

How can I change sloppy company culture? [closed]

Sometimes when I have a problem that needs to be solved, I find that the easiest way to solve it is by writing a small program as a personal tool. I don't make it super usable or super robust, as I am ...
5
votes
2answers
1k views

ISO, Six Sigma, SEI-CMM, etc., in Fortune 500 companies

Do large corporations and product companies follow any standard quality models/processes at all? For example, I have seen that many large organizations have proprietary processes in IT and software ...
6
votes
1answer
660 views

How to see what parts of your code are run most often?

I would like to be able to see what code in thousands of lines of source code is run most often and takes the longest. The purpose of this would be for optimization. Being able to see what parts of ...
3
votes
2answers
148 views

At what point in the process do you create the visual design?

I like to do a wireframe before I start coding and work from there. But when should I start worrying about the visual design? When should I consider the colours, the font, whether corners should be ...
6
votes
3answers
122 views

Do we need to create local branches for the enhancements we are working on?

We just started implementing the Git source control for our project and the Admin says we should not be creating any new branches for the enhancements that we are working on instead everybody should ...
4
votes
3answers
873 views

Shared Development Space

Currently the company I work in gives each developer their own development virtual machine. On this machine (Windows 7) they install the entire stack of the product (minus database) this stack is ...
389
votes
14answers
113k views

How to respond when you are asked for an estimate?

We, as programmers, are constantly being asked 'How long will it take'? And you know, the situation is almost always like this: The requirements are unclear. Nobody has done an in depth analysis of ...
1
vote
3answers
117 views

Steps to begin versioning a web application

Until now, we have not had an application version strategy or version-ed our application. We are considering doing so with our next release. What are the minimum tasks necessary to transition to a ...
5
votes
3answers
178 views

Is it a good practice to have a pre-filled embedded database for development?

I'm currently working on a project which only uses its database for data storage. This means there are no triggers or stored procedure in it, just tables and data to put into it. In this scenario I'm ...
7
votes
4answers
3k views

How to deal with team members writing bad code [duplicate]

Our team consits of junior and senior developers. Problem I am facing is with the code written by seniors. They are not following MINIMUM coding standards. I am also still learning but I wouldn't ...
4
votes
4answers
1k views

Is measuring the binary size of a c++ program a good indication of code complexity? Or something else?

In my company we have this obligatory practice before a review to be send the binary size impact of the code change to be measured and provided. We must use -Os for this metric to avoid ...
1
vote
1answer
785 views

Are the paradigms of ReactJS and Redux worthwhile for things other than web-development?

I'm a bit fascinated by the current paradigms shift libraries like ReactJs and Redux have caused in web development. Apart from computer science classes, I wasn't much affected by functional ...
1
vote
4answers
201 views

How can I organise a better deployment process? [closed]

I work in a company of about 10 developers. When we start a project, each of the developers involved in the project have their dev environment. Once they complete a task, it is then pushed to phase ...
12
votes
3answers
537 views

How can we keep track of which version of our code is in each environment?

My team currently uses a fairly simple branching/deployment process that looks like this: ┌────────┐ ┌────┐ ┌──────┐ Environments: │ DEV │ │ QA │ │ PROD │ └───────...