I believe that it's better to code to interfaces instead of implementations. In Java:
List<User> users = new ArrayList<User>();
There's no need to specify the runtime type of users all over the program if the code only cares that it implements List.
However, I encounter many people who believe that it's totally fine, even when they'r...
I'm interested in working in the Oil and Gas Industry as a Software Engineer. What sort of Math is commonly required to work in this industry? Any first hand experience would be beneficial.
...
I'm looking through some old code and realize there are a ton of "helper" methods in this class as well as a ton of fields that are set via dependency injection and configuration. All of these things are essentially used by one very important method in the class. Is there a proper term for this in software development? Can I refer to ...
Both design patterns encapsulate an algorithm and decouples implementation details from the calling class. The only difference I can discern is that the Strategy pattern takes in parameters for execution, while the Command pattern don't.
It seems to me that the Command pattern requires all information for execution to be available when...
A good way to improve as a developer is to look at well-written code.
What examples of beautiful, well-architected Javascript have you encountered?
Note that I am not looking for a debate about the language itself. It has good parts and bad parts; some like it, and many hate it. Let's leave that discussion to other threads.
...
suppose that your company will start to use a new software process, are there methods to test or estimate how successful this process will be according to certain properties or rules ?
...
Hi, I am studying Software Engineering this year and I am little confused about the question in the title.
Both of my professor and the reference ("Software Engineering A Practitioner Approach") differentiates the three titles as different models. However, I can't see obvious difference as their methodologies look the same to me but usi...
I started my professional career in software development 31 years ago (yikes). Over the years, my working life has moved to different areas (project and program management, consultancy, solution architecture and so on). I've never totally given up programming, but it's been minor bits of assistance for others rather than anything hardco...
Say you were born before modern computing was invented or even though of. What would you have chosen as your profession or field of study? Did you have any backup plan in your life that would be what you would have done, or have you always known you wanted to be involved in software.
Any hobbyist programmers? What would you do with y...
Lets collect all together standards which are used in software development. I think we should follow this pattern:
identification: [e.g.IEEE 123456789]
title: [title in words]
organisation: [organisation which released the standard]
keywords: [e.g. area of the standard]
description: [description as text
date: [date or year it was relea...
I want the events to be arbitrary events, for example: "User answered X", "User P sent you a message with Q".
...
I want to create a spring-ws web service that eventually marshals a POJO into xml. I'd also like the clients of the web service to unmarshal the xml back into the POJO. How should I structure the projects?
Currently my thinking is:
Domain and business layer project - has the ability to query mainframe and create POJOs. This project ha...
Hi,
Imagine the following scenario.
class Shape
{
// methods of Class Shape
}
class Circle extends Shape
{
// methods of Class Shape
// methods of Class Circle
}
class Square extends Shape
{
// methods of Class Shape
// methods of Class Square
}
class Canvas // This class should a bucket of objects that belong to Sq...
This is a point that has always confused me about open source software. Normally, I write everything from scratch. What I'm trying to find out is what licenses allows me to do this?
...
I recently graduated with a degree in Networking and Systems Administration, and I am currently waiting to start a job in that same field. I am a hobbyist programmer, but I enjoy it very much and would like to get more serious about it. What I am struggling with is hard for me to put into words exactly, but I will try.
During school, I...
In Software Architecture - Foundations, Theory and Practice, I can find definitions for both. The problem is that I don't get what each one of them means in plain english:
Architectural Pattern.
An Architectural Pattern is a named
collection of architectural design
decisions that are applicable to a
recurring design problem pa...
I'm trying to find some publicly available "lessons learned" after a failed software development project. The bigger the project, the better. I'm interested mostly in opinions expressed by its participants: managers, programmers, designers, etc.
Information from analysts like F. Brooks, S. McConnell, and others is not as important, but ...
I have a class called 'Inventory' that has two subclasses, 'Drink' and 'Condiment'. They are a part of a software system being developed for use in a hot drinks vending machine. Note that this isn't really going to be implemented, rather it is a piece of coursework for my Software Engineering class. Anyway, I'm having trouble deciding wh...
I work in the enterprise web software industry. Currently I work with everything Microsoft.
What are the TOP 5 print publications I should be reading to deepen my understanding of enterprise development, gain technological, business, and industry insight. Additionally what are the TOP 5 digital publications/web sites?
...
Would the traditional waterfall model or the spiral model be suitable? Or perhaps, SCRUM with Agile management would be best bet?
thanks in advance
...