But it must change the language
But it must change the language
Posted Jan 13, 2015 19:27 UTC (Tue) by cesarb (subscriber, #6266)In reply to: But it must change the language by Wol
Parent article: Type hinting for Python
For which definition of number? N? Z? Q? R? C?
> Try looking at the problem from a "real world" perspective, not from a theoretical mathematical perspective, sometimes ... :-)
All of these except perhaps C come from the "real world".
In related news: the Lua language, which had previously used "float" for everything, now has both 64-bit "int" and "float" in the just released 5.3 version. See these slides: http://www.inf.puc-rio.br/~roberto/talks/ws2014.pdf (found at https://news.ycombinator.com/item?id=8874766).
Posted Jan 13, 2015 20:40 UTC (Tue)
by mpr22 (subscriber, #60784)
[Link] (2 responses)
Posted Jan 13, 2015 22:19 UTC (Tue)
by mathstuf (subscriber, #69389)
[Link] (1 responses)
Posted Jan 14, 2015 0:35 UTC (Wed)
by gracinet (guest, #89400)
[Link]
The geometric interpretations came much later, and while useful in countless cases, it's just one way to think about complex numbers, that's not adapted to all settings.
Anyway, getting back on topic, sorry.
Even complex numbers relate to the physical world; analysing alternating-current electrical systems without them is painful.
But it must change the language
But it must change the language
But it must change the language