--

Thanks for your comment Alexander. I've definitely seen the "object incoherence" phenomenon with a props object getting passed intact from one level to another in React, with props added to it on 4 or 5 levels of the nested component. That was a terrible code pattern.

I use TypeScript exclusively, so I do see the benefit of "named argument only" functions.

And I don't think there's actually much to discuss here in terms of system design; I just think that I'd rather enforce descriptive variable names than deal with the typical crap names most devs use. Cheers!

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

No responses yet