User loginNavigation |
Simple ADT-based "side-band" state?Per some old LtU discussion and other implementations, there's interest in having some kind of side-band communication channel. The last post of the mentioned old LtU discussion asks: couldn't one just use an abstract data type? If the answer is "yes, that's a fine idea - but the syntax would get annoying because you would have to be creating all these containers to pass into function calls all the time, and then use getter methods inside the functions" then might an applications of macros, or implicit conversions, be a way to solve that usability issue? It seems similar to just saying that all functions take optional arguments, but perhaps the two approaches have different consequences when it comes to typing? (As you can probably tell, I haven't thought this through much, or hacked up any test code, so this line of thinking's value is perhaps fast approaching zero.) By raould at 2007-06-27 19:51 | LtU Forum | previous forum topic | next forum topic | other blogs | 5161 reads
|
Browse archives
Active forum topics |
Recent comments
27 weeks 1 day ago
27 weeks 2 days ago
27 weeks 2 days ago
49 weeks 3 days ago
1 year 1 week ago
1 year 3 weeks ago
1 year 3 weeks ago
1 year 5 weeks ago
1 year 10 weeks ago
1 year 10 weeks ago