Fun and Games in F#

Post on 12-May-2015

3,422 views 0 download

Tags:

transcript

Fun and Games in F#F# MVP2MVP

Richard Minerich@Rickasaurus

RichardMinerich.com

Most Common F# Talks

• The Feature-FestA technical description of F# feature by feature

• Exhaustive Code ComparisonShowing sample after sample side by side with another language

How will this solve myproblem?

Shocking Announcements!

Most C# devs don’t even know how to use lambda expressions!

Big academic sounding words are scary to even seasoned devs!

Many devs still think F# is a dynamic language!

If you already know F#, you are smarter than the vast majority of the devs you’ll meet.

Kinds of Audience Members

• Beginner– (Some members of) F# User Groups– .NET User Groups– Code Camps

• Existing F# User– (Some members of) F# User Groups– The Community For F#

Passion

Explain why you care– Safety from Types?– Abstraction without Obfuscation?– Aesthetically Beautiful Code?

Speak with enthusiasm– Why over how– Abstractions instead of details– Just try it!

Interest

Engage with– Competition – Entertainment– Gratification

How?– Ask Questions, Issue challenges– Make it Visually Interesting– Give Rewards

Example 1: Show Examples, Ask Questions, Give Prizes

> let rec recFun n = if (n < 3) then 1 else recFun (n - 1) + recFun (n - 2);;

val recFun : int -> int

> recFun 4;;??

Function

Example 2: Teaching with Games

The Students are Given:

- An Obfuscated Library- A Simple API - A Simple Template Example- Time to play- Motivation via Competition

Example 3: The Code-off

Some compete for supremacy,others learn a few things.

Example 4: The Playground

Play should be fundamental

Help build an inviting F# community culture

• Tell people about why you love F#• Make your presentation format engaging• Encourage others to Speak• Be sympathetic to new users

Agree? Disagree? Email me:Richard.Minerich@gmail.com