News for hackers. Stuff that matters.
Re:Ask HN: Are we overcomplicating software development? by SatvikBeri on Wednesday January 18, 2017 @03:07PM (#13429823)
In our case, we did that using functional programming & type-driven design (which ironically is also a TDD.)
Re:Ask HN: Are we overcomplicating software development? by devbug on Wednesday January 18, 2017 @03:59PM (#13430226)
This this this!

Most often I see TDD used as a couch for a really bad type system.

Re:Ask HN: Are we overcomplicating software development? by AstralStorm on Thursday January 19, 2017 @03:13AM (#13434028)
Types are just formalised limited contracts. Emphasis on limited. They are not enough.
Re:Ask HN: Are we overcomplicating software development? by eikenberry on Thursday January 19, 2017 @12:03AM (#13433167)
T(est)DD does tend to make your code look more like you used a functional-oriented language. A lot less mutability, heavier use of first-class functions, etc. Though I tend to prefer languages that are at least somewhat functional (eg. python, go).
Re:Ask HN: Are we overcomplicating software development? by peruvian on Thursday January 19, 2017 @11:24AM (#13436965)
> Though I tend to prefer languages that are at least somewhat functional (eg. python, go).

Can't think of any less functional languages than these.

Re:Ask HN: Are we overcomplicating software development? by eikenberry on Thursday January 19, 2017 @02:56PM (#13438963)
Think of the language features you need to be able to program in a functional way, then think about what these languages have. There is a sizable overlap.

If you need a template then think of scheme. It is the best example of a minimal functional language.

Re:Ask HN: Are we overcomplicating software development? by AstralStorm on Thursday January 19, 2017 @03:11AM (#13434020)
It doesn't even help people enough apply SOLID principles.

Pure functions help but the principles of generalisation are deeper than this.

Tests verify contracts offline. This will miss real issues.