Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Luca Bolognese's WebLog
x += x++;
This Blog
Email
Syndication
RSS 2.0
Atom 1.0
Search
Go
Tags
.NET Futures
Books
C# Programming
Financial
Miscellanea
Object Orientation
Sport
Archives
July 2008 (1)
June 2008 (1)
April 2008 (3)
March 2008 (1)
January 2008 (2)
December 2007 (5)
November 2007 (1)
August 2007 (5)
July 2007 (1)
June 2007 (3)
May 2007 (2)
April 2007 (2)
February 2007 (3)
January 2007 (3)
July 2005 (1)
April 2005 (1)
March 2005 (2)
February 2005 (2)
January 2005 (3)
August 2004 (7)
July 2004 (5)
Bloggers
Matt Warren
Andy Conrad
Eric Gunnerson
Dinesh Kulkarni
Who am I (really)?
The author
Browse by Tags
.NET Futures
Books
C# Programming
Financial
Miscellanea
Object Orientation
Sport
Tuesday, July 15, 2008 2:46 AM
A C# library to write functional code - Part V - The Match operator
Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator This is my last post of this series. It is about the match operator. To the untrained eyes this operator might look like
Posted by
lucabol
|
3 Comments
Filed under:
C# Programming
Friday, June 06, 2008 1:45 AM
A C# library to write functional code - Part IV - Type Unions
Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator I'm sorry for my prolonged absence in the middle of this series of posts. I'm on a long paternity leave in Italy (playing
Posted by
lucabol
|
10 Comments
Filed under:
C# Programming
Monday, April 21, 2008 10:34 AM
A C# library to write functional code - Part III - Records
Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator Now that we know what Tuples are, we can start talking about Record, as they use a derivative of Tuples under the cover.
Posted by
lucabol
|
13 Comments
Filed under:
C# Programming
Tuesday, April 08, 2008 1:51 PM
A C# library to write functional code - Part II - Tuples
Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator Tuples are a way for you not to name things. In Object Oriented languages you got to name everything. If you need to represent
Posted by
lucabol
|
16 Comments
Filed under:
C# Programming
Attachment(s):
Functional.zip
Tuesday, April 01, 2008 10:36 AM
A C# library to write functional code - Part I - Background
Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator In December (slow time in msft) I decided to understand what functional programming is all about. When I say 'understanding'
Posted by
lucabol
|
15 Comments
Filed under:
C# Programming
Monday, March 03, 2008 1:51 PM
"LINQ to SQL Overview" video
This is my presentation from TechEd Barcelona: http://www.microsoft.com/emea/msdn/spotlight/sessionh.aspx?videoid=716 . The European locale brings out my Italian accent ... On this page there are a bunch of interesting presentations (i.e. Anders on LINQ):
Posted by
lucabol
|
12 Comments
Filed under:
C# Programming
Friday, January 11, 2008 10:36 AM
Creating an immutable value object in C# - Part V - Using a library
Other posts: Part I - Using a class Part II - Making the class better Part III - Using a struct Part IV - A class with a special value In the last post we presented a variation of implementing a value object using a class. Everything works (obviously),
Posted by
lucabol
|
12 Comments
Filed under:
C# Programming
Attachment(s):
TimeLineUsingRecord.zip
Monday, January 07, 2008 11:04 AM
Book review: The Halo Effect
When I read " Built to Last ", " In search of excellent " and " Good to great " I immediately thought: "What a bunch of BS!!". But again, I think that about most business books. The content of these books seemed particularly ludicrous to me. I found both
Posted by
lucabol
|
5 Comments
Filed under:
Books
,
Financial
Friday, December 28, 2007 3:45 PM
Creating an immutable value object in C# - Part IV - A class with a special value
Other posts: Part I - Using a class Part II - Making the class better Part III - Using a struct In the last post we looked at structs as ways to implement immutable value objects and we discovered that they have several issues. A good thing about the
Posted by
lucabol
|
6 Comments
Filed under:
C# Programming
Monday, December 24, 2007 2:39 PM
Creating an immutable value object in C# - Part III - Using a struct
Other posts: Part I - Using a class Part II - Making the class better Part IV - A class with a special value In Part II I talked about the asymmetry created by using 'null' as the special value for our little DateSpan domain. We also noticed the boredom
Posted by
lucabol
|
11 Comments
Filed under:
C# Programming
Attachment(s):
TimeLineAsStruct.zip
Monday, December 17, 2007 3:17 PM
Bisection-based XIRR implementation in C#
Here is a quick implementation of XIRR (using Excel nomenclature) written in C#. Disclaimer : this is a super simple Bisection-based implementation. People tend to prefer the Newton method, but this is simpler and works for the app I'm writing. I decided
Posted by
lucabol
|
1 Comments
Filed under:
C# Programming
,
Financial
Thursday, December 06, 2007 9:34 AM
Creating an immutable value object in C# - Part II - Making the class better
Other posts: Part I - Using a class Part III - Using a struct Part IV - A class with a special value In the previous post I showed how to trivially implement a value object. The code works but it has several issues. Some are very simple, others are more
Posted by
lucabol
|
16 Comments
Filed under:
C# Programming
Monday, December 03, 2007 10:22 AM
Creating an immutable value object in C# - Part I - Using a class
Other posts: Part II - Making the class better Part III - Using a struct Part IV - A class with a special value Value objects are objects for which the identity is based on their state instead of their pointer in memory. For example, a numeric Complex
Posted by
lucabol
|
18 Comments
Filed under:
C# Programming
Attachment(s):
TimeLineAsClass - 1.zip
Tuesday, November 20, 2007 8:56 AM
Brief review of "Total Workday Control"
We get plenty of emails in Microsoft. Without a system to manage them you are dead. Or better, your mind plays strange tricks on you making you think that you still have work to do. You need to convince your mind that you are done for the day and to stop
Posted by
lucabol
|
2 Comments
Filed under:
Books
,
Miscellanea
Friday, August 31, 2007 1:54 PM
Instead of a simple switch statement ...
This is Luke 's kind of code. I might be catching the virus ... abstract class QIFParserBase { public enum LoadOptions { All, Prices, Securities, Transactions } static readonly Dictionary < LoadOptions , Action < QIFParserBase , string []>>
Posted by
lucabol
|
5 Comments
Filed under:
C# Programming
More Posts
Next page »