Heap Heap Array! Rotating Header Image

Posts under ‘Languages’

The Language Wars Rage On

Should a VB6 shop start using VB.NET, or should they switch to C#? In addition to my business, I work for a county-level government agency in Florida. Our legacy system is a 1.2-million-line steaming pile of VB6. While it works (for limited definitions of “works”), there’s no way we’re going to be able to maintain [...]

Project Euler Problem 14

For the last 36 hours, off and on, I’ve been working on solutions to Project Euler problems, just to learn some F#. I started at the beginning and have been working my way up, as the difficulty increases. So far, I’ve solved problems 1-10, 14, 47, and 243. Problem 9 doesn’t really count as I [...]

Rough Edges

My copy of Programming F# arrived a few days ago, and I’ve been reading it in my spare time. In doing so, I’ve noticed a few oddities in the language. That isn’t to say that it isn’t a great language; it’s just clear that the integration between ML and the .NET framework is not entirely [...]

Fledgling Forays in F#

So, to start learning F#, I searched for existing F# code. One of the first snippets I found was the sieve of Eratosthenes in many languages, including F#. Except the listed F# ‘sieve’ wasn’t; it did an exhaustive search from 2 to Math.Sqrt(int_of_float n) for every element n. I thought, “Even as a beginner, I [...]

Trying To Think Functionally

Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will make you a better programmer for the rest of your days, even if you never actually use Lisp itself a lot. [Eric S. Raymond] I, for one, know that I’m only partially enlightened. When I [...]