
What is Structural Typing?
An overview of types defined by their form instead of their name
An overview of types defined by their form instead of their name
Is HTML a programming language? I could express a bit of shock, even dismay, at the question, but instead, I’ll try a more polished approach.
A staple of compact code, the ternary operator ?: feels like it’s earned a place any programming language. I use it often; you should use
Variants are data types that can store different types of values in them, as opposed to one fixed type. In contrast to a generic object
Working on a defect in Leaf I had a question: should function arguments be reassignable within a function? Are they just like local variables, or
You’ve heard the term, you’ve probably even used them, but what exactly is a closure? It’s a combination of data and code that have become
Yesterday I finished a rather simple Kata from Codewars: the sum of a sequence of numbers. It was straight forward to implement, but I felt
Three key concepts comprise the essence of functional programming: first-class functions, pure functions, and immutable data. Together they express a fundamental architectural paradigm on how
Finally, a big step for Leaf: something that could be called an actual program. Over the weekend I finished a program that loads a file,
As types are a keystone in Leaf, working with them must be fluid and simple. I recently improved this area by adding named constructors and
Signup to my mailing list to get notified of each article I publish.
Made with Elementor. Hosted with SiteGround. Domain from Netim.