#Functional Programming

19 writings

F# 8: Unwrapping New Features and Nostalgic Connections

F# 8 introduces game-changing features that streamline functional programming syntax, particularly the removal of `fun` in lambdas and improved nested record handling. Discover how these updates modernize the language while echoing patterns from F#'s past libraries.

4 min read 773 words

Plotly, F# and Response of India to Covid Crisis

This F# Advent 2021 post demonstrates building interactive COVID-19 data visualizations using Plotly.NET in Jupyter notebooks. Using FSharp.Data and real Indian COVID tracking data, you'll learn to create professional cross-platform dashboards with Plotly Dash.

4 min read 616 words

Shades of F#

This thoughtful post examines F# from multiple angles, contrasting functional programming style with imperative approaches. The author shares personal experiences, recommended learning resources, and insights on how to approach F# development based on your programming background.

6 min read 1,177 words

Functional Programming Adventures in 2019

A retrospective on Functional Programming in 2019, featuring insights into Fable (F# to JavaScript conversion), the Green Print UI library project, and how functional programming reduces coding errors. The author discusses battle-tested tools and community-driven development for modern web applications.

6 min read 1,092 words

Elmish Xamarin Forms from Fable point of View

This post examines Elmish Xamarin Forms (EXF) from a Fable developer's viewpoint, analyzing its advantages and disadvantages for cross-platform mobile applications. Using the Star Wars API as a practical example, the author explores how Elmish patterns translate to mobile development and compares the experience with Fable-Elmish web applications.

12 min read 2,346 words

Opinionated Fable - Architecture & Performance

An in-depth exploration of Fable 1.0's architecture and performance capabilities ahead of the 2.0 release. The author shares lessons from converting large JavaScript applications to typed languages, emphasizing why frontend development demands architectural discipline and examining Elmish patterns for building scalable single-page applications.

29 min read 5,653 words

1729

This F# Advent calendar post explores the fascinating number 1729, famously known as the Hardy-Ramanujan number. The author shares their personal journey with mathematics, inspired by the legendary Indian mathematician Srinivasa Ramanujan, and explains why this particular number holds special significance in mathematical history.

8 min read 1,546 words

Functional Command Pattern

This post explores the command pattern through functional programming, comparing traditional C# implementation with F# functional approach. You'll discover how treating functions as first-class citizens makes command pattern code more concise and elegant, with insights into CQRS and Event Sourcing.

1 min read 175 words

Functional Strategy Pattern

The strategy pattern is one of the most widely used patterns in .NET, especially in LINQ. This post explores how to implement it in both C# and F#, demonstrating why functional programming syntax is better suited for passing strategies as functions rather than class-based approaches.

2 min read 359 words

Functional Singleton Pattern

Explore the Singleton Pattern, one of the most commonly used design patterns for ensuring only one instance of a class exists. This post covers practical implementations in C# and F#, real-world use cases like database connections, and discusses its relevance in functional programming and modern development.

2 min read 316 words

Functional Factory Pattern

Explore how the Factory Pattern translates from Object-Oriented C# to functional F# programming. This post demonstrates that functional programming provides simpler, more elegant solutions for abstracting object creation while maintaining the same behavioral results.

2 min read 264 words

Demystifying Design Pattern in a Functional Way

This post demystifies design patterns by examining them through functional programming principles rather than traditional OOP. The author explores the fundamental differences between Turing's (OOP) and Church's (FP) approaches to problem-solving, arguing that functional programming offers superior code readability and expressiveness when resources allow.

3 min read 580 words

Typed Hack of Cloudant using F#

This post explores the typed/untyped data paradox by demonstrating how to access Cloudant (CouchDB fork) from F# using a custom HTTP-based helper module. The author shares a pragmatic solution for integrating statically typed F# with JSON-based NoSQL databases, complete with working code snippets.

5 min read 803 words

My broken marriage with C# and extramarital affair with F#

This personal narrative explores one developer's transition from C# to F#, detailing the emotional and technical journey of discovering functional programming. Through personal milestones and community involvement, the author shares why F# captured their heart and passion for coding.

4 min read 607 words

Getting started with Functional web

A comprehensive guide to getting started with functional web development using F# and .NET. Discover pure F# web templates, frameworks like NancyFX and ServiceStack, and explore functional programming across Scala and Clojure.

3 min read 549 words

Functional Programming Need in Web Development

Functional programming is often overlooked in web development, but it's increasingly vital as projects grow larger and more complex. This article explores why functional programming, with its built-in features like immutability, is the ideal solution for managing state in multi-processor environments and building scalable web applications.

3 min read 402 words

A Developer without Programming Language

A developer's reflection on the passionate relationship programmers have with their chosen languages and how this affects technology decisions. The author discusses functional programming's advantages for algorithm development while examining why experienced developers often resist switching languages, even when alternatives might be more efficient.

4 min read 727 words

Functional Programming, How I started and Why?

A personal journey into functional programming driven by a passion for data and numbers. Explore why the author switched from C# to F# and why functional languages should be taught before imperative ones.

4 min read 610 words

Yes, I like functional programming

A passionate exploration of functional programming's benefits for clean, intuitive code. The author explains how functional languages eliminate unnecessary complexity and let developers focus on solving problems rather than instructing computers.

1 min read 60 words