Cetnikl.....
Don't listen to all the wowsers.....
Look, when i was younger, I, as did many of my mates dabbled in the odd smoking of some pot (yes I know its dumb, but we were all young once)
it never affected my pilots licence (not that I smoked when i was flying)
I obviously gave it up after leaving my teenage years and am now gainfully employed flying a big jet as many of my mates who also had a dabble as well.
The best advice i could give you is, give the eccy's away now, knuckle down, don't tell you doctor anything he doesn't want to hear and make a career out of flying if thats what you want.....If you wanna keep getting high, buy a guitar and play at the local pub for a living...
Most importantly off all, if your going to do both, think carefully of the responsiblity you have as PIC...