Tagged Questions
0
votes
0answers
56 views
How to implement inventory analysis pattern?
I read about Martin Fowler's inventory analysis pattern from here: http://www.martinfowler.com/apsupp/accounting.pdf. It is interesting, but somehow I can't find a way to implement the pattern in a ...
0
votes
0answers
54 views
Multi tenancy like problem in a single application
I have a web site that is, at a simple level, a document that contains a series of forms and a workflow as to how that document is managed. There are other systems which are outside of the document ...
5
votes
1answer
729 views
Design pattern for object conversion (java)
I don't use design patterns very often, besides an occasional factory and MVC, and I want to start using them more.
I have a concrete case at hand that I would like your opinion on the use of design ...
1
vote
1answer
101 views
How to implement string matching based on a pattern
I was asked to build a tool that can identify if a string match a pattern.
Example:
{1:20} stuff t(x) {a,b,c}
would match:
1 stuff tx a
20 stuff t c
It is a sort of regex but with a ...
1
vote
2answers
107 views
Are there any rules and patterns used in software modeling? [closed]
Which are the most important and/or used rules and patterns in software modeling and how are they affected by the use of certain programming language, tools, platform, technology...etc?
18
votes
7answers
4k views
Why avoid Java Inheritance “Extends”
Good day!
Jame Gosling said “You should avoid implementation inheritance
whenever possible.” and instead, use interface inheritance.
But why? How can we avoid inheriting the structure of an object ...
7
votes
2answers
548 views
Open/Closed principle and reopening Ruby Classes
In OOP there is the Open/Closed principle that states that
"software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification".
Taking in ...
42
votes
8answers
3k views
Are design patterns really essential nowadays? [duplicate]
I was reading "Coders at Work" and have faced the fact that some of the professionals interviewed in the book are not so enthusiastic about design patterns.
I think that there are 2 main reasons for ...
