[solved] How to make shader uniforms initialize on bind

Is there any way to activate shader uniforms as they’re bound? Basically for having 2 different shader programs without activating the uniforms for each, every time its bound. I’m thinking of a hash map of method objects (Reflection), every time the shader is bound, it iterates through them and calls each one. ( I just thought of this on the spot, I may be wrong on how to do this)