discrete mathematics is considered foundational mathematics for computer science. just see gate pyqs and you will know that in almost every subject discrete mathematics is used here and there. Even probability from EM is used in many subjects specially in CN. So, it is always highly recommended that before starting any CS subject learn DM thoroughly and keep your mathematical foundations strong. If you want, then you can learn LA and calculus later though.