4 ms·
PHP, Python, and Perl are commonly used. It does take more discipline to avoid the downsides of dynamic. Static languages better protect you from Monday morning
by tabtab 8y ago
PHP, Python, and Perl are commonly used. It does take more discipline to avoid the downsides of dynamic. Static languages better protect you from Monday morning fopas, but one can develop faster and farther in dynamic when firing on all cylinders.
- 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.
- jvzr 8y ago> fopas Did you mean "faux pas", or it is something I didn't know?
- tabtab 8y agoI always thought "faux pas" was the "old school" way of spelling it, similar to "neighbour" versus "neighbor". Spell-checkers usually accept "fopas". Hmmm, interesting linguistic mystery.
- mattnewport 8y ago"Neighbour" vs "neighbor" is not "old school". One is the correct way to spell it in British English, the other is the correct way to spell it in American English. "Faux pas" comes from French and so is spelled the way it is spelled in French. There's no linguistic mystery, "fopas" is just not a word.
- tabtab 8y agoTell that to spell-checker companies, or at least the Google Chrome team. And UK English is considered "old school" by some, similar to the "old world" versus "new world" labels. But arguing over words and words about words is probably off topic.