Skip to main content

Home/ Aasemoon'z Cluster/ Group items tagged syntax

Rss Feed Group items tagged

Aasemoon =)

One Div Zero: Why Scala's "Option" and Haskell's "Maybe" types will save you from null - 0 views

  • First, right off the top here: Scala has true blue Java-like null; any reference may be null. Its presence muddies the water quite a bit. But since Beust's article explicitly talks about Haskell he's clearly not talking about that aspect of Scala because Haskell doesn't have null. I'll get back to Scala's null at the end but for now pretend it doesn't exist.Second, just to set the record straight: "Option" has roots in programming languages as far back as ML. Both Haskell's "Maybe" and Scala's "Option" (and F#'s "Option" and others) trace their ancestry to it.
Aasemoon =)

Functional C#: LINQ vs Method chaining at Mark Needham - 0 views

  • One of the common discussions that I've had with several colleagues when we're making use of some of the higher order functions that can be applied on collections is whether to use the LINQ style syntax or to chain the different methods together. I tend to prefer the latter approach although when asked the question after my talk at Developer Developer Developer I didn't really have a good answer other than to suggest that it seemed to just be a personal preference thing. Damian Marshall suggested that he preferred the method chaining approach because it more clearly describes the idea of passing a collection through a pipeline where we can apply different operations to that collection.
Aasemoon =)

F# in ASP.NET, mathematics and testing | .NET Zone - 0 views

  • Starting from Visual Studio 2010 F# is full member of .NET Framework languages family. It is functional language with syntax specific to functional languages but I think it is time for us also notice and study functional languages. In this posting I will show you some examples about cool things other people have done using F#.
1 - 3 of 3
Showing 20 items per page