Open in app
Home
Notifications
Lists
Stories

Write
Yogesh Parwani
Yogesh Parwani

Home
About

Published in Level Up Coding

·Pinned

Functional Programming in Dart & Flutter: Foundation — Part 0

In this article series, we’ll go on a journey to understand Functional Programming and implement it using Dart & Flutter. — Before embarking, I want to take a quick second to introduce myself. I am Yogesh, a software engineer who has been exploring Mobile technologies for quite some time. I started with Android and jumped into the cross-platform world using React-native, then finally switched to Flutter. …

Functional Programming

4 min read

Functional Programming in Dart: Foundation [Part 0]
Functional Programming in Dart: Foundation [Part 0]

May 23

Higher-Order Functions & Recursion in Dart [Functional Programming — Part 5]

Write clean, elegant and composable code; declaratively, using Recursion and Higher-Order Functions. — Previously, we covered immutable data structures and value equality which helps to avoid unexpected side effects. This article covers Higher-Order functions and recursion. Table of Contents Recursion Iteration vs Recursion Higher-Order Functions (HOFs) Filter, Map, Reduce Final Thoughts Other Articles in this series

Flutter

7 min read

Higher-Order Functions & Recursion in Dart [Functional Programming — Part 5]
Higher-Order Functions & Recursion in Dart [Functional Programming — Part 5]

May 3

Why dividing(/) by 0 does not throw an error in Dart — How Dart handles numbers

How does Dart handle numbers and operations while targetting so many platforms? — Table of Contents Hierarchy Platforms Operators Final Thoughts Dart targets multiple platforms, and numbers in dart behave differently depending on the underlying platform. Hierarchy Numbers, in programming, are usually divided into two types: integer values and fractional values. In dart, int represents integers, and double represents fractional values.

Flutter

4 min read

Why dividing(/) by 0 does not throw an error in Dart — How Dart handles numbers
Why dividing(/) by 0 does not throw an error in Dart — How Dart handles numbers

Published in Level Up Coding

·Apr 24

Immutability & Equality in Flutter & Dart [Functional Programming — Part 4]

Minimize bugs and maintain large-scale applications using immutable data structures and value equality. — Previously, we covered how to build modular and scalable applications using composition. This article covers immutability and equality in Dart & Flutter. Table of Contents Define Immutable final vs const Why prefer immutability? How to update immutable states? Immutable lists, Maps Equality Equality operator

Flutter

8 min read

Immutability & Equality in Flutter & Dart [Functional Programming — Part 4]
Immutability & Equality in Flutter & Dart [Functional Programming — Part 4]

Published in Level Up Coding

·Apr 5

Composition in Flutter & Dart [Functional Programming — Part 3]

Create modular applications using composition in Flutter & Dart. — Previously, we covered Closures and Currying in FP. Today, we will look at composition and how it helps create modular applications. Table of Contents What is Composition? How does Flutter use Composition? Compose vs Pipe Example Final Thoughts What is Composition? Let’s see the English definition of composition. According to dictionary.com: Composition is…

Functional Programming

6 min read

Composition in Flutter & Dart [Functional Programming — Part 3]
Composition in Flutter & Dart [Functional Programming — Part 3]

Published in Level Up Coding

·Mar 22

Arity, Closure, Currying, Partial Application & more in Dart [Functional Programming — Part 2]

This article aims to explain functions, closures, partial application, the relation of function with a call stack, and more in Dart and Flutter — Table of Contents Parameter vs Argument Arity Functions & Call stack Closure Partial Application Point-free style Currying Example Conclusion Other articles in this series I have noticed the term’s arguments and parameters used interchangeably. So before starting, let’s understand the difference.

Flutter

7 min read

Arity, Closure, Currying, Partial Application & more in Dart [Functional Programming — Part 2]
Arity, Closure, Currying, Partial Application & more in Dart [Functional Programming — Part 2]

Mar 11

Pure functions & Side effects in Dart [Functional Programming — Part 1]

In this article, we’ll look at pure functions, side effects in Dart & Flutter, and how they help to minimize unexpected bugs in our code. — I am sure we all have experienced that while changing a piece of code, somewhere something else abruptly starts to break. Frustrating, isn’t it? In this article, we will see how to minimize such unexpected scenarios and reduce the surface area for debugging. FP is based on lambda calculus and…

Functional Programming

7 min read

Pure functions & Side effects in Dart [Functional Programming — Part 1]
Pure functions & Side effects in Dart [Functional Programming — Part 1]
Yogesh Parwani

Yogesh Parwani

Software Engineer

Following
  • Mark Manson

    Mark Manson

  • Hasan Basri Bayat

    Hasan Basri Bayat

  • Jay Shetty

    Jay Shetty

  • Deven Joshi

    Deven Joshi

  • Gordon Hayes

    Gordon Hayes

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable