I took the time to formalize some of the type-first driven principles and features that I use when writing TypeScript, which I've adopted after working with ML-family languages, and seeing JavaScript-first codebases getting a little out of control.
https://t.co/esG7BI0c6g
As a shy introvert, public speaking can be hard, but it's also rewarding. So I wrote about why I do it, how I manage the pressure, and techniques I've followed to handle it better!
https://t.co/RZrkLghK1g
There's a concept that found its way into many languages, including many popular languages. But others decided not to adopt it. Why might that be? And how does that idea apply to design generally?
Let's look at the history of list comprehensions!
https://t.co/5FN862spJU
I was incident commander for Schibsted's response to the xz backdoor, and I reflected on the process of investigating the story so that we could act. Filtering through all the noise and different takes, opinions, facts and half-facts. I wrote about it:
https://t.co/WlUZyOj5YV
I get asked frequently "how should I open source something I made for work?", "why open source something?", and I give my personal recommendations.
So, I wrote an article on exactly that, with a recent example experiment I open sourced.
https://t.co/qnKcOkLe07
Even if you're mostly working with declarative frameworks such as Derw, Elm or React, don't forget the value of being able to pull out the developer console, write some vanilla JavaScript, and get things done quickly that would otherwise be tedious.
https://t.co/ortKV3xrK7
Taking part in #adventofcode this year? Not settled on a language yet? How about giving Derw a try! Leverage the ecosystem of TypeScript with the syntax and tooling of Elm. I wrote a guide on how to get started.
https://t.co/WMd6SM6LBh
Thought of writing your own language? Not sure where to start? Or maybe you've made a start but you're unsure of where to go next. Here's a checklist I follow when working on a new language.
https://t.co/RRpoZkYGIw
Derw now supports snapshot tests!
Simply create a function starting with "snapshot" in a test file, and return whatever it is that you want to snapshot. On first run, it will create the snapshot. Pass `-u` to update snapshots on subsequent runs.
Ever wonder how a programming language's command line tooling might look if you put it into some kind of flow chart?
Here's a chart I put together showing how Derw's CLI works.
@_sebbes_ You can do `derw compile --output /dev/stdout`, but that outputs the errors and the generated code. Sounds like a good addition to not generate anything, so I'll add that too