It might not matter to an AI, but I think it is poor for readability when humans read the code. I personally haven't used nested ternary operators since before the advent of AI, but it seems that AIs ...