FOSSMeet 2018

FOSSMeet 2018

FOSSMeet is an annual event at NIT Calicut that brings together the Free and Open Source Community from around the country.

Aniketh Gireesh


A bit of Functional Programming

Submitted Dec 4, 2017

This talk will cover a selection of topics related to functional programming, and how it can improve our day-to-day work, make our code safer, cleaner and more correct.

Target Audience: Any developers with a fair bit knowledge in programming and interested towards functional programming.

The talk dives into subjects such as:

  1. Categorisation of functional programming and functional programming languages.
  2. Elements of functional design:
    • Purity.
    • Immutable state.
  3. Characteristics of Functional programming:
    • High-order functions.
    • Lazy evaluation.
  4. Features/ advantage of functional programming:
    • Reusability Through Higher Order Functions.
    • Efficient Parallel Programming.
    • Supports Nested Functions.
    • Bugs-Free Code.
    • Lazy Evaluation: supports Lazy Functional Constructs like Lazy Lists, Lazy Maps, etc.
  5. Efficiency of a functional program.
  6. Cons:
    • As a downside, functional programming requires a large memory space. As it does not have state, you need to create new objects every time to perform actions.


** What is functional programming? **

Functional Programming is a programming paradigm. Functional programming is a style of building the structure and elements of a computer program. Such programs treat computation as the evaluation of mathematical Functions and uses Immutable data while it avoids changing-state. Thus being a declarative programming paradigm, programming is done with expressions or declarations instead of statements.

Necessity of functional programming?

Functional Programming keeps complexity at a manageable level because FP components can be divorced from their surrounding context and analysed independently. FP components can also be freely composed, an insanely useful property in an industry where software projects are seemingly built like houses of cards.

Why learn functional programming?

Functional programming is often said to be necessary in multi-threaded environments, but that is only one part of the story. Avoiding mutation helps avoid explicit synchronization of concurrent processes, but it can also be helpful in other circumstances.

functional programming matters, because it’s simply a superior method of creating theories of problem domains. The difference between the approaches of imperative and functional programming mirrors the difference between code with high and low resistance to change: a convoluted network of ad-hoc interdependent code parts versus a system composed hierarchically of building blocks, following simple rules of composition on every level.

Speaker bio

I’m currently pursuing a B.Tech in Computer Science at Amrita School of Engineering, Amritapuri, Kerala, India. Being a meticulous learner and a determined mind, I always wish to explore different areas of computer science.

I started contributing to KDE in September 2016. I worked on the project Kstars as part of KDE Sok 2016-17. I was selected as a Google Summer of Code intern 2017 in my first year. My project was under Krita, which was aimed at improving the user capability via integrating with, a website used by designers to host their work using Libraries of the Open Source Organisation, KDE. The project helped to have a hassle-less method of transfer of data between the application and servers directly, making the life of people who depended on open source elements via KDE and through Krita way easier.Moreover, I have contributed to other projects of KDE to help make it better. I have given talks at few occasions like KDE India Conference 2017 edition.

I do code in multiple languages such as C/C++, Qt, Python, HTML, CSS, JavaScript. Apart from that, I like to build web applications as well. I also write for Open Source magazines according to my free time apart from other things, targeting open source enthusiast.


{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

FOSSMeet is an annual event on Free and Open Source Software, conducted at National Institute of Technology, Calicut. The funnel is a space for proposals and voting on events. more