July, 2010
03 July 2010
So I have mentioned lazy functions before, in particular related to sequences, however I came across it again – but this time with lazy values and thought I would explore it a little bit more…
03 July 2010
Today I stumbled across the ACM international collegiate programming contest for South Africa website. It looked like it had some interesting programming problems so it may be a useful reference of anyone wishing to pit their luck against university level CS problems.
01 July 2010
I had a bit of a no brainer yesterday… I have been using the forward pipe to convert values, and came up against the problem where the following code would work
June, 2010
29 June 2010
Okay… don’t judge me… I have been coding in C# for a few years now and up till the point that I got into F# I never used lambda’s. This last week I realized just how much I am using the lambda expression in F# and thought it was about...
28 June 2010
So I must admit, the first time I saw it I scratched my head and thought to myself, why will I ever use that? Several months since then and now I love the Forward Pipe (FP) in F#.
26 June 2010
Today I had a quick bash at problem 6. To me this has been the easiest of the problems so far. It is the first time though that I got to use the Seq.Fold function which was good to get exposure to. I am not to happy with my code...
25 June 2010
I hope I spelt “Fizzbuzz” correctly, but I had a real laugh listening to Hansel Minutes Show 218 when Scott suggested that we have a secret password to give to Tech Support so that they know we aren’t idiot’s. I think it is a great idea…
25 June 2010
As per the post I decided to do a F# attempt at FizzBuzz. It took a few seconds…
25 June 2010
So today I tackled a Euler problem that I had originally looked into several months back when I initially started exploring F#
24 June 2010
The last few days I began to play around with problem 4 of Euler. I really enjoyed this problem since it dealt with a few functions in F# that I haven’t dealt with in the past.
23 June 2010
So I have been playing around with more Euler problems and I have found it a great way to learn some of the basic functions of F# and Seq specifically. The more I play the more I am really loving F# and how succinct the language is.
21 June 2010
So this weekend I made an attempt at problem 3 of Project Euler.
19 June 2010
Today I thought I would give a bash at problem 2 of Euler.
17 June 2010
I was listening to Dot Net Rocks show #560 about F# and during the podcast Richard Campbell brought up a good point with regards to F# and a GUI. In essence what I understood his point to be was that until one could write an end to end application in...
17 June 2010
Every now and then I give project Euler a quick browse. Since I have been playing with F# I have found it a great way to learn the basics of the language. Today I thought I would give problem 1 an attempt…
16 June 2010
A few days ago I was programming on a personal project and hit a roadblock. I was applying the MVVM pattern and for some reason my view model was not updating the view when the state changed??? I had applied this pattern many times before and had never had this...
10 June 2010
I was listening to Dot Net Rocks show #560 about F# and during the podcast Richard Campbell brought up a good point with regards to F# and a GUI. In essence what I understood his point to be was that until one could write an end to end application in...
09 June 2010
This evening I had the pleasure of reading one of ThomasP’s blog posts on first class events. It was an excellent read, and I thought I would make a brief derivative of his post to explore some of the basics.
04 June 2010
Today I had a few minutes in the evening to go over my original Adam and Eve code… what I wanted to see tonight was if I could optimize the code any further… which I was pretty sure could be done. Ultimately what I wanted to find from the experiment...
04 June 2010
Another day gone by looking into F#. Today I thought I would ramble on about lists and arrays in F#. Coming from a C# background I barely ever use arrays now days in my C# code – why you may ask – because I find lists generally handle most of...