3 ms·
> My fundamental problem with typed systems is that they force you to know – in advance – the exact format of every incoming data structure you’re going to be w
by gp7 11y ago
> My fundamental problem with typed systems is that they force you to know – in advance – the exact format of every incoming data structure you’re going to be working with, which is often impossible.
I am at a loss as to what could have caused this kind of confusion.
- striking 11y ago> I spent so much of my time as a C# developer just fighting types. That’s all. And that’s not even considering things like reflection, a trivial affair in JavaScript that equates to an absolute circus in C#. sigh what do you need reflection for? (beyond making "magic" APIs, which have their own issues) Overly dynamic programming is overly dynamic.
- burke_holland 11y agoUsually reflection gets used to project ORM classes onto data transfer objects. That's an unsolved problem and the struggle is real.
- burke_holland 11y agoWhat I meant is, typed systems force you to rigidly define your data structures. I cannot tell you how many times I saw sealed modules that didn't account for null types and eventually they were used with databases that did. The more rigid your interfaces are, the more brittle your system is. There has to be some amount of flexibility to account for real life use.