Ask a Super User Moderator

For moderation, spam, troublesome users and related issues you...
Thu 18:14
@JourneymanGeek thanks!
Thu 14:49
hi, I've updated an old (auto-deleted) question of mine (superuser.com/questions/1832602/…) because of new info and hypotheses about the origin of an issue. The question was deleted after a month because of no answers and an unexplained downvote that gave it a score of -1. I've voted undeleted on it, but I'm not sure it'll do anything. What should I do? Deleting it and reposting it is bad, but is giving up my only option now?
 
Nov 30, 2022 20:18
@OrangeDog I think this is more of a taxonomy issue; passing a char* is different from passing an span/slice/view in a language that supports it, but only it the fact that a char* does not contain length information. A function pointer, on the other hand, contains everything you need to know to be able to call the function (jump address and parameter list). For me, being able to pass function pointers fulfills what is needed to say we can "pass functions" and "return functions".
Nov 30, 2022 20:18
@OrangeDog what would you want to pass, otherwise? Or did you want to say that C does not have closures?