3 ms·
If you look at it that way, we might as well write: #include <iostream> int main() { std::cout << "1\n2\n3\n4\n"; } However, the point
by Chris_Newton 11y ago
If you look at it that way, we might as well write:
#include <iostream>
int main()
{
std::cout << "1\n2\n3\n4\n";
}
However, the point of the discussion was the ease or otherwise of performing some basic data manipulation depending on the syntax of the programming language used. Of course we can skip that data manipulation and go direct to the result in this trivial example, but that doesn’t illustrate anything very useful about programming with the different syntactic styles more generally.