3 ms·
Well then what is your criteria for having a String that can represent both English spellings of numbers and a String that represents roman numerals. If you sa
by wellpast 9y ago
Well then what is your criteria for having a String that can represent both English spellings of numbers and a String that represents roman numerals.
If you say "I choose just String. I.e., I overload String to contain both types of values. Then you are doing dynamic typing. So why in that case do you choose dynamic verification, but in other cases not? What is your criteria for when you choose static types versus dynamic types? Or do you just go by instinct?