News for hackers. Stuff that matters.
Re:Why Structure and Interpretation of Computer Programs Mat... by gumby on Sunday June 16, 2024 @09:15PM (#40701468)
> I would argue that imperative programming is most natural - it's what everyone gravitates to in the beginning.

When 6.001 (the introductory class for which SICP was written) was launched, most of the students who took it had never used a computer before. Yes, MIT students. This was around ~1980. And in the first hour of their first class they were already doing symbolic differentiation in scheme.

I think your view of what’s “natural” is a just so story.

Re:Why Structure and Interpretation of Computer Programs Mat... by troad on Sunday June 16, 2024 @09:48PM (#40701629)
> And in the first hour of their first class they were already doing symbolic differentiation in scheme.

People heavily trained in maths can take quickly to languages designed to make programming look like maths, that's hardly a surprise.

I wouldn't base my assumptions about what most people find natural on the experience of MIT students taking 6.001 in 1980.

(Not to mention, 'doing' is doing a lot of heavy lifting in that sentence. I could show you a intricate sentence in French in the first hour of your first French class, but unless you came up with it yourself, are you demonstrating much learning just yet?)

Re:Why Structure and Interpretation of Computer Programs Mat... by jimbokun on Monday June 17, 2024 @12:49AM (#40702392)
But you are basing your assumptions on absolutely nothing.
Re:Why Structure and Interpretation of Computer Programs Mat... by troad on Monday June 17, 2024 @01:07AM (#40702496)
I'm basing my assumptions my own experience, both learning to code and teaching others to code, which isn't nothing to me, but may well be nothing to you. (No shade intended, that's totally valid.)

I would certainly be interested in the results of a study that put a simpler interpreter / compiler and a language reference in front of motivated non-programmers, but I strongly suspect that the amount of elegant tail recursion we'll see will be limited (and I'd very much expect there to be a correlation between that and a training in mathematics).

Imho, data comes from experiments, but experiments come from hypotheses, and hypotheses come from experience.

Re:Why Structure and Interpretation of Computer Programs Mat... by eichin on Sunday June 16, 2024 @09:36PM (#40701573)
Yeah, mid-1980s the thing incoming students had to unlearn was BASIC, not anything with curly braces. (Source: I was a 6.001 Lab TA at the time.) Of course, the next class on the rotation used Clu, where you had to unlearn "recursion is free".