software-engineering

Breaking the Build, Why is it a bad thing?

When I started building a continuous integration server, I ran across the statement "It's bad to break the build [of the code]." After finishing that project I came to the conclusion that "Breaking the build." was a catchy phrase that was being thrown around a lot because of the alliteration, or I wasn't understanding a key element o...

Class methods implementation: should it change a class' member variable or take in arguments?

I guess I'll try to explain my question through 2 code snippets: // snippet 1 class FooBar { private int value; public int DetermineSomeResult() { PerformSomeCalculationOnValue(); PerformSomeMoreStuffOnValue(); return value; } public int GetCachedValue() { return value; } } The fir...

Software Inspection

Is it advisable to employ someone who is not an information technology professional as a scribe in an inspection session? We have a team to inspect software, test documents and so on, and we have a position for a software inspectioner. Can i employ a person with no IT skills to write down the reports? ...

Software Inspection

Possible Duplicate: Software Inspection Is it advisable to employ someone who is not an information technology professional as a scribe in an inspection session? We have a team to inspect software, test documents and so on, and we have a position for a software inspectioner. Can i employ a person with no IT skills to write d...

Software Inspection

Is it advisable to employ someone who is not an information technology professional as a scribe in an inspection session? We have a team to inspect software, test documents and so on, and we have a position for a software inspectioner. Can i employ a person with no IT skills to write down the reports? ...

Does using virtual methods violates LSP( L part of SOLID principles) or there are some exceptions?

Hi all, Does using virtual methods violates LSP( L part of SOLID principles) or there are some exceptions? Thanks in advance, Saghar Ayyaz ...

Mindmap and programming

Do you use mindmap to brainstorm ideas before coding? Should I and why? ...

Why we use same word "Design" for designing class diagrams and designing UI elements?

I noted that we use design for design software, design class diagrams, design, ... I also know we use design for UI design. Why we use same word for two different purposes? Is there a way to distinguish between them? tnks ...

What is the recommended strategy of complete refactoring of a live product?

Hi, Consider that you have "System_A" which is a web application. And System_A has simply 3 layers: UI, BusinessLayer and Data-Layer. And now you want to make a widespread refactoring of System_A (the UI and BusinessLayer only) meanwhile that is working as a live product. What should be the safest strategy of refactoring System_A and ...

Criticizing Matlab from a software engineer point of view

I am an experienced C++/Python/Java programmer starting to write some Matlab code and I'm having a really hard time getting use to it. Somehow it reminded me of something I read on a random blog a while ago : Closed languages owned by a single company without the resources to build out an ecosystem can and do fail eventually. Someti...

how can i create a DLL of a program written in c program..?

how can i create a DLL of a program written in c program..?(am using turbo c compiler) the same program i could use with c# or VB program as- DLL reference.. http://support.microsoft.com/kb/106553 check out this link(i didn't understand this..) ...

Do you separate SQL from the BL?

Many years ago, when I started (C) we wrote the business logic in one place, and all the SQL statements for that business logic in a different place. (The reason was probably due to the fact each file passed a different build process, sql files with the Oracle builder). But this prevailed in other places, where there is no need for phys...

Deleting entities strategy

In order to keep consistency in the system I can consider 2 deleting strategy: cascade deleting of all entities in relationships; emulating deletion (i.e. nothing is really deleted from DB but, for example, field deleted in the entity has value true and it affects the displaying logic). I like the second approach but I don't know ho...

"Journaling" or "transactions" design pattern?

I'm looking to implement an object that is journaled, or has a persistent transaction in it. That is, the object contains data (a Map perhaps). As changes are made to the data, those changes are held separately, sandboxed if you will, so that any outside object can either reference the base state (before the changes) or can access the la...

what is the best way to store a tree structure in a relational DB?

There is the: put a FK to your parent method , i.e. each records points to it's parent Which is a hard for read actions but very easy to maintain And then there is a directory structure key 0001.0000.0000.0000 main branch 1 0001.0001.0000.0000 child of main branch one etc Which is super easy to read, but hard to maintain. Wha...

Differences in development process - Applications vs. websites

Background: All of my experience in developing software and managing projects has been related to applications (not counting a few trivial hacked-together websites here and there). Process-wise, I typically start off templating Rapid Development and the Software Project Survival Guide and then tweaking the plan to suit the needs, resourc...

I.Y.H.O, what phase of software development takes the most time(besides maintance)?

In your experience, what phase of software development takes the most time? That is besides maintenance, of course. And which phase takes the second most time? Which methodology do you use? ...

Do you know a good book/website about structuring your codes (PHP/ Web programming)

i mainly use PHP and I have been coding using it for a while. My main problem with PHP is that I think as your program gets bigger, it gets harder to maintain your code (probably applies for other things). I want to reduce this complexity in maintaining/modifying my codes. I want to make things modular and have rules when to start a new ...

What is the secret behind being a good software developer?

I had this question in my mind. I thought i figured out the answer like each one of you. So, 1) what do you think as the secret behind being a good & passionate software developer? 2) What is the single most important thing that a software developer should posses? I never meant to pollute this forum with non-programmatic question, but...

What language is the Facebook Questions application written in?

What languages are Facebook Questions coded in? PHP? What else? ...