3 ms·
> Monday morning fopas One benefit of static typing is that it's like a spell checker. It can't catch all errors but there's a whole class of errors it prevent
by mattnewport 8y ago
> Monday morning fopas
One benefit of static typing is that it's like a spell checker. It can't catch all errors but there's a whole class of errors it prevents you from making.
- tabtab 8y agoUsing that analogy, it could also be compared to a forced spell-checker such that you cannot submit your document at all unless every word passes the spell-check. Some words are not in the dictionary; you may need invented or new words at times. I always wanted something that's in-between both: an "analyzer" that warns you of oddities, but doesn't prevent running the program. You could put indicators to stop notices about things you know will be otherwise flagged.
- mattnewport 8y ago> Some words are not in the dictionary Indeed. Like fopas.
- tabtab 8y agoDepends how you define "dictionary". See below.