sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

583
active users

#testdriven

1 post1 participant1 post today

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.

Continued thread

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

➡️ 👀 Come and see me at the c't<webdev> in Cologne in November ctwebdev.de/sessions24/javascr

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

2/2

ctwebdev.deJavaScript 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.