Re:Translating math into code with examples in Java, Racket,...
by 0815test on Tuesday May 28, 2019 @06:16PM
(#20034956)
You can use full words or even short multi-world phrases in math expressions. From a typesetting POV, write them in roman (upright) type, and enclose them in brackets whenever ambiguity arises (due to the possibility of separating spaces within a single variable, or the concurrent use of juxtaposition (of single letters) as a product or for other purposes within the same sorts of expression. This is very common in the applied sciences in general, and the convention is universally understood.
[ Parent
| on HN ]
Re:Translating math into code with examples in Java, Racket,...
by Koshkin on Tuesday May 28, 2019 @06:57PM
(#20035236)
It may take some effort to realize this, but a mathematical formula is actually a picture, not text - more often than not it is intended to be seen - as a whole - rather then read, "word by word."