DEV Community

Discussion on: Language Idea: Limit custom types to three arguments

Collapse
 
kspeakman profile image
Kasey Speakman • Edited

Life will already penalize us for using too many parameters, because they become hard to manage. It seems like further limitations are unnecessary. If the dev does not learn from life's natural feedback loop, they probably won't learn from this limitation either. (1, 2, 3, 4, 5) will just become (1, 2, (3, 4, 5)) in 0.19. Case first second third forth fifth -> becomes Case first second (CaseInner third forth fifth)) ->. This (and the tuple) restriction seems pretty arbitrary. And arbitrary restrictions tend to be the least-loved kind.