424 reputation
210
bio website
location
age
visits member for 3 years
seen Apr 10 at 20:42

Apr
10
comment Is it OK to deprecate methods that need to be public due to the packaging model but are not to be used outside the codebase in Java?
A UML sequence diagram would be helpful to see the flow.
Apr
10
comment Is it OK to deprecate methods that need to be public due to the packaging model but are not to be used outside the codebase in Java?
There's a convention in Eclipse Java to use internal path for having private methods that should not be used by external classes. However, I'm not sure it solves your problem since Message can't be both internal and not (for the methods people should call).
Mar
10
awarded  Popular Question
Feb
14
comment Possible way to make java class builder more abstract by using interface required keys
Related blog explaining this builder/required technique: blog.crisp.se/2013/10/09/perlundholm/…
Feb
12
awarded  Yearling
Feb
11
revised Should I use Strategy Pattern for this task?
added 170 characters in body
Feb
10
revised Should I use Strategy Pattern for this task?
added 351 characters in body
Feb
10
answered Should I use Strategy Pattern for this task?
Feb
5
comment How to add permissions checks 'after the fact'
I think this is a great answer because it points out the trade-off between flexibility and the added complexity (obscurity) of a design pattern.
Feb
4
revised One controller to rule them all?
Fixed English
Feb
4
comment One controller to rule them all?
I would also not try to come up with your own way, before checking out recommended ways. Google found me this tutorial: pluralsight.com/training/…
Feb
4
comment One controller to rule them all?
Re: #2, I would spend time on real security and not on security by obscurity.
Feb
4
suggested approved edit on One controller to rule them all?
Jan
28
comment Does functional programming increase the 'representational gap' between problems and solutions?
Your analogy with 30 students is interesting, but I doubt that your "Java class" taught you an analysis/design/methodology (ADM), eg. CRC cards, or that it was followed by all 30 students. My first OO class in Ada (1984) used the Booch method and our solutions all had the same high-level design. Classes were the nouns in the problem statement given to us by the instructor. Decreasing representational gap requires following a good ADM. One of the edits I made cites a paper from 2004 that says FP potentially lacks abstractions suited to real-world, supporting #4.
Jan
28
revised Does functional programming increase the 'representational gap' between problems and solutions?
added 23 characters in body
Jan
28
revised Does functional programming increase the 'representational gap' between problems and solutions?
added 181 characters in body
Jan
28
revised Does functional programming increase the 'representational gap' between problems and solutions?
added 4 characters in body
Jan
28
revised Does functional programming increase the 'representational gap' between problems and solutions?
added 3225 characters in body
Jan
27
comment Does functional programming increase the 'representational gap' between problems and solutions?
@paul Thanks for those refs, very constructive feedback.
Jan
26
comment Does functional programming increase the 'representational gap' between problems and solutions?
@itsbruce I realize FP is much more than C. The question is about how is it easy to understand the solution that shows the relationship between a Protein and a Molecule. I can do a class diagram in UML showing that relationship (the problem domain), and my OO solution can therefore mimic it in a lot of ways. There's traceability from the problem to the solution. I'm not seeing how this is done in FP at a higher level (before functions).