Comment

Comment by mejutoco

If you want text _in addition to_ regex you can use comments in regex, like in https://softwareengineering.stackexchange.com/questions/1783...

> Should equations in math also use full words and comments?

My "also" referred not to have multiple representations but to also in math have prose instead of equations. I could have expressed it better. I did not think of that interpretation.

As for math, I really do not think that is true. Look at how this beautiful proof is so long in prose.

https://mathcs.clarku.edu/~djoyce/java/elements/bookI/propI4...

Is that better than a^2+b^2 = c^2 ?

https://en.wikipedia.org/wiki/Pythagorean_theorem

Notation helps to be concise. Imagine more complicated things without notation in maths. Of course if you look at Principia Matematica we see the limits of notation as well.

parent mejutoco 13 days ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton