Geeks With Blogs
Mark Pearl May 2010 Entries
F# – It’s time to grow up baby.
In the last few months since I started learning F# I have begin to notice an increase in the number of people blogging about the language. Sure, it could just be that I am noticing it more because I am actively looking out for questions and blog posts, but even in my day to day reading of Code Project Daily News and Stack Overflow questions there seems to be increased activity around the language. So what sparked this post? Well, today today I logged in and saw that the latest podcast by DNR was ......

Posted On Friday, May 21, 2010 8:18 AM

C# Preprocessor Directives
Going back to my old c++ days at university where we had all our code littered with preprocessor directives - I thought it made the code ugly and could never understand why it was useful. Today though I found a use in my C# application. The scenario – I had made various security levels in my application and tied my XAML to the levels by set by static accessors in code. An example of my XAML code for a Combobox to be enabled would be as follows… <ComboBox IsEnabled="{x:Static security:Security.SecurityC... ......

Posted On Thursday, May 20, 2010 3:37 AM

F# Application Entry Point
Up to now I have been looking at F# for modular solutions, but have never considered writing an end to end application. Today I was wondering how one would even start to write an end to end application and realized that I didn’t even know where the entry point is for an F# application. After browsing MSDN a bit I got a basic example of a F# application with an entry point [<EntryPoint>] let main args = printfn "Arguments passed to function : %A" args // Return 0. This indicates success. 0 Pretty ......

Posted On Saturday, May 15, 2010 7:05 PM

F# – a good reference of resources


I was browsing StackOverflow this weekend and came across a great response to the question “What is a good way to get started in F#”.

Find the question & answer here.

Posted On Saturday, May 15, 2010 5:36 PM

Great post about 10 things that kill motivation


I read a great post on 10 surefire ways to kill morale. Read it here.

Posted On Tuesday, May 11, 2010 4:07 PM

Does F# kill C++?
Okay, so the title may be a little misleading… but I am currently travelling and so have had very little time and access to resources to do much fsharping – this has meant that I am right now missing my favourite new language. I was interested to see this post on Stack Overflow this evening concerning the performance of the F# language. The person posing the question asked 8 key points about the F# language, namely… How well does it do floating-point? Does it allow vector instructions How friendly ......

Posted On Wednesday, May 5, 2010 9:36 PM

Inversion of Control Resource
Well… this is going to be another really short blog posting. I have been meaning to read more about IOC containers and came across this blog post which seemed to really explain the concept well – based on Castle Windsor. I also enjoyed reading the replies about IOC on stack overflow and what it meant. If anyone knows of other good articles that explain the basics really well – wont you comment them to me ......

Posted On Tuesday, May 4, 2010 2:46 AM

F# Objects – Part 3 – it’s time to overload…
Okay, some basic examples of overloading in F# Overloading Constructors Assume you have a F# object called person… type Person (firstname : string, lastname : string) = member v.Fullname = firstname + " " + lastname This only has one constructor. To add additional constructors to the object by explicitly declaring them using the method member new. type Person (firstname : string, lastname : string) = new () = Person("Unknown", "Unknown") member v.Fullname = firstname + " " + lastname In the code ......

Posted On Saturday, May 1, 2010 5:42 PM

Copyright © MarkPearl | Powered by: