Term vs Permanent is definitely a hotly debated subject.
For term insurance, the money you paid is all lost because the premium is 100% cost. Also if you decide to continue the insurance AFTER the end of the term do not be surprised if the premium will be 10x more expensive (after a 20 year term policy)
Since you are so young, it is definitely a good idea to lock-in the low costs before you are older and it will be much more expensive. However it is more important to have the coverage you NEED. If costs are out of you budget get term insurance until you are able to afford whole life. You can ask an insurance professional, or financial advisor if they can recommend a CONVERTIBLE term policy where you can slowly convert term to whole life.
Usually after 17-20 years of paying whole life premiums the policy can usually pay for itself.... literally! and you will not have to pay any further premiums... and you will have the coverage for the REST OF YOUR LIFE.
Personally, I'm not a fan of "Buy Term, invest the difference" If you feel that AGGRESSIVE towards your life insurance, you can look into a variable universal life insurance policy. It is also a "permanent" life insurance policy that invests with the market.
Once again speak to a professional or two in person. Let them know your situation. If they give you options listen to them. If they ONLY say buy term.... of if they ONLY say buy whole life.... walk out the room and find someone else.