<p>Nobody here can provide a full answer to that question. I’d sincerely recommend that you talk to a financial advisor or financial planner, look at your situation, and decide what makes sense.</p>
<p>That said, you will need to consider how much debt you need to incur, as well as your ability to repay, when deciding whether taking out a loan is a good idea. Assuming that your main concern is financial stability and security, your goal should be to incur as little debt as possible, and to pay it off as quickly as possible. What this means in practical terms:</p>
<ul>
<li><p>Plan on working through school to make as much money as possible. Private tutoring, or tutoring through the school, can provide a good source of revenue if you’re knowledgeable. Work at a bookstore or a grocery store or at Taco Bell. The more money you are able to make while in school, the less you will need to take out in loans.</p></li>
<li><p>Don’t drag it out. Take as many classes as you can while maintaining your grades, your health, and your sanity (alternative: choose two of three, and make sure grades is one). You want to get to making more money faster, and you’ll almost certainly make more if you’re able to get a job as a CS graduate.</p></li>
<li><p>Look for opportunities to intern. You will typically make more money at these than at odd and part-time jobs, and having intern experience will increase your chances of getting a job, as well as making you more competitive for high-paying jobs.</p></li>
<li><p>Before taking out a loan, understand the principal and interest, and when you need to start paying, and how much you need to pay. Estimate what your income will be, deduct estimated expenses, and determine how repayment fits in to your budget. In general, you should overestimate your costs and expenses, and underestimate your future earnings. Be pessimistic, and you won’t be disappointed.</p></li>
</ul>
<p>A word about costs: you will have more of these than you think. Tax, housing, car insurance, health insurance, food, household goods, furniture, etc. will add up. Probably assume that you’ll have less than half your net salary, in the best case, to use towards paying debt.</p>