1. 14
  1. 7

    I make aggressive use of keyword only arguments in my work projects when the function signature consumes data and configuration - the configuration is usually given keyword only arguments to ensure they’re separate from the data arguments. It’s been a fairly predictable pattern and I’m pretty happy with keyword only arguments in Python.

    1. 1

      We’ve been using this quite a bit and keywords > positional args pretty much every time but I feel that there are some minor edge cases where that’s not the case. So I kinda feel that this should be covered by style guide rather than strict enforcement.