Reputation
1,931
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 9 13
Newest
 Yearling
Impact
~136k people reached

  • 0 posts edited
  • 1 helpful flag
  • 26 votes cast
Jan
14
revised Do any object-oriented programming languages support “collective constructors”?
added 382 characters in body
Jan
14
answered Do any object-oriented programming languages support “collective constructors”?
Jan
9
revised PHP - PSR 0 - Configuration Constants
deleted 39 characters in body
Jan
9
answered PHP - PSR 0 - Configuration Constants
Oct
30
revised If an entity is composed, is it still a god object?
added 23 characters in body
Oct
30
answered If an entity is composed, is it still a god object?
Oct
24
comment What are the safety benefits of a type system?
I'm not seeing anything in there about class members. Type systems can also warn you against trying to call x.bar() unless x is guaranteed to be an object which implements bar().
Oct
22
awarded  Citizen Patrol
Oct
16
comment Why do we write the action to be performed by a function in jQuery inside the parentheses?
Uhhhh, because the function is going to be executed an an indeterminate future moment, or possibly never? That's not a jQuery thing either, it's far more general as a Javascript pattern.
Oct
16
comment Storing a value vs calling reference for repeated use in Java
Yeah: "It's easier to optimize correct code than to correct optimized code." For this kind of decision, focus on making the code clear, and profiling will tell you what to bother changing, if anything.
Sep
28
revised Refactoring jQuery spaghetti code to use DDD
typo
Sep
27
revised Refactoring jQuery spaghetti code to use DDD
deleted 66 characters in body
Sep
27
revised Refactoring jQuery spaghetti code to use DDD
added 508 characters in body
Sep
27
revised Refactoring jQuery spaghetti code to use DDD
added 629 characters in body
Sep
27
revised Refactoring jQuery spaghetti code to use DDD
added 629 characters in body
Sep
27
answered Refactoring jQuery spaghetti code to use DDD
Sep
26
comment What does the Spring framework do? Should I use it? Why or why not?
@Zoot Thanks, fixed.
Sep
26
revised What does the Spring framework do? Should I use it? Why or why not?
Fix minor wrench/hammer confusion
Sep
22
comment An ideal way to decode JSON documents in C?
Just BTW, if you go for the PHP style there's one aspect of json_decode() I think is problematic: It's sloppy about what it returns. You don't know if it's returning null because that was the normally-decoded JSON value, or whether there was an error. You then need to call another function just to figure out what kind of error may-or-may-not have occurred. I'd rather have a richer result object or throw an exception or something.
Sep
19
comment Practices for domain models in Javascript (with frameworks)
Is your question more about how you manage object instances on the JS side for decoupled components, or more about the communication between the client and server? Also, regarding M.getComplexValue(), you may want to look into the "Promise" pattern as a way to minimize callback-hell while allowing all operations to be (potentially) asynchronous.