Coder F#nctionnel

Post on 23-Jan-2018

1.185 views 1 download

Transcript of Coder F#nctionnel

CODER F#NCTIONNELNicolas Verinaud

RETOUR <

] F#UTUR

Gare Aux

Side EffectsMap

FilterLambda

C#

C#

C#

C#

C#

C#

C#

C#

SOLIDQuand

Est poussé à l’extrême

F#

F#

Oui, fun est un mot-clé en F# ! :-)

F#

F#

F#

F#

IMMUABILITÉ &

EGALITÉ

C#

C#

C#

C#

F#

F#

F#

F#

C#

C#

C#

F#

F#

COMPOSITION

Mort à l’

Vive laHeritage

F#

F#

F#

F#

F#

DOMAIN SPECIFIC

LANGUAGE

F#

F#

F#

F#

Null Reference

“My Billion Dollar Mistake” – Tony Hoare

F#

F#

F#

F#

F#

OMG !

F#

F#

C#

F#

NON REPRESENTABLE

Rendre les États Illégaux

F#

F#

F#

F#

TYPE PROVIDERSet F# dans ma boite !

DEMO TIME !

* Try F# ! —> http://www.tryfsharp.org/ * F# pour les développeurs “non

fonctionnels” —> http://fsharpforfunandprofit.com/

* La communauté —> http://fsharp.org/

Pour aller plus loin…

MERCI !

@nverinaudn.verinaud@gmail.com

nverinaud.com

QUESTIONS ?Avez-vous des

* Ten things F# can do, and C# can't http://tv.ssw.com/5160/ten-things-f-sharp-can-do-and-c-sharp-cant-liam-mclennan-ddd-brisbane-2013

* Make illegal states unrepresentable ! https://vimeo.com/144800642

* F# for fun and profit http://fsharpforfunandprofit.com

* From SOLID to Functional : http://www.infoq.com/presentations/solid-oop-fp

* What Is Functional Programing ? http://blog.jenkster.com/2015/12/what-is-functional-programming.html

* Which Programming Languages Are Functional ? http://blog.jenkster.com/2015/12/which-programming-languages-are-functional.html

* F# as our day job by 2016 https://vimeo.com/132194547

* Null References : The Billion Dollar Mistake - Tony Hoare http://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare

Sources et Inspirations

* “OMG” by muffinbasket [CC BY-NC-ND 2.0] (https://www.flickr.com/photos/48221134@N08/4958245676)

* “Orange County Archives” by Dyer Rd., looking east at Main St., Santa Ana, May 1956 [CC BY 2.0] (https://www.flickr.com/photos/30346812@N07/14632402586)

* “Not What I Expected To See” by Bart [CC BY-NC 2.0] (https://www.flickr.com/photos/17731548@N00/3262688866)

Crédits Photo

Télécharger cette présentation

coder-fonctionnel.nverinaud.com

Télécharger le code de la démo

http://github.com/nverinaud/coder-fonctionnel