Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why schools teach functional programming

Name: Anonymous 2015-11-10 21:22

Now how can we possibly manage to level the playing field between the Alan Kays and the Jackson Pollocks in class? The answer is simple. Use a programming language and a programming paradigm that is generally not used by high school students. I favor Haskell, Scheme or maybe ML or O'Caml. From what I have seen as a TA, high school programmers mostly write code in C, C++, Java, C#, some dialect of Basic or some dialect of Pascal. All of these languages are imperative languages while none of the suggested languages are imperative. Well, ML and O'Caml are kinda imperative but I'd focus on the functional parts of these languages.

Can you imagine what the results of teaching freshmen these languages are? Well, except the endless bitching and moaning of the students who have prior experience in languages like C++ and Java. "This is useless", "Why don't we learn C++", "That's not how it works back home", "Nobody outside of academia uses these languages", "These language are too slow". I know all the complaints already. But they're not important. What is important is to level the playing field between freshmen who believe they know everything already and freshmen who know that they don't know anything about programming. Of course we're not going to level the playing field perfectly. Prior programming experience means something, no matter in what language people programmed during high school. Consequently even the leveled playing field will not look like the Bonneville Salt Flats. It'll be more like the Low Countries but at least it's not the Himalayas anymore.

Name: Anonymous 2015-11-14 22:29

>>34
it means the same thing if the left and right sides are flipped around.
Wow, hot jesus. I didn't realise you were only arguing about the syntax of the thing. Sorry, I assumed you were trying to have a worthwhile discussion.

Consider: When I see x = y in, say, a proof, I can mentally substitute x for y and y for x everywhere else in that proof. Nothing changes if I do so. Are you trying to say that symmetric `=' means something other than that?
>>24
x = y actually allows you to [subsequently] substitute x for y with no consequences.

It doesn't look like imperative assignment at all.
Pulled from Page Random of the internet: http://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html#Assignment-Operators
Sure looks similar to me.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List