Hacker News new | ask | show | jobs
by freedomben 943 days ago
I do wish functional programming were more taught. we're getting to a point where I almost think OOP should be taught briefly and the rest of the focus on C/C++ for low level stuff (OS, data structures, some algorithms), and something functional or pseudo-functional for high level stuff. Most of the newer codebases in startups now require functional concepts to understand what's happening. For example, try writing modern JS without understanding .map, .reduce, et al, and function passing, etc.

Regardless I think it's important that students get exposed to more than just Python, which seems to increasingly be the only thing students come out knowing.

1 comments

> I do wish functional programming were more taught

My first CS bachelor's semester in Germany in 2017 taught functional programming using Haskell (as well as C and NASM assembly in another course on computer architecture).

OOP using Java and Python was only introduced in the second semester.

> Regardless I think it's important that students get exposed to more than just Python, which seems to increasingly be the only thing students come out knowing.

In my B.Sc. studies I used C, C++, Haskel, Assembly, Java, Python, and Swift.

> My first CS bachelor's semester in Germany in 2017 taught functional programming using Haskell (as well as C and NASM assembly in another course on computer architecture).

Also worth mentioning that since this was in Germany not only was it a great education, but there’s no crippling student debt either.

Same here. Had Scala in my first year. Clojure and Racket later. On top of that I had C, ASM, Java, Python and R (had a focus on machine learning). So I got plenty of education in that department.
There are definitely some good schools out there that expose students to a broad field. For anybody who is a student and looking, this is somethign I would strongly recommend considering.