Questions about problem solving and planning for a solution through software design.

learn more… | top users | synonyms (1)

3
votes
6answers
259 views

Should sales staff interfere in application analysis and design?

We're working on a kind of CMS, a fast, hosted, centralized website builder like Weebly. We also use Scrum development model. But there seems to be some problems here. Our sales manager always come to ...
12
votes
8answers
449 views

Inheritance gone wrong

I have some code where a good inheritance model has gone downhill and I am trying to understand why and how to fix it. Basically, imagine you have a Zoo hierarchy with: class Animal class Parrot : ...
6
votes
4answers
1k views

Logic in setters vs. getters?

Okey dokey, next crappy-code-at-work-rant-turned-into-a-real-question (I hope): So, I'm debugging some code, and we've got something like this: objFoo.TabIndex = 5 'VB.NET property with setter ...
1
vote
5answers
194 views

Are “Proactive” designs on new projects useful?

When starting a new project, are "proactive" designs useful? I mean, if you create a UML diagram/Activity diagram/Use Case/Class diagram/etc. for anything and everything can think of, then when you ...
21
votes
10answers
1k views

What is the proper way to create requirements documents?

Right now my supervisor is creating requirements documentation / specs for me using bugtracking software. This seems like a terrible idea to me, all the requirements are on these little tickets and I ...
2
votes
1answer
234 views

How should I structure our common modules to maximize reuse and reduce duplication? [duplicate]

Currently I'm working at a .NET project-based company. Our coding is not modularized, mostly we are copy/pasting old code that is needed on a new project and modify it. I was trying to standardize ...
11
votes
3answers
4k views

How do I set up MVP for a Winforms solution?

Question moved from Stackoverflow - http://stackoverflow.com/questions/4971048/how-do-i-set-up-mvp-for-a-winforms-solution I have used MVP and MVC in the past, and I prefer MVP as it controls the ...
2
votes
2answers
85 views

Modelling Betting Markets

I've got some general questions about modelling a series of betting markets and bets within them. I'm writing in Ruby but it's ultimately agnostic towards which language I want to use. I have a ...
1
vote
4answers
164 views

Independent Developer Pre-Coding Planning/Design/Architecture

For the independent developers, or the weeknight/weekend developers, when you are about to begin a large/enterprise project, what are you first steps to take when hashing out the pre-coding details ...
3
votes
3answers
365 views

Should I mix python and .NET?

So I have a good handle on how to rapidly develop a GUI controlled application in .NET (not so much in Python, I've only used Tkinter). I want my code to be easily deployed with very few ...
6
votes
3answers
952 views

Duplication in parallel inheritance hierarchies

Using an OO language with static typing (like Java), what are good ways to represent the following model invariant without large amounts of duplication. I have two (actually multiple) flavours of the ...
6
votes
5answers
382 views

Am I overusing trees as a model or are they just very common?

I'm working on a project and I've found that I've modeled the two largest components as trees. My main uses so far are: Generically model physical containers (and sub containers, sub sub containers ...
2
votes
2answers
245 views

Does this pattern disregard the DRY principle, and can I modify the pattern to fit?

I just started working at a company and we're currently in a fairly intensive (full-days most work days) training program to bring us up to speed on the way the company does things, and train us in ...
2
votes
2answers
611 views

Design question: Is this good case for proxy pattern, or “over done”?

Working on a major enhancement for legacy code, I have been wrestling with myself over whether this is a good case to use the Proxy pattern, and more specifically whether a good case to use the Java ...
0
votes
2answers
761 views

Designing an administrator area in my CMS

I am trying to create a small CMS with ASP.NET MVC3, but I got confused in designing the administrator section. I decided to create two areas, one for users and another for admin. In my CMS I have a ...
7
votes
3answers
1k views

How do you approach class design in OOPs?

When I try to design an OO solution ,I generally use the CRC modelling wherein I list the class names (nouns), what they do(verbs) and how they collaborate with other classes. This blog has the below ...
14
votes
9answers
750 views

When is it OK to sacrifice the “neatness” of the design to get a project done?

When working on a product that needs to be done soon and work well, when is it OK to sacrifice maintainability and "neatness" of design in order to get the thing done and out the door quickly? And to ...
4
votes
5answers
385 views

When Interfacing with a 3rd Party API, What Can Make Things Challenging?

Reuse of components in development of software program are always exposed through the API's. Most of the products in today's world (such a facebook, google, .Net, JDK, ...) provide API's to reuse ...
2
votes
3answers
228 views

is object constraint language worth the effort?

so OCL is supposed to extend UML when we as a designer/analyst cannot express something with a diagram, is has a full blown specification still, there is not (at least not that i know) any ...
0
votes
2answers
218 views

Concerns when designing an iPad video player

I've recently been asked to design a video player for the iPad. I've never done one before and I'm wondering if I could get some caveats in terms of it's development and design. Are there areas of ...
14
votes
6answers
933 views

TDD: What happens before the first unit test?

I mostly understand the theory of TDD, but I can't figure out how to get started. I sit down to write a unit test for a personal project and realize . . . I have no idea what I am testing. What ...
1
vote
4answers
453 views

Splitting up a single project into libraries

I am working on a project/application that I feel is not very well organized, and parts of it intertwine in different ways. Everything works, but I can see things are not very modular. Is it ...
1
vote
3answers
203 views

What design and planning techniques are the most suitable for individual projects?

This summer I'd like to develop a number of applications, all of them relatively small, yet risky -they're complex, I'm inexperienced-. I'm gonna work on my own because my classmates or other IT ...
7
votes
5answers
230 views

how to work with web designer?

I started my first professional project recently and have hired a web designer to do the layout. My question is how can I sync the work with the designer? Currently our process goes like this: the ...
2
votes
3answers
277 views

Steps to take to create the Product Backlog for starting our project with Scrum

A small team (3 or 4) are working on a fairly big project that might take 1 year to complete. We are basically re-designing an existing software (that had been developer over 5-6 years while being ...
11
votes
10answers
986 views

Leading a team, am I being overbearing?

I'm in what seems to me a very strange position. I'm "team lead" in role for a particular project, Sr. Software Engineer in job title. On my team I have 4 developers, one of whom serves a similar ...
4
votes
4answers
199 views

How to support design decisions?

There are bad design decisions. On the same pitch, being a senior engineer can sometimes be hard. Youngsters have awesome and radical ideas, which a senior engineer wonders whether will work on the ...
1
vote
2answers
86 views

Making it work V/S Making it work right

I am somehow a bit good at coding algorithms for small projects, but when it comes to make an attempt for some biggies, I make a total hodge-podge and marshmallows of my project's structure. I have ...
2
votes
1answer
173 views

usefulness of PNG checksum vs. lack thereof in other FourCC formats

PNG is one of a family of container formats generally called FourCC or OSType. [A]IFF and WAV are two other common instances of the format. I want to develop a new format for a specialized data type. ...
2
votes
2answers
438 views

how to write a scalable/flexible php system? [closed]

I am trying to write a joomla type system in PHP to improve my coding/programming skills i need guidelines/rules of thumb to do that. what i basically want to do is create a index.php file which ...
3
votes
3answers
641 views

How To Choose Between Different Methods of Handling/Raising Events?

In situations where I need to write observer/subscriber code, how would I choose between the following approaches? A) Declaring an event that simply notifies a client something happens but requires ...
3
votes
2answers
3k views

In MVC where do you put action methods for views in the shared directory?

I have a website built using a MVC.NET framework with C# that uses some shared views and partial views. In order to display the views properly there is a bit of code that must reside in the ...
0
votes
1answer
151 views

Example of an agreement with the client

I've started my company in UK. Used to work as a freelancer, therefore legal issues didn't use to be a big headache. Now, I'd like to see an example of the document a company would sign with a client ...
3
votes
4answers
68 views

using the presence of a value to control flow?

I have the following situation. I have a factory method that returns a matrix. This matrix can be calculated at two levels of accuracy: level1 and level2. In order to calculate the matrix, I need to ...
1
vote
4answers
668 views

How do you spec out your project?

all. I'm wondering how do you spec./plan out your project? For example, for webiste you can use Wireframe. How about for desktop or add-ins such as MS Office add-ins? I want it as simple as possible ...
4
votes
4answers
2k views

when to use java and when to use c++

Lets say I am writing a server, which will run continuously and answer the queries of the client. Now what parameters (speed, memory, ease of use, quality etc.) should I consider to decide whether to ...
13
votes
7answers
245 views

What optimizations are premature? [duplicate]

I've been here for nearly a month and it seems that people have a tendency to be eager to use the "Premature Optimization is the root of all evil" argument as soon as someone mentions efficiency. ...
3
votes
2answers
588 views

Delegate pattern for retrieving data v.s. using simple setters

I am considering using the Delegate Pattern to get some data necessary for an operation. There are a few different pieces of data that the algorithm needs to run, but they all have default values that ...
4
votes
6answers
404 views

Code reuse: Reusing complex method vs. cherry-picking parts

I am currently facing a situation where I am not quite sure how to best proceed. Background I am planning a new data import process, which will import personnel and salary information from a text ...
7
votes
4answers
814 views

Are iframes a design smell?

We have some pretty old, clunky .Net 1.1 apps in our business that - rather than be forcably upgraded - just get an iFrame added so that new functions can be dropped in. It's become such a well-known ...
0
votes
4answers
309 views

Design of an evaluator object for propagation and IO of results

We are having a discussion about design. Keep into account this is fortran, so we can't be too smart. We have the following classes: Application, System, Calculator, CalculatorSimple, ...
5
votes
4answers
273 views

How much web-design work should a web programmer commit?

I'm creating a website for a friend of mine, and the plan is to eventually solicit outside sources to take care of the overall design. So it's got me wondering, how much design should I be covering ...
3
votes
1answer
192 views

Relationships Of Complex Documents In Document Databases

I have been looking at a number of document databases (RavenDB, CouchDB, MongoDB) and there are two things about them that I really like and makes me what to incorporate them as much as possible and ...
18
votes
4answers
906 views

Why do most languages provide a min-heap instead of a max-heap implementation?

I just noticed something and I wonder if there is any reason for that. Except for C++ (std::priority_queue is a max heap), I don't know any other language that offers a max heap. Python's heapq ...
8
votes
5answers
2k views

Good references for End User documentation examples and advise [closed]

Our in house software has been used for many users and the training department asked us for any tips of end user documentation format. Does any know where can I find good examples of software end ...
1
vote
1answer
319 views

Django - Using a JSON string as an attribute map to avoid subclassing

I have a Django model called Entity. Different types of Entity have different attributes (e.g. some have a currency associated with them, others don't). I'd rather not have to create a new subclass ...
25
votes
11answers
555 views

Coaxing requirements out of business people?

What methods seem to work best to coax requirements out of non-tech business people? I am working with a team that’s trying to get a spec together for a project. Every time we have met and it comes ...
2
votes
4answers
88 views

Measuring the reliance of an enterprise upon software [closed]

In bidding a complex project for a client, I wanted a way to determine their reliance upon software. They have many people doing manual entry and Excel spreadsheets power many pieces as well as legacy ...
4
votes
3answers
552 views

How to show someone of the power of model-view-controller design pattern?

I've been working with a friend on a project that we've taken over, and I've realized that we have a big problem implementing the model-view-controller design pattern due to the way that the project ...
7
votes
3answers
406 views

What's the best way to do a Proof of Concept shootout?

In preparation for a new release of software our company maintains, I've been working on what I believe to be a really good approach to solving our scalability issues. I have every intention of ...