EsterDaniel Ytterbrink

@EsterDaniel
34 Followers
59 Following
86 Posts
Technical agile coach at Chocolate Driven Development. Chocolate is about social relationships and honouring the limitations of the human body.
bloghttps://www.chocolatedrivendevelopment.com/
First post of the year. Why unit tests are a code reading tool https://www.chocolatedrivendevelopment.com/2024/01/18/tdd-as-a-code-reading-tool/
TDD in the context of writing code to be read

Unit tests define the collaborators and the purpose of a piece of code. When reading code with unit tests, we can read the tests first, and focus on how the unit interacts with the system. Then reading the computational code is only about the implementation of that unit. Separating concerns like that lightens the cognitive load.

Chocolate Driven Development

Fun poll for gamedev:

On your dev team, which roles are responsible for building and maintaining animation state machine graphs?

(Please boost if you are interested to know about this.)

animators
26.5%
tech artists / tech directors
21.3%
gameplay programmers
44.9%
others (do reply)
7.4%
Poll ended at .
@tottinge sounds good. I mostly wanted to add something that I think can cause unnecessary pushback if increased collaboration is not done carefully.

I just came across the "Divide 50 by half..." riddle-meme today.
Please don't fall for these. Please don't participate in them. Please just let them die in peace.

- It's a language riddle, not an arithmetic one.
- Specifically, it's a language riddle that tests one of the most difficult, annoying, and subtle parts of most languages: how to use prepositions correctly.
- It's designed to make some people feel smart and others feel stupid, even though intelligence has nothing at all to do with it.

@jnfrd @RosaCtrl making a checklist does not make it easy, but perhaps easier. And yes, aging is underrated.
@RosaCtrl I took the money intended for my drivers license and got therapy, so it is fine! And yes, books as audio are awesome!
@jnfrd @RosaCtrl I think that a lot of people try to learn while blaming themselves. Me included (at least sometimes). But yes, you are right. And I have this thing for wanting important steps to be explicit if they are easy to miss. So my checklist to remember would be
1. F*ck *p
2. Understand the situation
3. Accept the situation
4. Do the emotions (like grief and anger)
(Iterate 2-4 if needed)
5. Try to fix things and/or learn something if applicable
@RosaCtrl ah! I lost half of my vision like two decades ago, so I mostly listen to books since then. It also works well with my adhd, since my body can move while I read.
@jnfrd @RosaCtrl Ah, I think my point was to separate the acceptance and the learning. So that they don’t unravel each other. Still working those things out for myself.
@jnfrd @RosaCtrl That mindset could be a problem if you still end up in a similar situation though? Would it not double the shame then? Or create fear of not having learned anything after all. I think we need self compassion that is not dependent on us changing. Because we can’t be sure of never repeating a mistake.