Calculus isn’t something i use regularly as a software dev. I’ve never had to use derivatives or integrals. Even things like sin and cos are often abstracted away.
Meanwhile, discrete math is absolutely something you see in computer science. But, in my high school discrete was the course for people who didn’t like math, as an alternative to precalculus.
It would be much better if schools offered an AP Discrete math, and colleges were more lenient to students who are good the discrete math but for struggle with calculus.