The difference is we aren't disturbing anyone while learning programming languages - the biggest nuisance I can think of is a newbie writing wrong/out-of-date tutorials on the web. Whereas photography by its very nature can be super annoying to others - you have to be polite and wait for some dumb tourist is taking a photo of his girlfriend, you can't enjoy anything in peace with flashes going off all around etc.