April 9, 2023

C# on Windows

I have a Windows 10 machine handy. I wonder if that would be easier, cleaner, better for purposes of fooling around with C# (and even F#) that trying to use it on linux via Visual Studio Code.

I have no intention (at this point) of doing any serious project with C#, I just want to get a feel for the language and learn a bit about what Microsoft is doing with .NET.

One likely plus is that I can get the actual Visual Studio IDE (Community edition). The Professional edition costs money, but the Community edition is free and should be more than adequate for my stated purposes. Note that even the community edition is not available for linux, despite many people clamoring for it.

What about F#

Fire up Visual Studio and tell it to create a new project. The first screen has a pull down menu for languages, use it and select F#. Select an F# console application. Give it a name (I name my first experiment "functional").
Away you go! Easy.

However, F# is not Haskell. It is not lazy and it is not pure -- but it is "more practical".

Vim plugin

This is getting way beyond what I need to work with now, but I want to save a link to this for later. Apparently there is a Vim plugin for VS Code and using VS Code in that way is not uncommon. Any straightforward search will turn up plenty of links.
Feedback? Questions? Drop me a line!

Tom's Computer Info / [email protected]