All Questions
Tagged with meta-programming functional-programming
2 questions
20
votes
3
answers
2k
views
Must I think about compiled machine code when I write my code?
For example I've got following code:
auto z = [](int x) -> int {
if (x > 0) {
switch (x) {
case 2: return 5;
case 3: return 6;
default: return 1;
...
3
votes
3
answers
534
views
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)?
...