Thank you! I know it is not required, but anyway, it's checked very quickly because we talk about one byte. If it was a function .. that would have been the worst case .. because of a complexity probably larger than O (1) ;)
RE: [TUTORIAL] MINESWEEPER GAME - VISUAL STUDIO 2010 C#
You are viewing a single comment's thread from:
[TUTORIAL] MINESWEEPER GAME - VISUAL STUDIO 2010 C#
I guess for me it is more maintenance later on. I am in a code base at work that has been growing 10 years+ and not adding the extra if means there is less chance someone will come in for a bug fix and miss updating if the main if changes etc.
The less code the better in my books, I do all I can to minimise code size. :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit