3 Features of F# Which Lead to Better Code with Paulmichael Blasucci

Clarity of Intent: Three Features of F# Which Lead to Better Code

Source code tends to be read (by humans and machines alike) more often than it is written. So, it makes sense that code should be as clear and direct as possible. In this talk, suitable for all skill levels, we will review three simple features of F# (two of them uncommon in most languages) which can lead to more focused, precise, and readable code. Specifically, we will see how the combination of pattern decomposition, active recognizers, and unit-of-measure annotations dramatically increase the clarity of an author's intentions. In particular, we will see how doing so actually reduces code footprint while increasing maintainability.

 

About Paulmichael

Paulmichael has been a passionate F# developer since early 2007. He is, in particular, fond of the language's tendency to be pragmatic rather than dogmatic. Professionally, he uses F# as the core of bespoke polyglot solutions to complex business problems. Over the past six years, a “functional-first” methodology has been an important part of his work such diverse industries as high-end electronics, automated stock trading, and entity resolution research. When not working, he may be found answering F# questions on Stack Overflow, hacking on various open-source F# projects (check out http://github.com/pblasucci/), or taking part in discussions on Microsoft's “F# Insiders” mailing list. Over the past two years he has begun blogging and given presentations about his experiences with the language. He is also a co-organizer of the New York City F# Users Group.

 

Join or login to comment.

People in this
Meetup are also in:

Create a Meetup Group and meet new people

Get started Learn more
Bill

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy