I’ve just had to switch out an ORM and it was a relatively daunting task, because the query logic was leaking everywhere. If i’d ever had to develop a new application, my personal preference would be to encapsulate all query logic (using an ORM) to futureproof it for change. Repository pattern is quite troublesome to code and maintain so i was wondering if there are any other patterns to solve the pro..
Category : softwareengineering
How do you evaluate arbitrary math expressions using temporary variables instead of a stack? What I’m talking about is translating an expression into an array of simple operations- each that change one variable based on the second arg..
Consider an existing project that is dual-licensed GPL + either MIT o..
I read the hardware requirements of WCF in a book and two of them are the following..
I find that the encapsulation required by OO has me frequently passing paramenters down the line from parent to child to great grandchild to second grand nephew once removed (not actually that bad). But inevitably in the process, and especially if graphics are involved there will be garbling the by the third iteration of someConstructor(int minX, int minY, int maxX, int maxY)
I’ve read about Template Method Pattern but I’m not sure about one ..
Why does the compiler store constant values in the assembly metadata?
Are they directly embedded to Intermediate Language code from the assembly met..
I need something that represents a queue ..
In my team we have been working on a firmware for a product. The product was released some years ago but we still implement new features in the firmware and regularly provide a new firmware for our customers. Recently we have developed a new product which use the same firmware as the first one. Of course, we had to change the firmware to allow for some new capabilities (while still keeping functionality for existing product in..
Imagine a scenario as follows: Lets say you have a central computer which generates a lot of data. This data must go through some processing, which unfortunately takes longer than to generate. In order for the processing to catch up with real time, we plug in more slave comp..