User loginNavigation |
Can function pointers be "fixed"Whilst thinking on the subject of language design, specifically lowish-level (C++ level), I came up against the seeming brick wall of function pointers. Now, whilst function declarations can be modified to allow for such niceties as closures, coroutines and multiple return values, function pointers, it seems, can never be harnessed for the power of good. The reason for this seems to be the way that functions are declared in C-type languages, i.e. completely differently from data and, I might add, rightly so. I much prefer:
is just completely whack compared to the rest of the data declarations. So my question is this, has anyone encountered a statically-typed function/funcpointer declaration system that is at all elegant? -DNQ By disnesquick at 2008-09-29 21:20 | LtU Forum | previous forum topic | next forum topic | other blogs | 4063 reads
|
Browse archivesActive forum topics |
Recent comments
2 weeks 7 hours ago
4 weeks 1 day ago
13 weeks 3 days ago
13 weeks 5 days ago
14 weeks 2 hours ago
21 weeks 31 min ago
26 weeks 4 days ago
26 weeks 5 days ago
27 weeks 4 days ago
30 weeks 3 days ago