3 ms·
it's more like "Given the majority of projects, static typing would have helped readability". Not so much readability. That comes mostly from good naming in Sm
by stcredzero 10y ago
it's more like "Given the majority of projects, static typing would have helped readability".
Not so much readability. That comes mostly from good naming in Smalltalk, and thinking about, "What if I had to understand this through senders/implementors searches?" However, in my experience, it helps maintainability. In general, I didn't need type annotations to help me understand the system. Good Smalltalk is about message passing, so you understood the system through who sends what to whom. What I did experience a lack of, were 100% ironclad guarantees in a couple of instances where we needed to be 100% sure about something.
And yes, it is pragmatic to have static typing for the long term!