Reputation
100,720
Next tag badge:
691/400 score
79/80 answers
Badges
26 223 387
Newest
 Populist
Impact
~2.2m people reached

9h
comment Can DataMapper class pattern contain SQL?
I'm not sure what you're asking here. Data Mappers commonly contain SQL; whether its raw SQL or not depends on what your definition of "raw SQL" is.
9h
comment What can I do with XSB that I can't do with Prolog?
As someone with a database background and a closeted interest in Prolog (but not the will to wrap my head around it), I can see how table-based logics would be attractive. Think: Expert Systems.
14h
comment Idiomaticy of macros in C++
stackoverflow.com/q/96196
1d
comment Reducing boilerplate in class that implements interfaces through composition
You can have multiple inheritance using interfaces in both java and c#, just as the op has done in his example code.
1d
revised Difference between Dependency Injection (DI) and Inversion of Control (IOC)
No need for edit-orialization, every post has a detailed edit history viewable by anyone.
2d
comment php vs c# application
There's not enough information here to make your question answerable, but on the face of it, PHP doesn't seem like a very good fit to me (it being primarily intended to be a tool for the creation of dynamic web pages, not applications involving embedded hardware). You need to do some more research.
Jun
27
comment Updating a video's view count. Should this happen client-side or server-side?
If I were doing it, I'd update the viewcount on the server when the video is requested, and then include the new value with the video when you display it. Simple.
Jun
27
comment Why are the more popular seeds for angular less likely to include requireJS (and grunt), and does this reflect something beyond personal taste?
You said it yourself... People have multiple choices, so why bake it into the "seed," especially when it really doesn't have much to do with Angular specifically?
Jun
26
comment How to avoid tying these two methods together with global mutable state?
Here's some background material to get you started: Encapsulating state in Javascript
Jun
25
comment Decoupling related services
There is no "correct" degree of coupling. The amount of coupling your application has will depend entirely on the nature of your software's non-functional requirements.
Jun
25
comment Does anyone know what version of the Play framework comes with the newest version of the Scala plugin for IntelliJ?
Why is there a green Honda Civic parked out in front of my house? Is it still there?
Jun
25
comment Language/Programming term for paired delimiters
"Bracket delimiter" is a tautology. You already told us it is both a bracket and a delimiter in your question. "Block delimiters" (suggested as an alternative term in the Wikipedia article you linked) is a better definition.
Jun
25
revised guideline on void methods that do not throw exceptions
deleted 11 characters in body
Jun
25
comment guideline on void methods that do not throw exceptions
@gnat: This function doesn't return anything, nor is it swallowing the exception (in the anti-pattern sense).
Jun
25
comment guideline on void methods that do not throw exceptions
Depending on the unit test framework in use, you can generally write unit tests that assert if a method throws. Since the method returns void, presumably the method is causing side-effects; you can make assertions based on those side-effects occurring.
Jun
25
comment Language/Programming term for paired delimiters
In any case, it's called a "code block." Wikipedia calls it a "block" because <tag>content</tag> is technically not code. if you want your users to understand, you can't use any other term; all of the other possible candidates are obscure parser terminology.
Jun
25
comment Language/Programming term for paired delimiters
@user: Doesn't seem relevant. Heredoc appears to be a way to close out multiline documents passed as input to a program, and doesn't have much to do with delimiter pairs like braces (except insofar as it has a passing resemblance).
Jun
25
revised Language/Programming term for paired delimiters
deleted 12 characters in body
Jun
25
comment Language/Programming term for paired delimiters
Is there a term to describe the contents of such pairs? -- en.wikipedia.org/wiki/Block_(programming)
Jun
25
comment Language/Programming term for paired delimiters
@User: I don't see how that applies here.