hmm... both are different ways to earn online. For adsense you need a website and lots of traffic(seo, link building, writing, advertising skills etc) whereas for affiliate you need a right product and targetted audience. You can sell what is usually high in demand via email marketing or social media marketing without any investment. So you need to learn what is good for you.