4 karma · joined Aug 4, 2022 (4y ago) · 9 submissions
comment 2y ago · link · parent
comment 3y ago · link · parent
It raises an interesting point, if I train a chatbot (generative AI) on a bit of copyrighted information and it recreates substantially similar content, it's a legal problem. If a human reads the same information and tells another person verbatim it's just a conversation. Perhaps it's a quality thing, I paint the Mona Lisa badly no one cares, but if I paint it too well at some point it becomes a forgery.
comment 4y ago · link · parent
The tests usually run lightning quick because the units will be small.
When bugs occur in your codebase it will be at the right level of abstraction to write tests for the bug.
I almost never do strict TDD, I hack away to get something going and use the tests to refactor the working code into clean srp code. The end result is the same. However where I would use strict TDD is when there is massive complexity (like creating a video encoder) or if you are following a published specification.
So ‘just barely working, green, refactor, else red, refactor, green’ is probably closer to my actual day-to-day. The working code is clean, the tests are clean, and the coverage is good. The order doesn't matter.