Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [functional-programming]

For questions relating to teaching the functional programming paradigm. A few examples of languages which support this paradigm are Haskell, Scheme, Lisp, Racket, OCaml, Clojure, ML, and Erlang.

-1
votes
1answer
55 views

What are Macros in programming language am little bit confuse . why we use them for which perpose? [closed]

What are macros in programming language ? And we use these macros and for which perpose.I saw a YouTube video and also read from a link but am cofused about why we use them.
4
votes
0answers
52 views

Small to medium scale exercises about Haskell's higher abstractions

Short version: Where can I find highly varying, small or medium-sized exercises and examples on the use, identification and instance declaration of Haskell's abstractions such as applicatives, monads, ...
2
votes
1answer
77 views

Statistics on functional programming in CS1

This question got me thinking about cs1 and functional programming. Do there exist anywhere statistics on what portion of schools teach cs1 using a functional paradigm? I know that some schools do, ...
7
votes
6answers
536 views

Why isn't Functional Programming Taught First?

We've recently gone through the process of selecting an intern from a local university to join our team for the summer. We are using F# and almost exclusively using functional programming techniques ...
3
votes
2answers
123 views

Functional Programming - using F sharp

I learnt a lot (like kept hearing about it) about functional programming after coming to this community. I had heard of it before but was unaware of its importance. Then, I started including ...
7
votes
1answer
168 views

Mini-Projects that can be covered in an 1 hour Haskell tutorial

I am supposed to be holding a tutorial session in an Undergraduate Haskell Course, which is also supposed to be a first course in programming for a few of the students. Ideally, the tutorial should be ...
6
votes
1answer
297 views

Does teaching an intro course with a functional language really help level the playing field?

On another question, Ben. I claimed: By utilizing a functional language in your first course, you get to have a classroom full of kids who have a much more similar footing. And when you move on,...
59
votes
10answers
24k views

How to answer “functional programming is useless”?

I'm a TA for several Bachelor level functional programming courses at my university. In every edition we have problems with some students that have the idea that functional programming is useless, ...
3
votes
2answers
126 views

How to introduce Scala to a team of Java developers without being boring?

I work in a startup where each week, a member of the team does a short presentation (30-60 min) on a subject in front of the others. It is a very informal and relaxed session, but now it is my turn ...
37
votes
11answers
12k views

Learning fundamental differences between functional programming and Object Oriented Programming

I've been trying to learn the differences between Functional Programming and OOP, but I can't seem to find a comparison of the two. A Google search did not yield any chart or table showing such a ...
9
votes
4answers
616 views

What 'procedural' habits to break when teaching 'functional' programming?

I have a class undergraduate students (2nd and 3rd year) who have had at least two terms of college/university level programming courses using a procedural programming language (typically C++), and ...
8
votes
1answer
276 views

How should the paradigm shift associated with functional programming be approached?

As a student primarily experienced with imperative and object-oriented languages, my first few hours learning Haskell at university were a bit of a struggle. There's a real shift involved in terms of ...
5
votes
1answer
113 views

Significant algorithm from CS for DrRacket that emphasize cons, car, and cdr

When my students move up to junior year, they make a series of transitions: from programming to theoretical computer science, and from imperative to functional programming. We use DrRacket, and one ...
7
votes
3answers
668 views

Scheme vs Haskell for introducing functional programming

So, I am not interested in which language is better, because that is a matter of opinion. What I care about is whether making a switch from Scheme to Haskell will directly help me accomplish my goals....