Are there any reliable solutions for annotations/reflection/code-metadata in C?
Not all languages support java-like annotations or C#-like attributes or code metadata in general, however that doesn’t mean it is not possible to have in languages that don’t have this.
Identifier for the “completed” stage of a process: 0, 99, something else? [closed]
Closed 9 years ago.
Is there a name for this functional programming construct/pattern?
I wrote a function and I’d like to find out if it is an implementation of some functional programming pattern or construct. I’d like to find out the name of this pattern or construct (if it exists)?
Loop fusion example using aspect-oriented framework
I had recently read a paper ‘Aspect-Oriented Programming’ by Gregor Kiczales and others, and found there the loop fusion example.
Is it possible in C++ to define several methods at once?
Sorry for the confusing title of this question, but I can’t think of an exact way to word it. I have a very long class with hundreds of similar methods and I am trying to find a way to construct it without so many lines of code and so many DRY violations. Each time I add a new property to my class I have to write two methods and update the copy function. There are already over 80 properties.
s expression representation for c
Experimenting with various lisps lately (clojure especially) i have wondered if there are any s expression based representations of (subsets) of c, so you could use lisp/closure to write macros and then convert the s-expression c tree to pure c.
Must I think about compiled machine code when I write my code?
For example I’ve got following code:
Must I think about compiled machine code when I write my code?
For example I’ve got following code:
Must I think about compiled machine code when I write my code?
For example I’ve got following code:
Must I think about compiled machine code when I write my code?
For example I’ve got following code: