ASP.NET News from Blogger:
Did it with .NET
Total News: 54
A type extension is
F#s syntax for augmenting an existing type with new members similar in spirit to
C# and VBs extensions methods. I employ type extensions to make life a bit easier
w...
The last several weeks have been pretty hectic for me. First, Visual
Studio 2010 and .NET Framework 4 shipped. Of course, only those living in caves
and under rocks missed that bit of ne...
A few weeks ago, some of my colleagues and I were discussing the idiosyncrasies of
various programming languages (as we often find ourselves doingwere kind of geeky
that way), when one o...
Now that Visual Studio
2010 Beta 2 is finally out the door, Ive had a bit more time to spend coding
on some of my personal projects. Yesterday, I happened upon a cool trick while using
...
Last October, DevExpress released a massively
powerful FREE tool specifically for
C# developers called CodeRush Xpress. Today, in partnership with Microsoft, DevExpress
has outdone themselves wit...
Im back again with another post in my Yet
Another Project Euler Series. As a reminder, my approach to these problems is
to try to find the most beautiful solution that I can using F#. While perfor...
In Visual Basic .NET, there are several
cases in which the statement completion list will present the user with a list of
values rather than the standard completion set. Most often, this occurs when ...
Welcome coding ninjas!1 Continuing with Yet
Another Project Euler Series (YAPES), we come upon problem
eight.
731671765313306249192251196744265747423...
As a Program Manager at Microsoft, I wear several different hats. First and foremost,
I am the Visual Basic IDE Program Manager, whose job is to keep the powerful engine
that is the VB IDE
Team runni...
Last time,
we took a brute force approach to solving Project
Euler problem
seven. Unfortunately, the resulting prime number generator turned out to be fairly
ugly and not really efficient enough to h...
The F# library provides a variety of functions (based on the printf functions
found in OCaml) that produce formatted
text.
pr...
Its that time of year again. CodeMash time.
When I first moved to the Seattle area, I was concerned that I wouldnt be able to
come back to Ohio for this years CodeMash. Of all of the c...
Prime numbers.
If theres one mathematical curiosity that appears more often than any other in the Project
Euler problems, its prime numbers. To be fair, we've dealt with prim...
NOTE: I have shamefully stolen the title of this post from the custom T-shirt
sported by Amanda Laucher at Tech Ed Developer
2008. The cleverness is all hers.
Im a b...
After two full months with no new posts, Im finally coming up for air. The past two
months have been some of the busiest of my life. Below are a few of the things Iv...
Today, I'm tackling Project Euler problem two
in F#:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
Like proble...
Jason Follas has done it again! He has trumped
all of our feeble geeky efforts to firmly establish himself as the reigning "King
Nerd." Over the years, Jason repeatedly has proven his ...
For the past several months, I've been using F# to solve at least two Project
Euler problems each week. I find this is a great way to sharpen my math skills
and my F# skills simultaneously. If you...
This
recent blog post caused quite a stir on the F# mailing list. The post presents
two solutions for Project EulerProblem
14: one in C# and the other in F#. The C# version ...
Last month, I was scheduled to speak at the Findlay
Area .NET Users Group (FANUG), but the meeting was canceled due to weather. This
month, my good friends Jason Follas and Greg
Huber were schedu...
Yesterday, I attended the Microsoft
Detroit Launch Event and the Geek
Dinner that immediately followed. (Important thanks go to Microsoft for graciously
picking up our food tab at the Geek Dinner...
Recently, I was refactoring some trivial F# code, and the results were so elegant
that I felt it would be instructive to share them. My tale begins simply with a list
of lists...
>
...
Help! I've painted myself into a corner.
While writing articles for this series, I try very hard to introduce only a little F# syntax
at a time. It is a personal goal of mine not to use syntax that ...
Welcome to the eighth article in my series
about why I look upon the F# language
with the hormone-driven lust of a 16-year old boy. ([ed.] Dustin's trophy wife has
indicated that the previous metap...
Greetings fellow F#-philes! Today we're
looking at another reason that I am completely infatuated with the F# languagepattern
matching.
Pattern matching is a simple idea. Essentially, a pattern ...
Welcome back for another installment in my series on why I find Microsoft
F# to be an exciting language for the .NET platform. If you're just joining us,
below are links to the articles in the ser...
As
promised, today I'm demonstrating a compelling way in which F# uses tuples to
make .NET programming more elegant.
A question that comes up early in F# demonstrations is, "Can I use F# to acc...
Nate Hoellin has a great article on setting
up an F# project for TDD with NUnit.
Check it out:Sample
setup for Visual Studio 2008 for F# Unit Testing with NUnit
...
Last
time, I demonstrated the basics of tuple types
in the F# language.
However, I (intentionally) failed to answer a couple of important questions about
tuples:
Once values are bound together...
Another feature of the F# language
that I crave desperately when writing C# or VB code is F#'s built-in support for tuples.
What's a tuple? Simply put, a tuple is an ordered group of values. In one ...
I'm continuing my series showing ways in
which F# is a exciting
.NET language. As I mentioned before, if you have any suggestions for future topics
please feel free to email them to dustin AT didit...
I'm starting a brand new series of short
articles about F#.
The plan is to describe features that, for me, make F# a compelling and enjoyable
.NET language. So far, I have 10-15 articles in mind, b...
While at CodeMash,
I sat down with my good friend Chris Woodruff for
a casual podcast interview discussing life, code, being a Microsoft
MVP, DevExpress and the CodeMash conference.CodeMash
2008 I...
While at CodeMash,
I had the opportunity to sit down with Scott Hanselman and
record an episode for his renowned podcast, Hanselminutes.
As a follower of the podcast, I was thoroughly flattered to ...
WARNING
: This article
is an interesting diversion and contains little practical value. It is an example
of mind-stretching language torture and is intended for ...
Hello again, X-mas celebrants! I
have just one last verse in my carol to
make all of your Visual
Studio 2008 experiences bright. Don't let your hearts be saddened ...
Greetings friends! I bring tidings of comfort and joy! That is, you can rest comfortably
and joyously, knowing that you don't have to wait for refactorings that leve...
I'm afraid that I have an apology to make. I feel that I've given my Visual Basic
friends a raw deal because the verses of my carol thus
far have been primarily abo...
Welcome back for more X-mas refactoring
fun!There are just four more verses in my carol,
but I'll make them count. Refactor!
Pro can bless your Visual
Studio 200...
JustinKohnen: @dcampbell:
um... Christmas is over dude ;)
That was posted on Twitter today when I announced
that I was working on this very ...
Season's greetings!
We're halfway through my X-mas
carol describing how Refactor!
Pro can be used to leverage the new features of Visual
Studio 2008. T...
Merry X-mas friends! It
is indeed X-mas day, and I have returned
with a special gift for you. Today, I'm doing my part to bring peace on earth and
goodwi...
'Twas the night before X-mas, when
all through the house,
Not a creature was stirring, not even a mouse;
The stockings were hung by the chimney with care...
Feliz Navidad my mistletoeaficionados!
I've just finished warming up my voice and am ready to continue my aria of Refactor!
Pro support for Visual
Studi...
Welcome back my 'nog-froth mustachioed
friends! I've returned with another helping of Refactor!
Pro goodness for Visual
Studio 2008. One scrooge commented
that th...
Season's greetings! Welcome back for another dose of Yuletide cheer! Yesterday,
I sang to you about one way in which Refactor!
Pro can be used to leverage the new ...
Gentle readers, in the spirit of X-mas,
I'd like to sing you a carol.
This jolly tune (based on a popular old
English carol) enumerates ways that Refactor!
Pro c...
Visual Studio 2008's multi-targeting support for compiling projects to
different versions of the .NET Framework is very powerful. Multi-targeting is a
compelling feature because it enables users to ...
While exploring F#,
I've grown increasingly impressed by the libraries that ship with it. One of the main
purposes of the libraries is to provide underlying support for the language itself.
In addi...
Putting
the Fun into Functional with F#
Scrambling to understand arcane-sounding functional programming terms like "closure"
and "currying?" In...
View Other bloggers