I heard that the degree of a vector bundle encodes the number of "twists" of the bundle.
I heard also that it is roughly the difference between number of roots and number of poles of a function in a local ring.
Which one is true? I couldn't find any reference to that in Hartshorne or in the Vakil.
Thank you for any help/hints.