Wisen Tanasa

3.1K posts

Wisen Tanasa banner
Wisen Tanasa

Wisen Tanasa

@ceilfors

Principal Eng. Consultant. Student of complexity, cognitive psy. Newsletter: https://t.co/lWxBjlE2Su Ashtanga. Badminton. ex @thoughtworks.

London Katılım Nisan 2009
289 Takip Edilen2.1K Takipçiler
Sabitlenmiş Tweet
Wisen Tanasa
Wisen Tanasa@ceilfors·
Many of the software engineers I talked to told me that they practice TDD out of guilt. That's not right, we need a different way to think about TDD. I've been practising TDD for almost a decade, here's how I currently think about it:
English
68
326
1.3K
0
Ragunath Jawahar
Ragunath Jawahar@ragunathjawahar·
@ceilfors Another interesting fact that I found out today. If we decompose a React application by components, with one component per file, the resulting dependency graph resembles the component tree 😉
English
1
0
0
11
Ragunath Jawahar
Ragunath Jawahar@ragunathjawahar·
• Build • Split • Stabilize
English
1
0
1
134
Wisen Tanasa
Wisen Tanasa@ceilfors·
@andrewcairns On agents, I think there's something about the promise of less work that conflicts with the recent findings (agents intensify work).
English
0
0
0
69
Andrew Cairns
Andrew Cairns@andrewcairns·
@ceilfors Oh I'm not sure. Tea and cookies are a good motivator for me, though. Really not sure if this will work for AI agents :)
English
1
0
1
48
Wisen Tanasa
Wisen Tanasa@ceilfors·
"All the tests" implies all the scenarios are knowable upfront, though. My workflow is a bit like this now: 1. Prompt to write tests with all known scenarios (Canon #1 + #2). Commit. 2. Prompt to make all tests pass (First half of Canon #3 + Canon #5). Commit. 3. In a loop: Think/prompt to discover other scenarios, accept/delete, implement. (Canon #2 + Last half of #3). Commit. 4. In a loop: Prompt to refactor. Commit.
English
0
0
0
9
John Crickett
John Crickett@johncrickett·
TDD changed how I write software. Agentic engineering is changing it again. I don't think the classic red-green-refactor loop of TDD makes sense when an AI agent is writing the code. I've been a proponent of TDD since I read @KentBeck's XP Explained. I roughly followed what he describes as "Canon TDD": 1. Write a list of the test scenarios you want to cover. 2. Turn exactly one item on the list into an actual, concrete, runnable test. 3. Change the code to make the test (and all previous tests) pass, adding items to the list as you discover them. 4. Optionally refactor to improve the implementation design. 5. Until the list is empty, go back to #2. I say roughly, as I was never good at sticking to #2. I'd turn two or three test scenarios into runnable tests at a time, often using table-driven or parameterised tests. This process adds value when a human is writing code. But when an AI agent is doing the writing, I think Test First Development is currently a better approach. We can define all the test cases, let the AI write all the tests, then let the AI write the code to pass them. Doing each step one at a time would be a much more expensive way of using the agent. There would be far more tool calls, far more roundtrips to the inference engine, and it would consume a lot more tokens. Then there's the difference between the agent and an engineer. The agent isn't necessarily going to refactor like a human engineer would. I don't think we lose much from this change. We can still guide it after each feature to evolve the design. We can still iterate quickly and get fast feedback on the design and functionality. Are you still doing red-green-refactor when the agent is doing the typing?
English
15
5
86
14.3K
Wisen Tanasa
Wisen Tanasa@ceilfors·
@samlambert We removed material-icons and iconsax, and the memory consumption drops from 15GB to 1.5GB 🤷🏻
English
0
0
0
226
Sam Lambert
Sam Lambert@samlambert·
am i doing this right?
Sam Lambert tweet media
English
26
1
292
134.1K
Wisen Tanasa
Wisen Tanasa@ceilfors·
I can't believe my last tweet was back on June 2024! Thinking to get more active again to process my thoughts here. Who is still around?
English
1
0
7
203
Wisen Tanasa
Wisen Tanasa@ceilfors·
@andrewcairns It doesn't hurt to grow taller to 2990cm. Imagine the possibilities of what you could achieve!
English
1
0
1
34
Andrew Cairns
Andrew Cairns@andrewcairns·
@ceilfors Height goal, lol You've met me in real life - am I too short? Should I be spending more time trying to get taller? 🤣
English
1
0
0
43
Andrew Cairns
Andrew Cairns@andrewcairns·
My new new tab in Chrome shows me a snapshot of key metrics I care about. Can anyone name all 3...?
Andrew Cairns tweet media
English
2
0
3
491
Jason Swett
Jason Swett@JasonSwett·
CALIBRATION SEQUENCE INITIATED
English
1
0
6
906
Wisen Tanasa
Wisen Tanasa@ceilfors·
@JasonSwett Sounds like an exciting project, I've got a Lego spike and have not built anything as sophisticated!
English
1
0
1
36
Jason Swett
Jason Swett@JasonSwett·
@ceilfors It's the (crappy) beginnings of a robot that can play chess.
English
1
0
0
36
Andrew Cairns
Andrew Cairns@andrewcairns·
@ceilfors @ddd_eu Loved this @ceilfors - and very timely for me while I'm about to: "cuddle the baby [which is not mine], before I kill it!" 🤣
English
1
0
1
96
Wisen Tanasa retweetledi
Mathias Verraes
Mathias Verraes@mathiasverraes·
I'm looking for someone to join us at Aardling to bring better modelling and software design to our clients. If you're a software architect and you have experience coaching teams, building a continuous delivery mindset, get in touch :-) aardling.eu/en/software-ar…
English
0
11
28
3.1K