Remix.run Logo
fabiensanglard 2 hours ago

Pearls.

> I would NOT allow people to write tests

> now [...] we started with tests from the ground up

Trufa 2 hours ago | parent [-]

Two different stages of the project, not necessarily contradictory. I'm not saying this is great, but tests make a whole lot more sense when you know what you're building.

sodapopcan 2 hours ago | parent | next [-]

Yes. TFA author could have gone into it with this mindset and treated the initial work as a prototype with the idea of throwing it away and would have been happier about it.

> but tests make a whole lot more sense when you know what you're building.

It's very true. This is a "gotcha" a lot of anti-TDDers always bring up, and yet some talk about "prototyping == good" without ever making the connection that you can do both.

wagwang 2 hours ago | parent | prev [-]

in an age of generated tests, a mandate on no tests is just dumb