-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move control output to functions (rather than in main.cpp) #172
Comments
I have already moved all the writing control output to within the functions, but this is something that we should probably discuss further idealogically @mgastner For instance, I made this change in 5b78bf6, but I'm having second thoughts about it, and we should set some kind of precedent for future similar decisions. |
Further, I believe we should do the same with error handling:
This should be done within As a final bonus, we could do it with the timing function (though I'm not sure if this is desirable, and whether it actually reduces readability). We can make a friend class,
As soon as scope is exited, timing "Fill with density" will stop. |
Potentially, we could use decorators for this @nihalzp |
This is related to #124. Merging both issues to this one. Changing priority to high, it's a good idea to make |
cartogram-cpp/src/main.cpp
Line 287 in 99f478a
For example, here, instead of manually printing "Writing " ...
.write should do it automatically.
The text was updated successfully, but these errors were encountered: