software-engineering

what does "engineering judgement" really mean?

Hi, When there is no explict rules about something , I ofter hear the words "use your engineering judgement to make the decision". How do you understand "engineering judgement"? What are the things we shared or believed in in common as an (software) engineer when we make decision? What is your personal "checklist" when you are making a ...

Where can i download some good software design document ?

Right now i am designing a software, and i need some good documents for reference. Where can i download some good system design or UI design documents ? by the way, i don't want just some document template. Thanks in advance! Regards, ...

[PHP, C#, Java] - classes with just public static methods vs instantiated classes

I understand that a class that consists of nothing but public static member functions is called a Monotype. And certain classes, such as the Integer class in Java/C#, have various static functions implemented. I am also guide of writing kitchen sink utility classes, like InputCleaner.StripHTMLTags() and etc. Is there a guideline for Mon...

Is this a fair question to ask in a Software Engineering Interview, phase 1?

All, I was promptly asked, upon showing up for phase 1 of an interview, to implement an http server in any scripting language I chose (Ruby/Python, etc.). I was not so accomplished in these languages, so I opted for Java. I was told I had 1 hour of time and I was told that the server must do the following: Reply with a 'hello' respons...

What is the current software development/design book you are reading?

Hello *, I am constantly interested in reading interesting software development or design books. I think this post could be a great source to share opinions on books currently read by users. Especially I would be interested to know if the book is worth buying/reading and what is the summary in the user own words (pretty short mini-revie...

Why are different types of software architecure important in the software industry?

As I read about software architecture (MVC, SOA, etc.), I had some questions: Why are so many architectures needed? What are the advantages of these architectures? How can I select an appropriate architecture for my projects? What are the guidelines I need to follow? I read the blog of scottGu and he specified that MVC will help in sea...

How does Continuous Integration improves software quality?

I believe that one of the biggest advantages of using CI is capability of detecting defects, which makes integration and deployment tasks easier. It is not clear to me, however, how does CI improves software quality. Obviously, the use of a good test suite results in less bugs, but does it changes anything regarding other software quali...

What is a Principal Software Engineer?

What is the job description of a Principal and how is it different from just a Software Engineer? ...

Use method flag or new method?

If I have a method that does something and additionally logs information, should I create a new method if I don't want to log or use a flag? public void MethodA(string myMessage, bool logIt) { if(logIt) { //do stuff with logging } { //don't need to log } } ...vs... public void MethodA(string myMessage) { //do stuf...

Why is it more costly to discover a defect later in the process?

Why is it more costly to discover a defect later in the process? I've heard this a lot but I struggle to understand and put context/examples to this. ...

Arguments against zip files as source control

What arguments can be used against using zip files of source code as a form of version control? In general each developer is working on their own program and has a responsibility for it. But there are times of course when other developers are involved in work on that program. Each developer has their own naming convention for zip files...

How to write a functional specification?

We always write functions or classes and their logic is very complicated. If there is no specification for these structures, later it will be hard for even ourselves to grasp the ideas. How do you write specifications for complicated functions and classes? Please tell me something about your own experience, but not just some link, th...

Use Cases - Help

I am new to writing use cases.I heard that Use cases are non-technical expressions . I have the following task for which i have to write Use case. (I reduced the requirement for your understanding) Registered Customer of ABC company logged in to the system with credentials to retrieve the complete Address of particular service provid...

Software Engineering -HLD and LLD ?

I am new to programming and recently i joined in a development team.Just I want to know the internal meaning of HLD ( High level design) and (Low level design). According to my understanding HLD = UML Design and LLD = Screen Shots of design (Preview shots) Help me to clear my doubts. ...

Software Engineering - UML-What is "Derived attributes" in Class Diagram ?

Just I am going through class diagram. some attributes inside the class is marked with slash "/" ex ( / -accountBalance:Dollar = 0 ). Just i wish to clarify ,when we say derived attribute, can we mean it Enumeration or other class instance (generally a custom data type ?). Thanks in advance. ...

Public functions that has to be called in a certain order - handling dependecies

Suppose I have a class that process some data class SomeClass { public: void SetData(IData*); void ProcessData(void); } The class would need the data to be set before ProcessData() can be called. What are some ways to enforce this dependency? I could return an error code or throw an exception if ProcessData() is called befor...

File Server Design Approaches.

I have been working on designing a file server that could take the load off from the primary website, and serve images/files over the web to the client. Primary goals of the file server: - Take off load from primary server hosting the site - Reuse the existing web server code base and avoid duplication of code/logic for better maintaina...

How do mobile service providers manage airtime data?

Am just curious on how mobile service providers manage the data used to top-up airtime in your cell phone. In my region, when you want to top-up airtime on your cellphone, you buy a "scratch" card that has a unique number which you key in on to your cellphone. If the number is valid the amount value of the card is added to your account ...

Caching data vs. recalculating in PHP

Here's the lowdown of the situation. I am creating a role-playing game with PHP. The combat system consists of the various buffs and debuffs. The combat is likely to take several turns (it's against an AI). I am of two mind about ensuring the correctness of the player's data (buffs and debuffs expire over time. A +5 strength buff may la...

a layer and layers relationship

i want to know the relationship between a layer and layers immediately above and below it how it will interact with these two layers and if there will be any interaction with other layer ...