News for hackers. Stuff that matters.
Re:The Danger of “Simplicity” by sooheon on Friday November 22, 2019 @01:08PM (#21608197)
What's wrong with:

    (cat-logs [& entries] ...)
If we care about human understanding of the contract, types are no better than names.

    reverse :: [a] -> [a]

    (reverse [xs] ...)
Re:The Danger of “Simplicity” by asdfasdfasdfa on Friday November 22, 2019 @01:38PM (#21608514)
Names can and do lie, types are checked by the compiler. Also in you example, is an entry a string? a dict? its own class? who knows.
Re:The Danger of “Simplicity” by zmmmmm on Friday November 22, 2019 @02:57PM (#21609419)
> If we care about human understanding of the contract, types are no better than names.

That depends on your familiarity with the code though. Yes if you are deeply familiar with the code you probably know what data type an "entry" is. But come to it cold and trying to reverse engineer code like that in the middle of a complex system to understand it is frightening (at least, in my experience).