Documentation Behind the code
Why we built our products, the ideas our libraries are built on and how to use them, and the standards we hold our own code to.
Products
Every product starts with a question
Introduction to ONIXLabs Studio
How ONIXLabs Studio grew from a simple text editor into a free, open-source agentic development environment, with agents at every surface.
Introduction to ONIXLabs Aero
An introduction to Aero, the ONIXLabs suite of .NET APIs that removes boilerplate so teams can build reliable, scalable enterprise software faster.
Introduction to ONIXPlayer
Why ONIXLabs built ONIXPlayer: a glass media player for macOS, Windows and Linux with music, video, MIDI and tracker playback, and real-time visualisations.
Introduction to the ONIXLabs .NET Libraries
An introduction to the ONIXLabs .NET libraries: what Core, Numerics, Security, Element Framework and DependencyInjection solve, and how.
Introduction to the ONIXLabs Corda Libraries
An introduction to the ONIXLabs Corda libraries: Corda Core, the Identity Framework and BNMS, and the problems each one solves for CorDapp developers.
Introduction to the ONIXLabs Kotlin Libraries
An introduction to the ONIXLabs Kotlin libraries: core extensions, an object graph DSL, validation, projection and calendar-aware scheduling for the JVM.
Foundations
The reasoning behind the libraries
Equality and Value Semantics
How .NET tests equality, and how to give your own types value semantics with IEquatable<T>, Equals, the == and != operators, and GetHashCode.
HashCode Algorithms and Why They Matter
Why GetHashCode matters, how hash collisions happen, how to implement a hash algorithm such as FNV, and how to hash collections by their content.
Understanding Monads
What a monad is in practical terms, the operations that define one, and how Optional<T> and Result<T> bring monads to everyday C#.
Billion-Dollar Mistakes and Functional Fixes
Why null references and unchecked exceptions cause so many bugs, and how Optional<T> and Result<T> make absence and failure explicit in C#.
The Problem with Decimals
Why decimal precision and scale are lost between back-end decimal types and JavaScript numbers, and how to preserve them across front-end and back-end systems.
Engineering Standards
Code is read more than it's written
Syntactic Sugar, Bitter Aftertaste
A deep dive into the C# var keyword: its intended use cases, the pitfalls of overusing it, and why explicit types improve clarity and maintainability.
Underscore, Overkill
Why prefixing members with underscores is overkill: the history of the convention, the arguments for it, and the readability costs it introduces.
Corda
Designing for Corda 4
Flow Design Guidelines - Part 1
What Corda flows and flow sessions are, how to implement and extend the Corda Flow Framework, and best practices for designing reusable flows.
Flow Design Guidelines - Part 2
Best practices for transactional Corda flows that cause ledger state transitions, including how to specify the notary and flow sessions.
Flow Design Guidelines - Part 3
How to implement Corda flows that perform vault queries, and the best practices and benefits of designing query flows this way.
Relational Data & Pointers
What state pointers in Corda are, how to use them to model relational data, and how to treat state pointers as a design pattern rather than an API.
API reference