dave
04/22/2018, 5:27 AMorg.http4k.filter.X
classes are a good example of this). Making code that doesn't need commenting is the goal! 😃 But a lot of the time comments simply aren’t necessary (comments would just echo the signature) and would just bloat the code, or you really need to see the context of how something is used and then it becomes clearer (hence the cookbook on the site). With regards to “undocumented behaviour”, if it’s important enough for people to rely on a concept, we try to add a cookbook example as we can be more detailed there. But even the cookbook can go stale - tests are another way in which we can document behaviour in a "live" way, albeit at a lower level.