4 ms·
100% this. It's now right up there with "X considered harmful", which 80% of the time translates to "I don't like X". Specific to Python from the article, I'l
by cletus 5y ago
100% this.
It's now right up there with "X considered harmful", which 80% of the time translates to "I don't like X".
Specific to Python from the article, I'll add that I personally am done with dynamically typed languages for anything where more than one person needs to work on it or it needs to be long-lived. Static typing is simply too useful. Dynamic typing is (IMHO) a false economy. I've often said "Python means writing unit tests for spelling mistakes". Refactoring a dynamically typed code base of any reasonable size is a comparative nightmare.
- goohle 5y agoIt's same story again and again. Shell good for simple scripts. — Shell scripts are pain to support! Perl is astonishingly good for text manipulation. — Perl is write-only language! Python is easy to learn and start coding. — Python2 to Python3 migration is decades long hell! JavaScript is the language of the World Wide Web. — JavaScript is nightmare to refactor! And so on. If language easily accepts anything that developer pops out of his head, then program will be hard to support and refactor. If language limits developer to certain good, safe, performant solutions, then it hard to write programs in it, because you will need to learn good patterns first, which may take years.
- deckard1 5y ago> hard to write programs in it, because you will need to learn good patterns first, which may take years. People really underestimate the time it takes for devs to figure this out. My company has been on TypeScript for over three years now and it's a giant mess. Everything is arbitrarily typed with no design philosophy or organization behind anything. Which leads to these massive interfaces with every single field being optional. Which means you're still doing run-time checking all over the place. I've always maintained that if your team sucks at organization then no amount of tooling will save them. You're not so much working as a team but as bitter enemies. Possibly the turnover is too high in the company. You have mercenaries rather than ideologues. Not that I'd want to work with a team of pure zealots. But there should be enough people holding the architecture in place. It helps morale as well. You don't want to work on a project that no one gives a shit about.