April 2017
Beginner to intermediate
394 pages
9h 16m
English
When thinking about high quality code, white space is often forgotten. Maybe this is because white space isn't code you write, but is instead the empty space between your code. However, if you don't use white space correctly, your code will be unreadable. When we say white space, we are talking about the spaces, tabs, newlines, and blank lines within your program. How you use these can make the difference between code that is easy to read and maintain, and code that will give you nightmares. Here is a piece of code with very little thought about white space:
RECT rect={0}; int xStart= 0,yStart = 0; rect.right=s_width;rect.bottom=s_height; s_isFullScreen = fullScreen; if (fullScreen) {DEVMODE settings; settings.dmSize = sizeof(settings); ...Read now
Unlock full access