Skip to main content
Brian Agnew's user avatar
Brian Agnew's user avatar
Brian Agnew's user avatar
Brian Agnew
  • Member for 14 years
  • Last seen more than 1 year ago
59 votes
Accepted

How to write unit tests before refactoring?

59 votes
Accepted

Is it a good idea to call shell commands from within C?

39 votes

How to warn other programmers of class implementation

37 votes

Value of using private methods vs all public in classes for internal software for ease of unit testing

27 votes

Are so called "cross-cutting concerns" a valid excuse to break SOLID/DI/IoC?

27 votes

How to return warnings alongside result of calculation to caller of a Java method?

21 votes

How do I create my own programming language and a compiler for it

13 votes

When to use inheritance, when to use 'just a boolean field'?

11 votes
Accepted

Should a DAO be singleton or not?

7 votes

Law of Demeter and its applicability

5 votes
Accepted

Write unit tests for the libraries, or just the application?

5 votes

Singleton Usage

5 votes
Accepted

Create different classes for staffers and users?

5 votes
Accepted

memory allocation in C while calling function

5 votes

Unit Test for Void which copies data from one location to another

4 votes

A very basic question about whether I should check for null and throw NPE?

4 votes
Accepted

Data Storage Architecture: Storing Hierarchical Data (JSON/BSON)

4 votes
Accepted

what is this kind of object creation?

4 votes

How to handle when only certain derived classes need to be disposed?

4 votes

Is this the wrong environment for CI?

4 votes
Accepted

What is the best data structure to store 2 keys and 3 values?

4 votes

Checking preconditions the proper way

4 votes

Idiomatic pattern matching equivalent in Java

3 votes
Accepted

Better way of providing access to a single "backend" class to the whole application

3 votes

Value of dependency injection in MVC with skinny controllers

3 votes

What are 'good' cases for subtype overloads

3 votes

Should other instances of SUT be mocked?

3 votes

Mutability and getters

3 votes
Accepted

A question about implementing objects in a language written in C

3 votes

Storing large binary data for integration tests