As you are a computer programmer and likely to be using your index finger using a mouse and using a keyboard a lot, it is likely that you are experiencing repetitive injury. It is likely that there is some form of arthritic changes going on with your joint.
Because you use your hands a lot for computer work, it would be a good idea to get a correct diagnosis of the problem. Are you able to use one of your other fingers for the computer programming so that you can rest the index finger?
Best wishes
Thanks very much for the comments. I initially assumed that it was just a minor injury. I became a little concerned recently though as it has been at least 3 weeks and the pain has not diminished at all. It has not gotten any worse either though.
It has been my experience that it is crucial to do at least some research if possible prior to seeking medical attention. I will certainly see my physician if the situation does not improve shortly, but I wanted to check first in case someone might have some insight into what it could be.
This could be anything from a minor injury, that you might not even remember, to arthritis. Fingers and toes are vulnerable to bumps, bangs and jams, and often we think nothing of it when it happens because it happens often. You can try topical creams for the pain, like biofreeze, and taking advil oftem helps, with joint pain and discomfort. Make sure that you can take any OTC drugs before taking anything. If it doesn't get better with at home treatment, you can surely check with your doctor about the cause. Good luck and hope it gets better soon!