This is where functional programming excels. You can try out obscure features or do clever optimisations as long as everything is broken up into focused, well-named pure functions. Each piece of functionality should be digestible. The name and typing should make it clear what it's doing without having to read the implementation.