3 ms·
I'm a little sad that I never get to use calculus as a software engineer. It's relatively easy to use discrete mathematics, or even something more theory-heavy
by tombert 7y ago
I'm a little sad that I never get to use calculus as a software engineer. It's relatively easy to use discrete mathematics, or even something more theory-heavy like type-theory or category theory can be used a bit, but I sadly haven't been able to find much work doing calc, even though I really enjoyed the classes.
Maybe if I started learning to make games that would be an excuse to relearn some physics and I'd be able to use calculus again.
- leggomylibro 7y agoIt does seem like the sort of math that mostly gets consigned to writing simulations of real-world phenomena, doesn't it? I wonder if it has anything to do with how discrete software is. A program executes in lurches, not as a continuous process. You sort of end up dealing with Riemann rectangles instead of curves, when you look at the time domain. That resemblance is probably just a coincidence, though; maybe it has more to do with the fact that most programs react to input after the fact instead of trying to model the immediate future and act based on predictions.
- nwallin 7y agoLinear algebra lands in my professional lap surprisingly often, to the point where I ask myself if it's a linear algebra problem fairly early on in the problem solving process. (I'm in GIS) Calculus is unusual, but it does happen. We do have data with time dependent variables, but usually we don't need anything more complicated than ax + b. When I took linear algebra and discrete math in college, my linear algebra professor was amazing and my discrete math professor was terrible. I got an A in both classes, but for the life of me I don't grok how discrete math is applicable to programming, but if someone starts describing a problem they have I'll be like, "have you tried linear algebra?" in the "have you tried turning it off and back on again?" voice. I need to watch one of those lecture series on discrete math.
- tombert 7y agoI recommend playing with TLA+ if you want to see how discrete math can map into compsci; you model everything in terms of discrete states and use logical predicates and set theory instead of "types".
- samcodes 7y agoGet into ML, it's just linear algebra, taking gradients, and arithmetic!