.NET Saturday in SkyPoint

May 27

I’ve visited the .NET Saturday organized by the Ciklum Company on May 26. I’ll tell you a little bit about my impressions.

The program was really nice, exactly as the organizers warned. There were:

  • Eugene Zharkov – “Windows 8 Metro App: JavaScript Dark Side”;
  • Petr Afanasiev – “Perfect API: ASP.NET Web API inside!”;
  • Sergey Koshel – “When optimistic lock is not a case (.NET/SQL)”;
  • Vitaliy Domnikov – “F# – To Iterate is Human, to Recurse, Divine”;
  • Alexandr Ivanitskiy – “XAML – a markup language for WPF, Silverlight and Metro applications”.

In addition to the main screen, there was an additional screen installed for tweets with the CiklumNET hashtag, which perfectly entertained the audience.

It is a pity that I couldn’t attend all the lectures, but Vitali’s lecture on F# made a great impression on me, however, the lecture by Alexander was saved only by trolls twitting about cups, women, and dresses. So, from now on, I will visit meetups in Ciklum more frequently.

Oh yes, I almost forgot. I promised to try F# and finally did it. The program is the calculation of factorial of the n number.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Create function for calculating factorial
let rec factorial n = match n with
| 0 -> 1
| _ -> n * factorial (n - 1)
 
// using System
open System
 
Console.Write(@"Enter n = ")
let n = Convert.ToInt32(Console.ReadLine())
 
// Calculate and write result
let result = factorial n
Console.Write(@"Result = ")
Console.WriteLine(result)
// Create function for calculating factorial
let rec factorial n = match n with
| 0 -> 1
| _ -> n * factorial (n - 1)

// using System
open System

Console.Write(@"Enter n = ")
let n = Convert.ToInt32(Console.ReadLine())

// Calculate and write result
let result = factorial n
Console.Write(@"Result = ")
Console.WriteLine(result)

It is really possible to write programs on this functional language quite quickly and efficiently if you want to work with math functions. Dark side is the same: you have to think 🙂

We #StandWithUkraine.
Learn how you can help too!

#Stand­With­Ukraine

We don't know how long the war will last. But what we do know is that we can't stand aside and watch.

The fastest way you can help too is to support Ukraine financially. The National Bank of Ukraine (NBU) has opened a multi-currency account for that purpose. Learn more

This account accepts donations in US, Canadian and Australian dollars, euros, British pounds, Swiss francs, yuan and yen.

UA823000010000032302338301027

Also accepting cryptocurrency donations – the fastest way to help. Learn more

BTC – 357a3So9CbsNfBBgFYACGvxxS6tMaDoa1P

ETH, USDT (ERC-20) – 0x165CD37b4C644C2921454429E7F9358d18A45e14

If you want to volunteer in the army of Ukraine and help with deeds, then here are specific instructions how to do this: Learn more

Spread the word!