RE: https://social.treehouse.systems/@dysfun/117684520937223236
One observation here that I should definitely boost is "Dependency is amazing, but we should not overuse it."
I have a little personal project (just for managing some of my own stuff that nobody needs to know about) where there's almost but not quite no dependent types at all. A thing here and there to help with coverage checking, that's about it.
I started writing it in Python (no, honestly, I did... I was trying to use it more because I was teaching it at the time) but I got annoyed very quickly because, it turns out, the thing I really care about when I'm programming is making sure that errors are handled, or, at the very least, noticed
A normal thing for a beginning Idris programmer is to use dependent types absolutely everywhere, to attempt to explain everything in a type. Beginning Idris programmers should definitely go through this phase, if only to learn why it's probably better not to do that.
The short answer for why to not do that is: you have merely moved the problem from the program to the type, and you've made the program harder to write in the process. The point of types, to me, is not to prove everything. Rather, it's to help you understand the problem better, and to help you come up with explanations of the data you're working with that will make the rest of your project easier to handle.