I manage social media accounts for several people. My expertise with social media comes with the creation of actual content and not having any real ability in programming or software. The management ...

I have some queries that I use all the time (like get rows only of some specific type, or count something etc.). I'd like to organize them somehow (better then I currently do).
Currently I have them ...

Let's say there is a utility class that provides some common static methods used everywhere in your code by many other classes.
How would you design your unit tests for the consumers of the utility ...

readers. I'm a guy relatively new to programming (I mainly code really basic HTML and fool around with Linux environments) and have something I'd really like to do.
Say, for example, that I have an ...

Booleans are often used to model domain specific dichotomies. The most common example I can think of is the success or failure of an operation. It seems to me that a boolean must be interpreted in the ...

I have the following class, this class like many rely one parameters coming in as a pair.
Originally for convenience, I set them as params Object[] values and check if there is an even number of them ...

When I work on some programming project (usually command line application in Python with many switches), I'm usually creating about 30 and more functions. Most of the functions are in one file (except ...

I am currently trying to figure out SOLID. So Dependency inversion means that any two classes should communicate via interfaces, not directly. E.g. if class A has a method, that expects a pointer to ...

I'm trying to figure out a way to capture the system audio of an Android and/or Windows Phone. The idea is to provide a stream based on the music I'm currently playing on my phone.
What I'm not sure ...

I have a new idea, which I think in a way would work well, I have been working as a Java Developer since past few years, I also have a good knowledge on design patterns and data structures which are ...

I am very new to software architecture.I am developing an iPhone app.
I have read that iOS follows MVC architecture, but one of my previous projects had busies logic layer, helper folder too in its ...

I am having some problems trying to figure out when to use a factory or to wrapper class. This question is slightly geared towards C# I guess, so I'm not sure if this is the correct place to ask.
Say ...

We are talking about implementing a system that easily generates sales reports for our salesemployees. We want to create a webapplication with one or maybe more textarea's to gather the inputdata from ...

I am planning to design a module from my project which is having let User login securely and keep the session alive securely on a machine accepted by user as frequently used machine. I have identified ...

Is object oriented programming always the good way for all types of projects? Is this methodology the best suited for large projects like compilers, interpreters and other large systems? Most of the ...

I hope this question is allowed here, if not please delete or move!
Last year a colleague mentioned the 'Two Generals' thought experiment to me which has stuck in my mind ever since, especially as I ...

If I have parts of code that need to mutate the underlying data structure but then others that consume, not mutate the structure, is it good practice to create a wrapper which does not expose mutation ...

I am looking for a way to design my application. Suppose you had a car drawing thing. Car has multiple parts.Some are going to be visible some are not.For example battery should be drawn. So someone ...

I'm developing a real time chat app. After searching around for a while, I found Ejabberd and Erlang is a good option.
The question is the Ejabberd is not providing all the functions I need. I need ...

I am about to start work on a new project, and I am looking for some advice on what approach I should take in terms of what kind of project it should be.
Basic overview of requirements
The system is ...

I'm wondering if the following use of typedefs is any good practice, or if there are any downsides to it.
Basically I have alot of "data"-structs, which are intended to be used in (globally unique) ...