Review: Keyboard UHK2
Mar 27, 2022
TLDR Great keyboard, but maybe not for everybody.
Pros:
great hardware ergonomic split design very easy re-programmable from any os (win/mac/linux) looks great Cons:
very expensive relearn some keys I’ll describe cool default features and some workarounds.
...
➦
Parameterized xUnit Tests with F#
Jan 12, 2022
This post showcases different ways of writing parameterized tests with xUnit using F#.
I’m assuming you
have a basic knowledge of F# are familiar with the concept of parameterized tests are familiar with parameterized tests with C#/xUnit TL/DR type Somebody = { Name : string } let samplesTLDR : obj[] list = [ [| { Name = "Homer" }; "Homer" |] [| { Name = "Marge" }; "Marge" |] ] [<Theory>] [<MemberData(nameof(samplesTLDR))>] let ``test TLDR`` someBody expected = Assert.
...
➦
How to setup Jupyter with dotnet 5 on Arch Linux in 2021
Feb 26, 2021
Jupyter “Notebooks” are an interesting way of documenting / teaching code interactively. Jupyter has extended their plattform for other languages (it was originally conceived for Python). See this microsoft anouncement from 2020-06 for dotnet core integration.
...
➦
TDD Money Step-by-Step in C#
Feb 25, 2020
While preparing a TDD workshop, I ported Kent Beck’s Money example from the book “Test-Driven Development by Example”
to C# using .NET Core I’ve tried to map each change described in the book to a dedicated git commit with a sensible commit message.
...
➦
F# Smart Constructor
Feb 10, 2020
The “Smart Constructor” pattern allows us to create a type with F#. With validation.
TL/DR Here is the F# boiler plate needed to implement the Value Object pattern.
type UserName = private UserName of string module UserName = let isValid s = // .
...
➦