News for hackers. Stuff that matters.
Re:Teach yourself Computer Science functionally by Aerroon on Tuesday June 13, 2023 @03:30PM (#36315649)
>One just needs to follow up on what every child learns since first grade in school, namely the substitution model found in math.

Considering how much people struggle with learning math I'm not sure that this is a good way of going about things. I don't think functional programming classes have much more success either.

Re:Teach yourself Computer Science functionally by still_grokking on Tuesday June 13, 2023 @05:14PM (#36317457)
> Considering how much people struggle with learning math I'm not sure that this is a good way of going about things.

Even more are struggling with programming, no matter the paradigm…

> I don't think functional programming classes have much more success either.

Objectively they have. I've linked already some evidence in the other reply in this thread.

Re:Teach yourself Computer Science functionally by Aerroon on Wednesday June 14, 2023 @04:57AM (#36323249)
>Objectively they have. I've linked already some evidence in the other reply in this thread.

I don't see it. Maybe we (our class) were taught wrong, but back in uni I would rate the usefulness of our FP class as one of the worst. I got the sense that most of the students (that passed the class) weren't able to use what they studied in the class. If they took away anything from that class, it would be that they shouldn't touch Haskell again.

FP is useful, but I would argue that imperative is easier to learn, because keeping track of state is easy when you're learning. You're dealing with small programs that you wrote yourself. Keeping their entire state in your mind is not difficult.

Also, I think there's a joke somewhere in here about learning Java ruining the 'state' of your brain for learning FP.

Re:Teach yourself Computer Science functionally by nequo on Tuesday June 13, 2023 @05:17PM (#36317508)
Creating connections in the curriculum between math and other subjects is a good way to help students better understand both math and other subjects. I don’t have literature to cite on this though.
Re:Teach yourself Computer Science functionally by rajamaka on Tuesday June 13, 2023 @06:13PM (#36318323)
Also a good way to turn off students who have no interest in math from subjects they have interest in. I would have never become a SWE if I actually attempted a CS degree.
Re:Teach yourself Computer Science functionally by nequo on Tuesday June 13, 2023 @07:32PM (#36319154)
That's a good point too. But maybe schools could offer two tracks?