Tagged Questions
3
votes
3answers
233 views
Working alone on a project
So I am working on a small Project at my company, I am a mere trainee engineer (halfway through a Software Engineering degree), where we are developing an intranet - based project management and ...
2
votes
3answers
156 views
Implicit optimization versus explicit optimization
To explain what I mean, let me start with an example.
Consider a deque that supports O(logn) concatenation with another deque and O(n) addition of n elements at one end. This dequeimplements a ...
5
votes
2answers
219 views
Cyclomatic Complexity Ranges
What are the categories of cyclomatic complexity? For example:
1-5: easy to maintain
6-10: difficult
11-15: very difficult
20+: approaching impossible
For years now, I've gone with the assumption ...
5
votes
3answers
151 views
How can I create and manage permissions more dynamically?
I want to implement a security system into my web-based Intranet application which allows security administrators to 'fine-tune' exactly what type of access a user/role has to an object. For example, ...
3
votes
3answers
369 views
What is the best practice, point of view of well experienced developers [closed]
My manager pushes me to use his self defined best practices. All of these practices are based on is own assumptions. I disagree with them and I would like to have some feedback of well experienced ...
8
votes
3answers
274 views
Is there such a concept as “pseudo implementation” in software development?
I'm looking for a label to describe the practice of using human-based computation methods or other means of "faking" an algorithm for the sake of getting a product or demo off the ground quickly ...
12
votes
2answers
430 views
Build one to throw away vs Second-system effect
On one hand there is an advice that says "Build one to throw away". Only after finishing a software system and seeing the end product we realize what went wrong in the design phase and understand how ...
13
votes
8answers
902 views
Is perfectionism a newbie's friend or enemy? [duplicate]
Possible Duplicate:
Where do you draw the line for your perfectionism?
I see that the development community is very focused on doing things the right way and personally I would like to do ...
2
votes
2answers
183 views
Returning a mock object from a mock object
I'm trying to return an object when mocking a parser class. This is the test code using PHPUnit 3.7
//set up the result object that I want to be returned from the call to parse method
...
0
votes
3answers
174 views
How should compound words be handled when coding? Is there a definitive list of compound words? [closed]
QUESTION:
How should you handle compound words when programming?
Are there any good lists available online for developers of generally accepted technology-related compound words?
I can see how ...
1
vote
4answers
245 views
Is extensive documentation a code smell? [closed]
Every library, open-source project, and SDK/API I've ever come across has come packaged with a (usually large) documentation file, and this seems contradictory to the wide-spread belief that good code ...
24
votes
9answers
2k views
Simple vs Complex (but performance efficient) solution - which one to choose and when?
I have been programming for a couple of years and have often found myself at a dilemma.
There are two solutions -
one is simple one i.e. simple approach, easier to understand and maintain. It ...
1
vote
3answers
142 views
Defining formula through user interface in user form [closed]
I am a student and developing a simple assignment - windows form application in visual studio 2010.
The application is suppose to construct formulas as per user requirement.
The process: It has to ...
2
votes
3answers
159 views
Overloading interface buttons, what are the best practices?
Imagine you'll have always a button labeled "Continue" in the same position in your app's GUI.
Would you rather make a single button instance that takes different actions depending on the current ...
5
votes
4answers
887 views
How should UI layer pass user input to BL layer?
I'm building an n-tier application, I have UI, BL, DAL & Entities (built from POCO) projects. (All projects have a reference to the Entities).
My question is - how should I pass user input from ...