Submitted by musou in programming
emma wrote
you should be writing everything in macros, as macros are fast
#define THE_PROGRAM all \
your \
code \
goes \
here
int main()
{
THE_PROGRAM();
}
flabberghaster wrote
The DRY principle says that if you write something more than once you should refactor it. Here I see you used ()
in two places; that can be a macro, to ease readability.
Viewing a single comment thread. View all comments