News for hackers. Stuff that matters.
Re:Why won’t anyone teach me math? by barkingcat on Friday February 11, 2022 @01:58PM (#30305562)
an exercise of "write a function in Java that factors a quadratic." is neither computer science nor programming.

The course described doesn't seem to match your description of comp sci either.

Which matches my experience of a technical course in Waterloo. They need to update their pedagogy.

Re:Why won’t anyone teach me math? by saurik on Friday February 11, 2022 @07:22PM (#30308701)
^ This is the best comment of all the various replies, as it directly addresses the actual content of the thread: it wasn't that "oh no I had to spend so much time learning the mathematical basis of computer programming and I just wanted to throw together a shopping cart in Ruby" it was "most of my time was wasted learning about the task I was given as the goal of the program--which happened to be math but could have been something inane like the physics of a roller-coaster--instead of about the meta-task of how to actually analyze, automate, or implement arbitrary tasks".
Re:Why won’t anyone teach me math? by baq on Saturday February 12, 2022 @02:51AM (#30310804)
The problem is, people don’t learn well when they’re taught general things and are told to specialize on their own. People learn best from examples and then generalize using their general purpose jumping to conclusions machine called the brain.

I agree simple math problems may not be the best exercises to program, but the point is you should be doing a lot of such specific (but diverse) exercises to get the general idea.