289 reputation
14
bio website kaerber.livejournal.com
location Moscow, Russia
age 34
visits member for 3 years, 3 months
seen Feb 15 at 10:05
Professional software developer/system architect, amateur game designer/developer

Jan
28
answered To store data or not?
Jan
28
answered Returning different types from one function in a dynamically typed language
Jan
28
comment Returning different types from one function in a dynamically typed language
I think you are nitpicking, in Python a list and a tuple may be of different "types", but they are of the same "duck type", i.e. they support the same set of operations. And cases like this are exactly why duck typing has been introduced. You can do long x = getInt() in Java too.
Jan
28
comment A pattern to “atomically” update a pair of objects
Well, the methods of Account objects heavily depend on their behavior, and their behavior depends on a task at hand. An account in an ad agency is very different from a savings account in a bank. You should strive to model real world entities and their behavior/operations.
Jan
27
comment A pattern to “atomically” update a pair of objects
Both Updates are defined in the Transaction and their implementation is transaction-specific. There can be different transactions according to different business cases/workflows.
Jan
27
awarded  Yearling
Jan
27
revised A pattern to “atomically” update a pair of objects
added 259 characters in body
Jan
27
comment A pattern to “atomically” update a pair of objects
I do not agree about "the answer misses the point". The Transaction object (with a Commit method) is a requested OOP pattern. But I'll reformulate the answer a bit more clearly.
Jan
27
answered A pattern to “atomically” update a pair of objects
Jun
6
answered Why is it a good idea for “lower” application layers not to be aware of “higher” ones?
Apr
26
awarded  Editor
Apr
26
revised Transition from a “look ma, I can do this” web developer to someone who creates products that people and businesses can rely on
added 7 characters in body
Apr
26
awarded  Teacher
Apr
26
answered Transition from a “look ma, I can do this” web developer to someone who creates products that people and businesses can rely on
Apr
26
awarded  Supporter
Apr
26
awarded  Autobiographer