URL:
https://github.com/SSSD/sssd/pull/250
Title: #250: cache_req: Use ternary operator instead of bool+switch
fidencio commented:
"""
@lslebodn, I've chosen the switch just to make the code cleaner, as I do believe the
cases are easier to read than the ternary operator.
However, if you think it's easier to read using the ternary operator, I won't
oppose to it.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/250#issuecomment-297653907