3 ms·
A number of early attempts at OO in C, like BOOPSI on Amiga and Xt Intrinsics on Unix, used varargs to pass a list of tag-value pairs to functions and methods,
by bitwize 7y ago
A number of early attempts at OO in C, like BOOPSI on Amiga and Xt Intrinsics on Unix, used varargs to pass a list of tag-value pairs to functions and methods, allowing for both named parameters and initialization lists for complex objects.