Anything You Can Do …

| Comments

For any of you that are aware of the newly updated Xamarin Web site, you may have seen the following:

Objective-C was ahead of its time 30 years ago. C# is ahead of its time today. Anything you can do in Objective-C or Java, you can do in C# with Xamarin—usually more succinctly and with fewer bugs.

What is also true is that F# is way ahead of its time, and you can produce even more succinct code with even fewer bugs than C#!

Xamarin 3 F# Awesomeness

| Comments

With the release of Xamarin 3 we have a swathe of new features to the platform, but obviously the most important one is obviously F# support is now included by default in Xamarin Studio so there is no escape from the awesomeness of F#!

So what else have we got, well loads of other goodies too like Xamarin Designer for iOS, Xamarin.Forms, Major IDE enhancements, Improved code sharing with PCL and Shared projects, and BCL Documentation. You can see the release blog post here: announcing Xamarin 3

There are tons of things I could show you, but for this post lets have a quick look at Xamarin.Forms

35 Days Later

| Comments

After choosing to not surf the seas of Twitter, am I any less current in the world of F#, did I miss anything important that a real-time stream would of alerted me to?

I know for certain that all the trivial micro updates can be interesting to read but ultimately they are quite a time suck, especially if you have alerts enabled on your mobile etc.

So after just over a month of non tweeting, apart from responding to directly to others, things have finally calmed down. I’m not getting regular mentions anymore, my followers have topped out at just under 1000 although I still seem to be getting a follower every now and again.

Ive also cut back on hours. I was regularly spending 13-15 hours in front of a computer each day including the day job, programming can be addictive to the detriment of other things. So Ive cut back to 8-10 hours a day, no weekend programming.

So 35 days later I am no longer a programming zombie!

I have a lot of other things that I enjoy doing, like playing guitar, drawing and painting, woodwork, and recently astronomy. There are just too many interesting things to do. Heck, I’d even tempted to blog about some of this other stuff if I though anyone was even remotely interested!

Until next time…

Keep on rocking!


Essential listening:

  • Biohazzard – Urban Discipline
  • Xentrix – For whose advantage

Adding Touch to SpriteKit

| Comments

Only a quick post this week. Last time we looked at SpriteKit and how to add some particle emmiters to simulate a star-field and exhaust on a spaceship, this time lets look at adding some touch based input to move the spaceship around.

Spritekit Particle Fun

| Comments

I have been meaning to write this post for quite a while now. Since the first announcement of the iOS7 beta I immediately saw the list of new API’s and SpriteKit caught my eye straight away. I only managed to get time to briefly look over the API and saw that is wasn’t the usual trashy API with a million method overloads, internal mutation sucker punch type thing. It seems to be very declarative and intuitive, which makes for a nice change.

Can I Have Some F# With That?

| Comments

There’s been a fair bit of activity lately from a project called ScriptCS, it allows you to put together a project using C# as a lightweight scripting language, forgoing the use of Visual Studio which can sometimes be too bloated and bulky.

It also allows you to use C# in a Read Evaluate Print Loop – REPL. This is nothing new to F# and indeed lots of other languages have REPL’s too. One of the other benefits of ScriptCs is that it also integrates nicely with Nuget allowing you to use your favourite libraries quite easily. Finally there are Script Sacks which can be used to further reduce the amount of code you need to write when working with common frameworks.

It would be nice to leverage some of this new functionality from F#, and I don’t like to see F# left out, especially when F# already has a REPL environment and is a really great language for scripting.

The F# compiler is also open source so we can utilize the code to add various tooling and features like refactoring, formatting, and analysis. See Fantomas, FSharp-Refactor, and the FSharpBinding for more details.

Some Kind of Monster

| Comments

What’s 100 meters high and weighs in at around 60,000 tons? No its not Godzilla, its Reactive extensions!

Lately on one of my projects I have been doing a lot of stream manipulation, and although I solved the problem quite easily using F# async workflows, there were other solutions available to help solve the problem. I could of used things like async await, TPL Dataflow(TDF), and Reactive Extensions (Rx). This is going to be a short post on using Rx with F#.