That it is a language somewhat designed to solve linear equations is something I have yet to really wrap my head around. I want to say it is far far more descriptive of what you are drawing than something like SVG. That said, I'm not clear if I could justify that claim.
I was a bit inspired by it when I took my one and only CS class as an undergrad. One of the few homework assignments I actually turned in was supposed to be a simple calculator with 26 assignable variables (A–Z). I thought that was boring, so I let variables be of any length and turned the calculator into a linear algebra solver so if you wrote, e.g.,
2X+3Y=14
X-Y=1
X
Y
it would give you the values for X and Y that met the constraints. I got a C on the assignment because the TA didn’t understand my code (written in CWEB and presented as a 20+ page source listing alongside the functioning executable).
verytrivial•1h ago