I was just wondering what is the industry standard to write variables. I’m used to writing variables of the same kind in a line with coma separation.
e.g.
int windowWidth{300},windowHeight{400};
compared to:
int windowWidth{300};
int windowHeight{400};
What is more commonly used way within the industry? For me to straight away get some good practices for code writing.