• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Domain Driven Design with the F# type System -- F#unctional Londoners 2014
 

Domain Driven Design with the F# type System -- F#unctional Londoners 2014

on

  • 1,728 views

Statically typed functional programming languages like F# encourage a very different way of thinking about types. The type system is your friend, not an annoyance, and can be used in many ways that ...

Statically typed functional programming languages like F# encourage a very different way of thinking about types. The type system is your friend, not an annoyance, and can be used in many ways that might not be familiar to OO programmers.

Types can be used to represent the domain in a fine-grained, self documenting way. And in many cases, types can even be used to encode business rules so that you literally cannot create incorrect code. You can then use the static type checking almost as an instant unit test — making sure that your code is correct at compile time.

In this talk, we'll look at some of the ways you can use types as part of a domain driven design process, with some simple real world examples in F#. No jargon, no maths, and no prior F# experience necessary.

Code, links to video, etc., at http://fsharpforfunandprofit.com/ddd

NEW AND IMPROVED - added sections on:
* why OO, not FP is scary
* designing with states and transitions

Statistics

Views

Total Views
1,728
Views on SlideShare
1,030
Embed Views
698

Actions

Likes
1
Downloads
17
Comments
0

5 Embeds 698

http://fsharpforfunandprofit.com 684
https://twitter.com 7
http://localhost 4
https://www.linkedin.com 2
http://www.google.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Domain Driven Design with the F# type System -- F#unctional Londoners 2014 Domain Driven Design with the F# type System -- F#unctional Londoners 2014 Presentation Transcript