Hacker News new | ask | show | jobs
by delta_p_delta_x 14 days ago
> I pretty much always prefer using an options struct

This is essentially what Vulkan does; there's a CreateInfo struct for every object creation or command function. And even then they managed to sort of mess it up, because they also have functions and objects suffixed with a '2', and the pNext extension mechanism.