Are “conditional” caching policies ever actually useful?
I’m designing an abstraction over ASP.Net’s built in caching to make it not so horrible to use. One design decision I’m having to look at is if I should restrict people to using just one cache policy on each item.
Is the average number of bugs per loc the same for different programming languages? [closed]
Closed 8 years ago.
About classes and their valid states
I get stuck each time I need to write a constructor for any class I design. The reason is that I am not sure what should go into a constructor and what should not.
Addition vs multiplication on algorithm performance
I am studying about optimizing alogrithms.(Prof. Skiena’s Algorithm Guide book)
Randomness of wrapped RNG
There are plenty of questions around regarding random number generation, but I couldn’t find anything that exactly matched my question. Apologies if I missed one.
Is garbage collection needed for implementing safe closures?
I recently attended an online course on programming languages in which, among other concepts, closures were presented. I write down two examples inspired by this course to give some context before asking my question.
Is garbage collection needed for implementing safe closures?
I recently attended an online course on programming languages in which, among other concepts, closures were presented. I write down two examples inspired by this course to give some context before asking my question.
Are there any practical uses of allowing recursive inclusion of a file?
I am currently implementing NASM-like preprocessor for my assembler, and I am wondering what is the correct way of handling recursively included files. From what I see, there are two ways to deal with it without hanging the preprocessor or even the OS:
Why is (position < size) such a prevalent pattern in conditionals?
In a condition statement (IF) everyone uses (position < size)
, but why?
Only convention or there is a good reason for that?
I need some help with defining a shell syntax
I’m trying to understand more about shells. I’m looking to implement one and want to look at what’s been done in the past.