When converting a value of one type to another; There are conversions which never fail ie int -> string. Some that can fail like string -> int, and then some lossy and implicit ones number -> int, int -> number
How do we spell it in any of those si...
Let It Leak Purity
Stop hating on functions. They can't help what color they are; they were born that way. You ought to know. You made them.
We all hate leaky abstractions. But if an abstraction is going to leak, I say let it leak purity.
That's ...
One of the ideas in the scrml compiler that I am excited about, is something I call "BlockLease."
Safe parallelism in agentic code work forces concurrency to be locked to files. Two agents editing the same file just leads to re-creating every atomi...
Tom asked what a typical day looks like. This is a better response.
The end of the video is not a joke. That's just how I "roll"
!https://coderlegion.com/?qa=blob&qablobid=6509537531318294219
!https://coderlegion.com/?qa=blob&qablobid=314089173237...
After the developer spotlight published, the coderlegion moderator that I was messaging with, @Mehadi Hasan , asked what my opinions are on this platform. And what would I change? Given that nothing was specified about how I give this feedback. I'll...
The array/tuple question was never meant to be a long running thing. And as it often happens, the solution was right there in front of me the whole time.
Arrays are intuitive, fast, and let you do basically anything. Therein lies the problem with th...
When developers look at a new programming language, they usually test it by running the compiler. That makes sense, since the compiler is the only part you can actually run. But it hides a distinction that matters a lot for an early stage language: t...
I am Jack's .
Without me, Jack's application has values without a place.
Jack declares me once. I am a singleton. Every part of his program that reads my cell is
reading the same me.
${
type Order:enum = { Cart, Paying, Paid, Shipped, Refunded...
To whom it may concern,
The articles that I publish. The smack talking that I engage in, here or on X more likely. That is all an attempt at engaging anyone, with an opinion and the junk to back it, in a conversation about what programming should lo...
I am Jack's match.
I am the question Jack asks about a value that could be more than one thing.
He has an order. It is exactly one of five things, and he wrote the list himself.
type Order:enum = { Cart, Paying, Paid, Shipped, Refunded }
There...
I am Jack's .
Jack declares me once, in one file, for the whole application. Everything he writes lives
inside me — his markup, his logic, his styles, his database.
There is a line running through me. On one side is Jack's server. On the other is a...
If you give a dev an enum, they're going to ask if they can match on it.
When you let them match on it, they'll want to know they got it all.
So the compiler counts. And it finds one.
It says E-MATCH-NOT-EXHAUSTIVE, and it names the variant: .Empt...
When I started designing this language, I had a lot of fundamental decisions to make. Among those, one of the easiest was whether or not to allow virtual functions in scrml structs.
If I had chosen to include virtual functions; I would have just cal...
I am not exactly sure when this language really started to become writable. I imagine I am one of the few, if not the only guy to build a legitimately usable programming language without ever really having written it.
Don't get me wrong. I have writ...
I love programming! Not just the act of writing code; but also learning about it's history, it's outliers, the reasonings behind the chaotic and beautiful tumbling of dominoes that led to this perpetual Pandora's puzzle box, simultaneously solved, an...
When I started actually experimenting with transpiling my own ideas into the languages that the browser understands. I really didn't have any idea where I was going to end up. I certanily didn't expect to flip the whole damn paradigm; but hey, the o...