Onur Gumus
F#, path to functional enlightenment
#1about 2 minutes
Shifting from object-oriented to functional programming
Functional programming requires unlearning imperative habits to gain benefits like statelessness, which reduces side effects and cognitive load.
#2about 4 minutes
Understanding functions as mathematical concepts
Functional programming treats functions like mathematical operations that always produce the same output for a given input without side effects.
#3about 3 minutes
Exploring unique F# syntax and project structure
F# uses `let` for redefinition instead of assignment and enforces a top-to-bottom file order for dependencies, simplifying code analysis.
#4about 4 minutes
Setting up a live coding environment with Fable
The Fable REPL provides an in-browser environment to write F# that compiles to JavaScript, enabling quick prototyping without local installation.
#5about 3 minutes
Refactoring imperative code into a functional pipeline
The pipeline operator (`|>`) transforms sequential, imperative steps into a declarative data flow by passing the output of one function to the input of the next.
#6about 2 minutes
Using discriminated unions for enhanced type safety
Replacing primitive types like strings with discriminated unions creates a more robust and type-safe domain model that prevents invalid states at compile time.
#7about 3 minutes
Evolving code by appending instead of modifying
New features can be added by creating new functions and types that wrap existing logic, minimizing the risk of breaking tested, stable code.
#8about 3 minutes
Managing errors gracefully with the result type
The built-in `Result` type (`Ok` or `Error`) provides an explicit way to handle operations that can fail, avoiding exceptions for control flow.
#9about 1 minute
Creating reusable logic with function composition
The composition operator (`>>`) combines multiple smaller functions into a single, larger function, creating reusable middleware for complex pipelines.
#10about 3 minutes
Showcasing real-world applications built with F#
F# is used to build complex, real-world applications like a 3D bin packer and a full-stack pizza ordering app with a Blazor-like UI and WebSockets.
#11about 3 minutes
Answering common questions about F# development
The discussion covers the benefits of append-only coding, debugging with source maps, and recommended IDEs like VS Code with the Ionide extension.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
41:25 MIN
Q&A on type systems and legacy code
Typed Security: Preventing Vulnerabilities By Design
03:49 MIN
Exploring the functional programming culture of Tezos
Developer’s Perspective: Overview of the Tezos Blockchain Ecosystem
19:25 MIN
Audience Q&A on functional programming concepts
A Guide To Functional Programming
33:55 MIN
Audience Q&A on practical micro-frontend challenges
Micro-frontends anti-patterns
25:03 MIN
Recap of functional techniques and audience Q&A
Tackling Complexity With Functional Programming And Kotlin
39:01 MIN
Q&A on developer FOMO and framework standardization
The Lean Web
13:51 MIN
Real-world applications of functional programming
A Guide To Functional Programming
39:10 MIN
Final thoughts on learning from alien programming languages
Java with a Clojure mindset
Featured Partners
Related Videos
A Guide To Functional Programming
Jemima Abu
Down the Oregon Trail with Functional C#
Simon Painter
Functional Programming in C++
Jonathan Müller
Tackling Complexity With Functional Programming And Kotlin
Georg Dresler
Web development: where are we, and where are we going?
Laurie Voss
All you need is types
Tal Joffe
Antipatterns - nemesis of software development
Mustafa Toroman
Lies we Tell Ourselves As Developers
Stefan Baumgartner
From learning to earning
Jobs that call for the skills explored in this talk.
![Senior Software Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/company/283ba9dbbab3649de02b9b49e6284fd9/cover/oKWz2s90Z218LE8pFthP.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Software Engineer [TypeScript] (Prisma Postgres)
Prisma
Remote
Senior
Node.js
TypeScript
PostgreSQL


Founding Product Engineer
fonio GmbH
Vienna, Austria
Remote
€70-100K
Intermediate
Senior
React
Node.js
Next.js
+1


Software Engineer
tree-IT GmbH
Bad Neustadt an der Saale, Germany
Remote
€54-80K
Intermediate
Senior
Java
TypeScript
Spring Boot

Senior Systems/DevOps Developer (f/m/d)
Bonial International GmbH
Berlin, Germany
Senior
Python
Terraform
Kubernetes
Elasticsearch
Amazon Web Services (AWS)


