Thomas Deniffel (@deniffel) profile picture

From Munich. Do not follow me: My interests change, which will annoy you. Likes=Bookmarks. Tweets=Toughts. Props for the image go to Creation Hill on pexels.

Munich, Bavaria
Joined July 2015
Photo by Thomas Deniffel (@deniffel)Photo by Thomas Deniffel (@deniffel)Photo by Thomas Deniffel (@deniffel)Photo by Thomas Deniffel (@deniffel)Photo by Thomas Deniffel (@deniffel)
The AI community is stuck in a local maximum - again.
TCR enforces (not enables) single-piece flow. What is a single piece? It depends. You will find out after some minutes. Something between 0-1xLoC. It enforces it - not enables it. To enable it you need other techniques. Without them TCR is frustrating.
For a few months, I am building an AR system incl. SLAM (robotics says hello) from ground up with TCR. Sometimes hard, but works. Maybe interesting for @jraregris @alexander_bird @KentBeck? Approval tests are useful for some regions of code
2
2
btw; it's done in C++. Interpreted languages are much easier because no compiling is required. But tcr forces you to keep cycle time low. This is great (but hard in c++)!
1
1
TCR: use the test-name of the test that just became red->green as commit message
1
2
Self backed Testing-Framework where visual output matters. This is shown if a test fails together with regular logs.
1
void checkImage(Mat expected, Mat given) { auto diff = expected - given; auto s = sum(diff); if (!((s[0] == 0) && (s[1] == 0) && (s[2] == 0))) { logError(); show(diff, "diff"); show(expected, "expeced"); show(given, "given"); } }
math has no instruction pointer
1
"It's death by a thousand cuts. It's not any single edit that produces legacy code." - @ploeh
1
1
1
Hey, @unclebobmartin @GeePawHill. Are you always able to practice what you preach? I don't mean intentionally dropping but unintentionally as your mind is sloppy. I have great difficulties in applying 100% of my "knowledge" 100% of the time. Does it become better?
2
5
Standing on the shoulders of crowds
test&&commit||rervert works well for feature-reduction. Kick out the tests for the features you don't support anymore. Start TCR and trim down code base
1
It's okay that readability/scanability hurts writeability but it shouldn't kill it
Replying to @unclebobmartin
@unclebobmartin There are many tutorials on writing tests, but are there any about deleting (unnecessary) ones?
1
After quite a while of using TCR in daily development, I don't experience any productivity benefit or better code compared to TDD. Could be an enabler, but nothing to practice alone. I still see a future... Maybe interesting for @KentBeck @jraregris
1
I just published Applying TDD on a Lean Startup link.medium.com/fhexcA0jFY
You have a user-story. You have a model of a solution in your head. You have simple and strong invariants. You make the model and the invariants explicit (TLA+). You check your model against the invariants and logical flaws. You constantly refine the model. You implement the code
1
You add a layer of abstraction in your code, that matches your model. You automatically check that the code implements the model.
Replying to @KentBeck
@KentBeck Tought about tidy <-> entropy? Many opinions what tidy is, brings conflict in tidy first (human problem)
Everybody means the same when they say "muddled" but everybody means something different by "tidy." - Gregory Bateson, Steps to an Ecology of Mind
Replying to @ericries
@ericries's book 'Lean Startup' is just excellent. But it is packed with survivors bias. Does anyone know some failing stories or a resource where I can get them?
@GeePawHill Is currently online on Twitch, talking about testing, TDD and Test-Interfaces. twitch.tv/geepawhill
@GeePawHill Do you do a Twitch session today? I have to schedule my evening and don't wanna miss it ;-)
Replying to @KentBeck
@KentBeck @jraregris @martinfowler Aware of Brutal Refactoring? TCR is not TDD. They are orthogonal. You can use it to drive your dev. But you can also use it to drive your refactoring. Brutal Refactoring = Refactoring + TCR. medium.com/@tdeniffel/brutal…
1