3 ms·
The point is that comparisons between things of different types should be errors. Implicit coercion is never sensible.
by lucian1900 14y ago
The point is that comparisons between things of different types should be errors. Implicit coercion is never sensible.
- Turing_Machine 14y ago4 / 2.5 should be an error? Okay, then. Never mind that essentially no language in widespread use enforces that.
- lucian1900 14y agoThat case is also potentially problematic, but perhaps better solved by having float division / and integer division // as separate operators. Perhaps my "never" was too strong.