On a generalized notion of differentiability