Software design is a process of problem solving and planning for a software solution.
0
votes
0answers
72 views
Object Oriented Design Kata [on hold]
A code kata is an exercise in programming which helps a programmer hone their skills through practice and repetition.
One example is The Bowling Game Kata.
I am looking for Object Oriented Design ...
-1
votes
0answers
53 views
What software can be written in VB.NET? [closed]
I am learning vb.net. Want to write software in the coming weeks.
I am curious and want to find out from you, what are some of the software written in vb.net?
-1
votes
0answers
42 views
What to read to climb to why to do from how to do [closed]
Do I need to use an interface when only one class will ever implement it?
Above link is one of my questions those i ask when i am trying to understand the sw developing process in the compony that i ...
6
votes
3answers
235 views
Selecting the (right?) application design [closed]
While working to build software products for early stage startups, I have seen two very common schools of thought that define an approach to application design.
Those 2 paradigms typically include ...
2
votes
2answers
122 views
How to abstract transition between Views?
Our team is developing an application using WPF with MVVM.
We want to make ViewModels reusable. With this intention we want to abstract the transition logic between Views (ViewModels, we use ...
5
votes
4answers
272 views
Is it normal to write all logs into a single file?
Our teamlead said that many files much worse than a single, despite of we are working on a big project.
He argued that our customers could more easily send logs to us if there will be just a single ...
2
votes
1answer
69 views
Package diagram for an MVC patterned project?
We are required to make a package diagram for our senior project. Since our project uses MVC patter design, we created an MVC class diagram, now, our problem is in creating the package diagrams from ...
0
votes
1answer
131 views
Design pattern for configuring objects
Context
In a Cocoa application I am developing, I need to load a data model that is defined in plist files. So, I have something like:
root (Array)
---- item (Dictionary)
-------- name : "objects" ...
0
votes
0answers
107 views
problem with High Cohesion - DRY principle across components
In our company we have to follow a rigid cycle of:
Requirement Analysis Document(Use Case Document).
Design Document (first High level then Low level)
Coding according to the document.
Unit Testing.
...
0
votes
1answer
84 views
Should the helper function in class be defined before the usage or after
I need to do the code review of fellow members.
One of the member always defined the helper functions at the bottom and use them at top e,g
class Sample {
public function SendFile(){
file = ...
1
vote
1answer
184 views
What is the significance of the output of Function Point analysis
I am a beginner in Software Engineering principles. This question have only academic significance.
I read about Function Point analysis.We will be getting an integer value as output for Function ...
0
votes
1answer
205 views
Should we always write Defensive null check in code? [duplicate]
Are there any scenarios where we should not write defensive checks for null?
Should we write defensive code or check for NULL every time we have passed a parameter or received a value back from a ...
4
votes
6answers
209 views
How does rapid prototyping fit into an agile methodology?
I work for a large company, which dictates the use of agile processes. For example, for our projects, we use cloud-based services that are specifically targeted at managing agile development.
The ...
7
votes
5answers
246 views
How should we develop the project with different members with different skill level? [duplicate]
We are developing a project with three members. I am the permanent member, we hired a contractor from a company to be a team lead and one very junior coder. Now the contractor is doing the server side ...
21
votes
9answers
1k views
Why not expose a primary key
In my education I have been told that it is a flawed idea to expose actual primary keys (not only DB keys, but all primary accessors) to the user.
I always thought it to be a security problem ...
0
votes
1answer
183 views
Does C++ support subtyping?
I know it might be a silly question to ask, but I didn't quite get an a absolute clear answer on this matter, so I thought I'd put it here.
Does c++ support the subtyping in the sense that it ...
1
vote
4answers
395 views
Explanation needed, for “Ask, don't tell” approach?
I'm taking a course on design patterns in software engineering and here I'm trying to understand the good and the bad way of design relating to "coupling" and "cohesion".
I could not understand the ...
0
votes
1answer
476 views
Making Class Diagram for MVC Pattern Project
I have a question about making a class diagram for an MVC based college senior project.
If we have 2 actors of users in my system, lets say Undergrad and Graduate students are the children of ...
8
votes
1answer
263 views
Where do we put “asking the world” code when we separate computation from side effects?
According to Command-Query Separation principle, as well as Thinking in Data and DDD with Clojure presentations one should separate side effects (modifying the world) from computations and decisions, ...
5
votes
2answers
274 views
Buzzword for “performance-aware” software development
There seems to be an overabundance of buzzwords for software development styles and methodologies: Agile development, extreme programming, test-driven development, etc... well, is there any sort of ...
0
votes
2answers
178 views
Subclassing to avoid line length
The standard line length of code is 80 characters per line. This is accepted and followed by the most of programmers.
I working on a state machine of a character and is necessary for me follow this ...
3
votes
3answers
492 views
How bad is it to have two methods with the same name but different signatures in two classes?
I have a design problem related to a public interface, the names of methods, and the understanding of my API and code.
I have two classes like this:
class A:
...
function collision(self):
...
-1
votes
3answers
105 views
Choosing right database for school administration system [closed]
I need to choose the right database for the open source school administration system, which will be presented at one contest. As in Czech there is another one. Its main disadvantages are high fees ...
6
votes
2answers
1k views
Front end written in languages used for back end! [closed]
From my experice in web development, I know that languages like PHP,Java,Python..etc is used for backend development stuff (software that running on server), and for front end stuff languages like ...
0
votes
2answers
134 views
Is there a better way to organize my module tests that avoids an explosion of new source files?
I've got a neat (so I thought) way of having each of my modules produce a unit-test executable if compiled with the -DTESTMODULE flag. This flag guards a main() function that can access all static ...
3
votes
1answer
138 views
Designing and refactoring of payment logic
Im currently working on an application that helps users to coordinate dinner clubs and all related accounting. (A dinner club is where people in a group, take turns to cook for the rest and then you ...
0
votes
1answer
134 views
In an optimal software design, would you ever need to throw InvalidOperationException?
.NET defines the InvalidOperationException as
The exception that is thrown when a method call is invalid for the
object's current state.
In an optimal software design, would it ever make sense ...
1
vote
1answer
70 views
Open source development life cycle [duplicate]
I am working as a IT-developer. I am developing J2EE application in our own life project cycle methodology.
I have seen and learnt so many SDLC cycle models in order to develop a project but this ...
0
votes
1answer
143 views
Architecting Domain Layer and other modules with dependency injection in mind
I am currently new to Dependency Injection pattern. I am influenced by link by Mark Seemann.
I have a confusion regarding whether an interface for an agent class of some agent module should be ...
3
votes
4answers
229 views
Generic term for “objects” vs “fundamental types”?
What are the exact terms to call data types with a logic structure (like C structures, C++ or Java objects) versus fundamental data types (like numeric types, characters, booleans...) independently of ...
0
votes
1answer
453 views
Component based software engineering vs Service Oriented Architecture [duplicate]
What is the real difference between component-based software engineering and Service Oriented Architecture?
Clemens Szyperski and David Messerschmitt present the following five principles that a ...
-3
votes
1answer
95 views
How do you call the discipline which consist of making the right choice of language/paradigm/class diagrams? [closed]
As a physicist, I've learnt programming on my own. But I would like to know the name of the discipline (like algorithmics is the discipline of designing algorithms) which consists of :
making the ...
2
votes
2answers
107 views
How to formalize feature requests
I'm new to developing software and have been handling feature requests for an internal web-app I built.
Sometimes the feature requests are straight-forward and require minimal business logic for me ...
-2
votes
2answers
539 views
When creating an open source project, is coding in VB.net a bad idea? [closed]
I am planning on creating an open source project, however, I was wondering if developers tend to steer away from projects that are coded in VB.net, even if they know VB.net.
From what I have read, ...
2
votes
1answer
398 views
What is the general format of a Software Design Specification?
I'm trying to document a piece of software I wrote in detail. An SAS is too high level and doesn't cover the API. I found several examples of an SDS online, but I don't see a trend in their format.
...
1
vote
5answers
331 views
Is it sometimes reasonable to cut corners and expect to re-write software in a couple of years? [duplicate]
I work for an organization with one developer (me) and one DBA. When I started, the previous developer had developed applications that had bad architectural practices and it was getting and more time ...
1
vote
2answers
167 views
Event based logging. Is it a good idea and is it ok to pass a handle to a “logged” object?
Hi I have fairly complex program that is doing computations in a quite large loop. I want to log some basic statistic about the run to be able to analyze its performance over time and vs loop number. ...
5
votes
5answers
685 views
Migration from a complex C++ application to C# a — good idea?
We currently have a complex VC++ software application, which uses a library like ObjectARX to build the dll. I feel there are many features in C# like Collections, Generics, and other libraries which ...
0
votes
2answers
322 views
Recommended Abstraction to transfer data over a nework than byte[] array?
I was curious, why do we prefer byte[] array to transfer data over the network and not anything else? Or if I am missing anything, what are the other ways to transfer the data over a network.
0
votes
2answers
156 views
Building a tool to fix compiler errors automagically
When a program doesn't compile, error messages are sometimes esoteric. Often a simple Google search leading to a site like stack exchange solves the problem. Now why can't we automate this?
How ...
2
votes
1answer
110 views
Software Design Stability , YAGNI and Agile [duplicate]
I've met the criterion of good system desing as its stability relative to requirements change.
Small req. changes should raise small changes in design.
Yet I have gut feeling that almost for any ...
1
vote
3answers
249 views
Synchronization in the given Code
I had an interview few weeks back, and I was asked to write a code with Setters and Getters. I had written the following code;
// Just an example
Class ABC{
private int num;
public void ...
2
votes
2answers
174 views
In MVC software, who should load the models?
I'm working in a REST JavaScript client, and I'm trying to follow the MVC pattern, but a very basic question came to my mind: who should make the http request and load the data into the model?
My ...
0
votes
0answers
79 views
How do I explain the importance of NUNIT Test cases to my Colleagues [duplicate]
I am currently working in Software Development for applications including lot of Mathematical Calculations. As a result there are lot of test cases that we need to consider. We donot have any NUNIT ...
0
votes
2answers
200 views
Use Case Diagrams - should I create a diagram just for a view business rule? [closed]
I'm modeling a UCD where I have two actors ( a content producer and a developer).. the content producer is going to create and specify details of a storyboard functionality, and the other actor ...
0
votes
1answer
94 views
Share Mulitple Classes as one dll or a lib with Mulitple Projects
Currently I have some shared class files(.cpp and .h) which I include them in around 20 Projects. Currently I have to include them in all of the projects.
So if I get some business requirments and I ...
1
vote
3answers
199 views
Should I force users to update an application?
I'm writing an application for a medium sized company that will be used by about 90% of our employees and our clients.
In planning for the future we decided to add functionality that will verify that ...
5
votes
2answers
330 views
Solutions for floating point rounding errors
In building an application that deals with a lot of mathematical calculations, I have encountered the problem that certain numbers cause rounding errors. While I understand that floating point is not ...
2
votes
3answers
171 views
When presenting a software design to upper management
I'm having to present a software design for approval today and as I'm going through the hundreds of pages of design documentation, cherry picking what's important, I'm unsure if I should start with ...
0
votes
1answer
175 views
How to construct UML activity diagram reflecting real programmed source code as docs
Please, tell me the things I must use for modeling an (Enterprise Architect) activity diagram of
object1.method1() calls object2.method2()
I'm able to dragndrop a method of a class from model ...