Reputation
4,394
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 10 27
Newest
 Nice Answer
Impact
~288k people reached

Dec
15
comment What are technologies like XML, JSON, and YAML classified under?
@Neil "aren't specifying what computation should be performed". That's the point. Declarative languages aren't required to illustrate how the program should perform a task. They only describe the what. In the case of HTML/ant the data describes steps that the program should take to construct a document or perform a list of tasks. Their structure is not imperative, though their data/structure can be used to denote the steps that an imperative program should take.
Dec
15
comment What are technologies like XML, JSON, and YAML classified under?
@GlenH7 JSON is a language, specifically it's a context-free language that follows a context-free grammar. It's not a 'language' in the classical Turing complete sense but that's why the different levels of classification exist.
Dec
15
comment Best practices for serialization of DDD aggregates
I think the 'usual' assumption is that the data being serialized into a general purpose format (ex xml, json) will be public and that privilege is controlled via the API through ACLs or some other equivalent. General purpose serialization/deserialization falls more along the lines of decoupling data from business logic going from one system to another.
Dec
15
comment Best practices for serialization of DDD aggregates
@EagleBeak Oh, I didn't realize your concern was specifically about handling private members. In your case you could serialize in binary (assuming the receiving system follows the same rules/structure that the domain objects were created under) or write some logic that extracts just the public data prior to serialization.
Dec
15
revised What are technologies like XML, JSON, and YAML classified under?
added 367 characters in body
Dec
15
answered What are technologies like XML, JSON, and YAML classified under?
Dec
15
answered Best practices for serialization of DDD aggregates
Dec
15
comment Dealing with several custom getters
Get rid of the ABC. Detect the type using if([data] instanceof [type]) in your parse method. Throw an exception in the else statement if the type doesn't support parsing. I could write a very nice solution in C# but Java doesn't include a typeof() method to use types as it's own type for comparison.
Dec
15
comment Why using string[] args in all main methods?
In addition to adding the ability to open files using a flag you can also add support to enable debug/logging for tests or pipe data in/out of an application if necessary.
Nov
9
awarded  Revival
Oct
1
awarded  Nice Answer
Sep
11
awarded  Yearling
May
19
awarded  Popular Question
May
15
awarded  Great Answer
Mar
9
comment Difference between incremental and iterative approach
@Basilevs Is that better?
Mar
9
revised Difference between incremental and iterative approach
added 1753 characters in body
Mar
9
answered Difference between incremental and iterative approach
Feb
27
comment How to manage accidental complexity in software projects
I hate to sound cliche but what I'm saying is embodied by the quote, "10 years of experience is not the same as 1 year of experience 10 times." How much time allowance should programmers be given to see out new challenges depends on the schedule and organization. Google seems to thing 20% is a good investment. Not only has 20% time lead to new business opportunities but it has contributed to the long-term growth and happiness of their developer's talent.
Feb
27
comment How to manage accidental complexity in software projects
@CortAmmon Bad analogy. Kinesthetic memory responds in the way it is trained. Practicing at game speed is exactly what you should do, just in shorter intervals. Anyway, this isn't a fitness site. The point is, accidental complexity is the result of the inability to identify/manage complexity. When faced with new problems and a limited understanding of the possible solutions a developer will try to 'code around' the problem. It takes the experience of facing difficult problems to be able to recognize and implement new approaches.
Feb
27
asked What is the absolute minimum set of instructions required to build a Turing complete processor