Blog about Rust and Test Driven Development

I wrote two articles on my blog and I would like to hear feedbback from community.

PS: I use default github pages theme, and I don't like it much. Can anyone suggest a better theme?

When I teach programming I usually give advices that are quite far from TDD:

  • Think well before you write actual code;
  • If your algorithm and logic aren't easy then write it down as pseudocode first (if the safety requirements and/or complexity are critical use something like TLA+ - Wikipedia );
  • Don't write too much code;
  • Write unit test but don't don't write useless ones.

I don't think that precludes TDD. You're basically saying "think before you write code" which is universally true regardless of the development model.

1 Like

I don't think that precludes TDD. You're basically saying "think before you write code" which is universally true regardless of the development model.

I think letting tests guide your development is a bad idea.

Again, letting tests guide development does not preclude letting your brain guide development.

1 Like

Thank you very much. Now I know what will be my next post about. :slight_smile:

Thank you for your nice articles :slight_smile: