Latest blog articles (see all)

0
comment
on 3/22/2015 11:27 PM
I will admit it, I got a bit upset by James McCaffrey’s column in MSDN magazine this month, “Gradient Descent Training Using C#”. While the algorithm explanations are quite good, I was disappointed by the C# sample code, and kept thinking to myself “why o[...]
.
f# c#
0
comment
on 3/9/2015 12:30 PM
Fun Basic is an extended clone of Microsoft’s Small Basic programming language that runs as an app in the Windows Store. The app provides a range of sample programs from simple turtle graphics through to video games and physics simulations. The samples ha[...]
.
0
comment
on 2/8/2015 11:35 AM
In this post, we are going to test the escaped concact/split functions that we implemented last time. Along the way, it will become apparent why F# is an ideal language for writing .NET unit tests. These are the signatures of the two F# fu[...]
.
f# c#
0
comment
on 1/30/2015 5:57 AM
The problem Invoking event handlers in C# has always been a bit of a pain, because an event with no subscribers is usually represented as a null reference. This leads to code like this: It’s important to use the handler local variable, as if instead you a[...]
.
c# 6
0
comment
on 12/22/2014 4:01 PM
This post is part of the F# Advent Calendar in English 2014 project. Check out all the other great posts there! Special thanks to Sergey Tihon for organizing this. A good coding habit is an incredibly powerful tool, it allows us to make good decisions wit[...]
.
0
comment
on 12/21/2014 6:36 PM
The built-in .NET Join and Split methods for strings do not provide a way for escaping the separator. If the separator is already contained in the input strings before joining, the strings cannot be reproduced by splitting: open System let inputStrings =[...]
.
f# c#
0
comment
on 12/9/2014 6:10 PM
Some time ago, Microsoft announced Orleans, an implementation of the actor model in .Net which is designed for the cloud environment where instances are ephemeral. We’re currently working on a number of projects in Erlang and have run into some assumption[...]
.
0
comment
on 12/8/2014 11:20 PM
Rosetta Code has a number of programming tasks with example solutions in multiple languages. One of those tasks is find the last Sunday of each month. Here’s a sample in C#: DateTime date; for (int i = 1; i <= 12; i++) { date = new DateTime(year, i, D[...]
.
f# c#
0
comment
on 12/1/2014 3:14 PM
Here’s a few things you may not be aware of: C# identifiers can include Unicode escape sequences (\u1234 etc) C# identifiers can include Unicode characters in the category “Other, formatting” (Cf) but these are ignored when comparing identifiers for equal[...]
.
0
comment
on 11/17/2014 11:22 PM
Last week Gian Ntzik gave a great talk at the F#unctional Londoners meetup on the Nessos Streams library. It’s a lightweight F#/C# library for efficient functional-style pipelines on streams of data. The main difference between LINQ/Seq and Streams is[...]
.

Current and Upcoming Events (see all)

Latest questions (see all)

IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper