> On Nov 8, 2020, at 2:58 PM, Hendrik Boom <hend...@topoi.pooq.com> wrote:
> 
>> On Sun, Nov 08, 2020 at 12:47:11PM -0800, unlimitedscolobb wrote:
>> The idea of having structs whose fields contain functions has never occurred 
>> to me ...
> 
> Historical note:
> 
> I first encountered structures containing function in the source code for
> OS/360 way back in the late 60's.  In assembler.
> 
> -- hendrik
> 
Structures with fields containing functions has never occurred to me before, 
either, at least not in those terms.

However isn’t that exactly one of the key design principles behind how 
device-drivers are implemented and installed into an OS? And also how classes 
and objects were initially added to C as some pretty hairy #define macros and 
function pointers?

This design pattern insight would have been beneficial to me sooner - doh!

— Kieron

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/ADDB8BD2-9A4B-478E-B296-7EF44392466A%40gmail.com.

Reply via email to