News for hackers. Stuff that matters.
Re:Experiments in Code Typography (2014) by munificent on Friday December 04, 2015 @03:33PM (#10678948)
I certainly agree that notation is important. However, what I'm talking about is tweaks at the smallest scale—just the glyph or glyphs you use to represent a single symbol. I don't think there's that much value deviating from ASCII characters or character-pairs in order to use a more mathy glyph.

I'm a fan of most of the other math notation programming languages use: parentheses for grouping, infix operators, function call syntax, etc.

I think there is a lot of room to improve the visual display of code, but I don't think much of it is as the token level.

Re:Experiments in Code Typography (2014) by zerebubuth on Friday December 04, 2015 @04:01PM (#10679098)
> I think there is a lot of room to improve the visual display of code, but I don't think much of it is as the token level.

I absolutely agree - the power of mathematics isn't so much that people find it easier to read ∊ for set membership testing, or ⊥ for nil/undefined, it's that one can encode new concepts concisely in new notation. For example: div, grad and curl [1]. What's needed isn't more maths symbols in code, it's more flexible syntax markup.

[1] https://en.wikipedia.org/wiki/Vector_calculus_identities#Ope...