Oop in c

functions as parameters
Design patterns are the passing of functions as parameters. When somebody says you are committing an "anti pattern" they are being pretentious: they didn't sit there and think that you would be somehow against using functions as a parameter in an argument, because they have no idea what design patterns actually are. The GoF and the "software engineers" who are mathematicians immersed in Category theory know this ofcourse. https://pastebin.com/WBP6kL4q struct with function in side https://pastebin.com/cTHfyPDE Strategy pattern in c, Design patterns are a convoluted way of passing functions as arguments https://pastebin.com/6FzkcPCG Strategy pattern in python and https://pastebin.com/1V6LUHP3 in vlang. https://pastebin.com/vg9wr5z9 singleton in vlang https://pastebin.com/YvpE0K3t visitor pattern in c. https://pastebin.com/2pzAr3PQ factory pattern in c. https://pastebin.com/9b9xy8zr abstract factory pattern in c. https://pastebin.com/hzpGcDNb facade pattern https://pastebin.com/54RLF33j function pointers as parameter in c and vlang

links
https://cs.lmu.edu/~ray/notes/designpatterns/ nowhere does the "software engineer" math fraud make it clear that all you are doing is sending functions as parameters.

oop

C coding