←
derw181 posts
derw avatar

derw

@derwlang

Derw is a ML language for writing TypeScript compatible code. github.com/eeue56/derw Sponsor the project! github.com/sponsors/eeue56

◷ Joined December 2021▧ 39 Photos and videos
derw avatar
derw@derwlang·5 May 2024

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. open.substack.com/pub/thetec…

derw avatar
derw@derwlang·15 Apr 2024

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! open.substack.com/pub/thetec…

Post attachment
derw avatar
derw@derwlang·6 Apr 2024

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: open.substack.com/pub/thetec…

Post attachment
derw avatar
derw@derwlang·25 Mar 2024

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. thetechenabler.substack.com/…

derw avatar
derw@derwlang·9 Mar 2024

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. thetechenabler.substack.com/…

derw avatar
derw@derwlang·10 Oct 2023

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. open.substack.com/pub/derw/p…

derw avatar
derw@derwlang·12 Mar 2023

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.

derw avatar
derw@derwlang·3 Mar 2023

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.

Post attachment
derw avatar
derw@derwlang·24 Feb 2023

Let's see what Elm on the backend might look like! It's been 8 years since the first server-side Elm project (github.com/eeue56/take-home), which was hacky and frustrating to work with. I've taken those learnings into Derw - and now we get to see what Elm's are!

This is big news in the Elm community, first time we'll see a public preview of these results from @evancz's work in this area. Can't wait to see more! gotoaarhus.com/2023/sessions…