2 ms·
That seems like a rather selfish and narrow thing to say. I've always thought (ever since university) that code should take inspiration from math notation. In
by Retra 11y ago
That seems like a rather selfish and narrow thing to say.
I've always thought (ever since university) that code should take inspiration from math notation.
Instead of writing:
for (int i = 0; i < limit; i++) { acc += 1; }
just write:
acc = ∑_(int i=0)^(limit);
I think maybe one should do some more math before telling a world of mathematicians what to do. Besides, it's far easier to create computer languages than the change math notation the world over.