Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 187195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:46:51+00:00 2026-05-11T15:46:51+00:00

It seems to me that functional programming is a great thing. It eliminates state

  • 0

It seems to me that functional programming is a great thing. It eliminates state and makes it much easier to automatically make code run in parallel.

Many programmers who were first taught imperative programming styles find it very difficult to learn functional programming, because it is so different. I began to wonder if programmers who were taught functional programming first would find it hard to begin imperative programming. It seems like it would not be as hard as the other way around, so I thought it would be a good thing if more programmers were taught functional programming first.

So, my question is, should functional programming be taught in school before imperative, and if so, why is it not more common to start with it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T15:46:51+00:00Added an answer on May 11, 2026 at 3:46 pm

    Actually, some schools already do it this way around. Where I study (University of Copenhagen), they teach SML in the first semester, as an intro to programming. Then they teach Java afterwards, as an intro to OOP.

    I think it works extremely well, and I agree with you it’s better than the other way around. Functional programming is fairly intuitive to someone who’s not (yet) a programmer. It maps much better to what we were taught as math in high school or earlier, so people who have not yet been exposed to imperative programming usually pick it up without too much trouble.

    In fact, there’s a trend that people who are new to programming when they enroll pick SML up faster than those who’ve already learned Java or C++.

    It seems like there’s a big conceptual jump in going from imperative to functional, but the reverse seems much easier to most. Students generally don’t find Java difficult when they’re exposed to that after learning SML. Once you know about the ‘pure’ concepts of programming, gluing on side effects is fairly straightforward. But if your entire understanding of programming is based in side effects, it’s much harder to imagine that anything is possible without them.

    I think a big benefit of this approach is that functional programming principles become an essential part of your programming toolbox, rather than some esoteric add-on you might use if you want to show off. Even when programming in imperative languages, I think there’s a benefit in having your background in a functional language. Even when programming in something as low-level as C, there’s a benefit to thinking about minimizing state and side effects, and being used to the concept of higher-order functions (even though they’re not available in the language)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 130k
  • Answers 130k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Sure, just access the v.ViewData.Model property. Your Model will be… May 12, 2026 at 6:02 am
  • Editorial Team
    Editorial Team added an answer Add the following lines of code, then you can use… May 12, 2026 at 6:02 am
  • Editorial Team
    Editorial Team added an answer No, there is no way to do that. Controllers in… May 12, 2026 at 6:02 am

Related Questions

I am an experienced C++ programmer with average Python skills. The reasons I studied
How do computer games render their ground? I will be using a heightmap for
Since I started learning F# and OCaml last year, I've read a huge number
I've been reading a lot of stuff about functional programming lately, and I can

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.