Skip to content
0:00 / 0:00

#f##python#.net

F# as a Better Python - Phillip Carter - NDC Oslo 2020

NDC Conferences

230K subscribers • 110 videos on Hallway • Conference channel

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • Presented by Phillip Carter
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

30K views6 years ago3 recommendations

Programming languagesFunctional programmingLanguage design and type systems

Phillip Carter compares F# to Python, highlighting how F# offers static typing and functional paradigms without sacrificing brevity.

Python is everywhere. It's used for web development, data scripting and exploration, and it is the primary language used for machine learning. However, Python also suffers some problems in these domains: it lacks static types, setting up and upgrading environments is not straightforward and error-prone, and it doesn't lend itself well to functional programming paradigms despite one of its core success areas - machine learning - being very function-oriented. Despite these issues, Python is still very productive and has an incredible tooling and library ecosystem that can be leveraged by other languages. F# solves many of the problems that Python developers have to live with. It has static types that don't sacrifice the brevity that Python developers love. F# has incredible support for web development. Setting up development and deployment environments with F# and .NET Core is simple, straightforward, and predictable. F# is also a functional programming language with advanced tools for abstraction that allow for extremely convenient - but safe - computations over large data sets. Finally, F# and .NET can "plug in" to the Python ecosystem, such as Jupyter and Tensorflow, letting you leverage the amazing work of another ecosystem instead of being forced to abandon it. By the end of this session, you should have a solid understanding of how F# can be a better Python, and how you can apply that knowledge in your daily work.

Why it's here

3 people recommend this

What people say. Recommended for Python developers looking for a statically typed, functional alternative for data science and web development.

Moments people linked to

u/yeastyboiin r/functionalprogramming • Recommends

On “Functional language to replace python”

Check out this talk called Fsharp as a better python: link to this video

u/hrkeniin r/dotnet • Recommends

On “Coming from Python and wondering if I should use Pandas.NET or learn built-in Dataframe stuff”

F# might be a better fit for data science work in .NET coming from Python. Here's an excellent talk by Phillip Carter: [video Here's a guide to data science in F#: https://fsharp.org/guides/data-science/

u/alex_p_nguyenin r/dotnet • Recommends

On “What’s new in F# 6”

I just made a 3min video on how to get started with F# in VS Code Interactive Notebooks: link to this video (Give it some time to transcode to a higher rez - I recorded in 1080p but Youtube processing takes a bit.) tldr use this extension: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-interactive-vscode Phillip Carter has a nice, longer video showing off the more advanced features of Notebooks + F# here link to this video /r/fsharp is a friendly place, feel free to drop by (or reply) with any questions!
3View on Reddit