I was a huge pot head when I went to college. Smoked weed through pretty much all of high school and had some traumatic events happen that lead me to it for medication. In high school I was considered an outcast. I was the only sophomore to ever consider taking AP Comp Sci(true rebel here...) and generally the kids drank alot.
But when I got to college, I gave up the weed and focused on the programming and outside my comfort zone stuff. And then I was in an advanced comp sci class, working with a smart dude and he paused, and said, "Toke up, get food and get back at it?" Then, for the first time ever my world was opened to programmers that smoke weed. And it was like a moment of, "holy shit I can be normal here."
Marijuana can be a blessing or a curse. All in your relationship with it. I advise using it for the benefits, and not abusing it for escape.