3 ms·
I much prefer your second example. In fact, surely tuples would help in this situation? eg. in C++: tuple<int,int> x = GetCoordinates(); or auto x = GetCoordin
by 72deluxe 10y ago
I much prefer your second example. In fact, surely tuples would help in this situation?
eg. in C++: tuple<int,int> x = GetCoordinates();
or auto x = GetCoordinates()
Much easier to see the output. I maintain enough old old C++ code and don't like seeing GetCoordinates(int x, int y) or x in COM-land any more.