Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Reading Marble Diagrams and the Core Operators: map, filter, scan, take and distinctUntilChanged
A marble diagram shows an Observable's values, completion and error over time on one line; a pipeable operator is a function that takes an Observable and returns a new one. We examine map, scan, reduce, pairwise, filter, takeWhile, skip, first, last and distinctUntilChanged with marbles verified by TestScheduler, and show the EmptyError and object comparison traps with Bookstore's cart and catalog filter.
Operator Overloading and Indexers in C#
Why operators are static methods and the trap that comes with it, arithmetic and comparison operators for Money, the compiler's rules, implicit/explicit conversions, indexers and Index/Range support.
Operators and Expressions in C#: Short-Circuiting, ??, ?. and Precedence
Expressions versus statements in C#, arithmetic and compound assignment, prefix and postfix increments, comparison, logical operators and short-circuiting, the ?: operator, handling null with ??, ??= and ?., and precedence traps such as 100 - discount ?? 0.