If you are deliberately choosing to sacrifice your classes for side projects, then your side projects better be great. Make sure you're not one of those people who kid themselves that they are too busy 'working on side projects' when really all their time is spent fucking around on reddit or some other mindless crap. You should set aside a minimum amount of time you plan to spend on schoolwork and spend that time actually working, and also think about how low your grades can go before you want to change your priorities.