Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Write Your Own Domain Specific Language with F#

NDC Conferences via YouTube

Overview

Explore how to create a domain-specific language (DSL) using F# in this 43-minute conference talk from NDC Conferences. Discover the power and expressiveness of F#, a multi-paradigm language with a focus on functional programming and high performance. Learn techniques for writing code that non-technical people can read and understand. Delve into creating a strongly and statically typed DSL that allows you to focus on business logic without distracting "keyword" noise. Gain insights into modeling domains with types, using discrimination unions, pattern matching, and functional programming concepts. Understand the benefits of type inference, partial application, and the imperative style in F#. Examine practical examples like Card Number validation and Gadget modeling. Consider the limitations and advantages of this approach while exploring how F# can bridge the gap between technical and non-technical communication in software development.

Syllabus

Introduction
About me
Who is familiar with F
About F
Why F
Weird naming
Too far
We are programmers
Writing just plain English
Writing for nontechnical people
Float Integer
Conclusion
Do we have to speak different languages
Another programming language
Model domain with just types
Discrimination Union
Pattern Matching
Card Number
Record
Gadget
OptionType
Special Result Type
Validation Error List
Discrimination Unions
Functional Programming
Type Inference
Partial Application
Imperative Style
Safestack
Limitations

Taught by

NDC Conferences

Reviews

Start your review of Write Your Own Domain Specific Language with F#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.