C#11pre: static abstract interface members

C#10 was just released, but included in this years release is an early preview of C#11, and it contains quite an exciting change: static abstract members in interfaces. You might think, what’s the fuzz? Static members in interfaces is nothing new and was introduced in C#8! In this post I present a few more fruitful, … Read more

Mimicking Delegates in C# with GOF Observers

How far could we get trying to implement our own delegate types? How are are delegates related the observer pattern? In this less serious but technically interesting post, we explore the relation between delegates and observers, look at how close we could and our ability to implement our own delegate type; or at least imitate … Read more

HTMX — a better direction for HTML evolution?

The authors of HTMX (https://htmx.org/)suggests using simple hyper text when applicable, which turns out to be… often. Featured on the latest <.NET Rocks!/> podcast — 1749 htmx with Carson Gross htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext htmx is small (~10k min.gz’d), dependency-free, extendable & IE11 … Read more

Language Tutorial part 1: Scanning input text

This post is part of a language tutorial series. In this part of the tutorial we will define the basic components of our language and introduce first phases of our language processor: the scanner. The scanner breaks up the textual representation of the input program text into a sequence of Tokens; as an example, 1.0 … Read more