Keep it Simple

// practice, the distance between dream and achievement

Tag: CSharp (page 1 of 9)

F# Series – Cheat sheet

This cheat sheet glances over some of the common syntax of F#. If you have any comments, corrections, or suggested additions, please comment. It is designed to be kept close for those times when you need to jog your memory on something like loops or object expressions. Everything is designed to be used with the #light syntax directive.

Continue reading

F# Series – Lets Begin

Before we begin, Note that as the name suggest the equal sign(“=”) is comparison operator in F#. What does it mean?

In F# let is quite powerful construct that is used for value binding, which means assigning some meaning to a symbol.

This can mean various things:

Continue reading

F# Series – Type inference

Type inference refers to the automatic deduction of the data type of an expression in a programming language.

In most programming languages, all values have a data type explicitly declared at compile time, limiting the values a particular expression can take on at run-time. Increasingly, just-in-time compilation renders the distinction between runtime and compile time moot.

However, historically, if the type of a value is known only at run-time, these languages are dynamically typed. In other languages, the type of an expression is known only at compile time; these languages are statically typed.

In statically typed languages, the input and output types of functions and local variables ordinarily must be explicitly provided by type annotations.

Continue reading

F# Series – F# vs C#?

Are you a C# developer and have ever wondered what the F# language can do? Or have you wondered if functional programming is really all it’s cracked up to be? If you’re a .NET developer and you want to better your skills, then it’s best to at least familiarize yourself with F#. This post is just a kick start. 
 

Continue reading

Older posts

© 2017 Keep it Simple

Theme by Anders NorenUp ↑