Last commit message: "Build the updates for the email, using #TDD. This would have been too hairy otherwise."

Makes me pretty happy. For one, that I found when I want TDD and two that I really get very satisfying results. Code is readable, as simple as I could do it (now) and it was fun and 🥁 🥁 🥁 QUICK!

#testdriven #ftw when it's right, which is the hard part.

Just introduced a client to the idea of "management tests", LOL. Everything old is new again!

Shockingly, the link to Josh Kerievsky's original article *is still valid* twenty years later. 😁 Wow, I expected to have to dig for it.

"Right game, Wrong Team"
by Joshua Kerievsky, 2003
http://www.ddj.com/architect/184414956
#agile #extremeProgramming #testDriven

We had been collecting #testDriven #JavaScript for learning the language over almost 10 years now, in many meetup sessions.
Finally I was able to give it a home. https://jslang.dev is where I have put all our code from the "JavaScript the Language" #meetup.

#JSLang

Home | JSLang.dev

JavaScript the Language – the meetup to learn JavaScript in depth

i came across tests that are generated and run using a makefile.

to me this seems very straightforward compared to generate tests or testfiles using a build.rs or a macro.

how do you run generated tests?

#tdd #rust #make #makefile #testdriven

Wanna try and play around with `Object.groupBy()`, which is new pretty in #JavaScript go to
https://jskatas.org/katas/es15/language/object-api/groupBy/ 🚀

#jskata #learning #javascript #testdriven

Object API – `Object.groupBy()`

A kata to (re-)learn about Object API | `Object.groupBy()` | | 8 tests to solve | Difficulty Level: BEGINNER

JavaScript Katas - Continuously Learn JavaScript. Your Way.

The #jskata for this is in the making.
Get ahead by learning all the other 132 katas on https://jskatas.org

#learning #javascript #testdriven

Home

jskatas.org | JavaScript Katas | Continuously Learn JavaScript. Your Way.

JavaScript Katas - Continuously Learn JavaScript. Your Way.

Also inspired by our last night's #jslang #meetup I built a #JSKata for you all to practice #JavaScript Proxy a bit.
The basics:

https://jskatas.org/katas/es6/language/proxy/basics/

#testDriven #tests #kata #koan #learn

Proxy – basics

A kata to (re-)learn about Proxy | basics | A Proxy can intercept all accesses on a target object | 10 tests to solve | Difficulty Level: INTERMEDIATE

JavaScript Katas - Continuously Learn JavaScript. Your Way.

You like these kinda hands 🙌 on 🔛 #TestDriven workshops?

➡️ 👀 Come and see me at the c't<webdev> in Cologne in November https://ctwebdev.de/sessions24/javascript-the-language-diving-deep-in-a-test-driven-way/

➡️ 💰💰💰Book me 👋🏽 as a consultant or freelancer to help with 1️⃣ #JavaScript challenges, 2️⃣ #TDD or 3️⃣ #website #performance 💰💰💰

2/2

JavaScript the Language: Diving Deep in a Test-Driven Way - c't <webdev>

In June 2024, we held the 73rd edition of the "JavaScript the Language" meetup, where each month we dive into one of JavaScript's features, some make you go, "Wait, it does what now?" We do this by writing tests, reading the specification, and running those tests – the programming equivalent of a workout that actually makes you stronger. Here's the plan: We start by brainstorming questions we can answer with code. Then, we write a test with a description so clear even your non-coding goldfish could follow it. Before we run this test, we open the ECMAScript specification, which is like the sacred scrolls of JavaScript knowledge, to see if our wild guess—I mean, hypothesis—is correct. For example, does `"".at(-1)` return an empty string or undefined? (Spoiler alert: It's a fun surprise every time!) This deep dive often leads us into the labyrinth of JavaScript's inner workings, where we encounter delightful oddities and brilliant design choices. By the time we run the test, we've either confirmed our theory or had an existential crisis about how computers work, which we then call "learning". Join me in this session to experience the joy of team programming, the thrill of testing, and the sheer geeky pleasure of reading the spec. Even if you currently think testing is as exciting as watching paint dry, I promise you'll leave with a newfound appreciation for it—or at least a few good laughs. Let's embark on this adventure together and unlock the mysteries of how JavaScript ticks, one test at a time.

Moving to lu.ma with all the #meetup #orga stuff, since meetup-com has raised the prices beyond community compatible.

You like to learn #testDriven and #JavaScript? Join us here:
https://lu.ma/javascript-the-language

JavaScript The Language · Events Calendar

View and subscribe to events from JavaScript The Language on Luma. No-presentations-meetup, focused on JavaScript the language – only. https://codeberg.org/wolframkriesing/jslang-meetups has all code we wrote. No frameworks, libraries. Hands on.

The next #jslang meetup
"JavaScript the Language" will take place 19th September online, if there is a company that wants to host it somewhere in/near Munich we can also do it hybrid.

All details at https://lu.ma/czhpx9st

#JavaScript #Learning #Meetup #TestDriven #TDD #ES6 #ESNext
#TeamProgramming #Ensemble

JavaScript the Language #75 - async generators · Luma

The 75th edition of #jslang will be about JavaScript's async generators. This meetup will be online+onsite! ❓Onsite only a company wants to sponsor a location.…