Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 616 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 616 Bytes

Introduction

This repository is an attempt to better learn functional C# and do the Advent of Code problems at the same time.

What is functional to me?

I set the following rules for myself, mostly taken from the book Functional Programming with C# and with some personal additions:

  1. Don't use if, for, while, etc. Ternary operator ? is allowed
  2. Try to use readonly data structures and records as much as possible
  3. LINQ is considered functional, so any use of LINQ is allowed