peterschwer.com
Peter Schwer's Home Page
http://www.peterschwer.com/index.html
Welcome to PeterSchwer.com. I am a full-time Computer Scientist. My current nerd-interests are:. Commercial Mortgage Backed Securities. Here are some other interests:. Minesweeper: Expert 72, Intermediate 26, Beginner 2. Software engineering blog. For nerds. Don't Cuddle Your Braces. A place to air out arguments related to the minutiae of computer programming. If it's not substantive, it ends up here. Companion blog to Cuddle your braces.
dontcuddleyourbraces.blogspot.com
Don't Cuddle Your Braces: What is a header file?
http://dontcuddleyourbraces.blogspot.com/2007/10/what-is-header-file_10.html
Don't Cuddle Your Braces. Vs The One Terrible Bracing Style (TBS). A record of rants about software engineering. Somewhere to air out the minutiae. Wednesday, October 10, 2007. What is a header file? My nemesis' previous post. Is a little disturbing, both in its dense verbiage, and the lack understanding of a fundamental programming principle. Void draw Foobar widget(. Now consider the following:. Void draw Foobar widget(. Slightly more maintainable code that is never used. A final note: a well-disciplin...
dontcuddleyourbraces.blogspot.com
Don't Cuddle Your Braces: An endless rebuttal
http://dontcuddleyourbraces.blogspot.com/2007/09/endless-rebuttal.html
Don't Cuddle Your Braces. Vs The One Terrible Bracing Style (TBS). A record of rants about software engineering. Somewhere to air out the minutiae. Thursday, September 27, 2007. In response to this travesty of an argument. A while loop is really a syntactic sugar for the more general for loop in which a condition is expected to be false. At some time during its execution. Who says a condition is "expected to be false"? Maybe we're writing server code and the loop really is intended to continue forever.
dontcuddleyourbraces.blogspot.com
Don't Cuddle Your Braces: Ternary operator considered harmful
http://dontcuddleyourbraces.blogspot.com/2008/04/ternary-operator-considered-harmful.html
Don't Cuddle Your Braces. Vs The One Terrible Bracing Style (TBS). A record of rants about software engineering. Somewhere to air out the minutiae. Wednesday, April 30, 2008. Ternary operator considered harmful. The distinct syntax of the ternary operator confused me until I read about it in a book. More : less);. In this case, the operation of the ternary operator always makes the code more indecipherable. I prefer a more verbose and natural style:. I know there is a party of programmers out there that ...
dontcuddleyourbraces.blogspot.com
Don't Cuddle Your Braces: April 2008
http://dontcuddleyourbraces.blogspot.com/2008_04_01_archive.html
Don't Cuddle Your Braces. Vs The One Terrible Bracing Style (TBS). A record of rants about software engineering. Somewhere to air out the minutiae. Wednesday, April 30, 2008. Ternary operator considered harmful. The distinct syntax of the ternary operator confused me until I read about it in a book. More : less);. In this case, the operation of the ternary operator always makes the code more indecipherable. I prefer a more verbose and natural style:. I know there is a party of programmers out there that ...
dontcuddleyourbraces.blogspot.com
Don't Cuddle Your Braces: September 2007
http://dontcuddleyourbraces.blogspot.com/2007_09_01_archive.html
Don't Cuddle Your Braces. Vs The One Terrible Bracing Style (TBS). A record of rants about software engineering. Somewhere to air out the minutiae. Friday, September 28, 2007. What does i mean? What does " i. Well, it means "add 1 to i and return the value of i". This differs from " i. Performance-wise, historically " i. I must admit that the behavior of the " i. Operation is more confusing. Unlike most expressions, it returns the value of the variable before. So why am I supporting the postfix " i.
dontcuddleyourbraces.blogspot.com
Don't Cuddle Your Braces: What does ++i mean?
http://dontcuddleyourbraces.blogspot.com/2007/09/what-does-i-mean.html
Don't Cuddle Your Braces. Vs The One Terrible Bracing Style (TBS). A record of rants about software engineering. Somewhere to air out the minutiae. Friday, September 28, 2007. What does i mean? What does " i. Well, it means "add 1 to i and return the value of i". This differs from " i. Performance-wise, historically " i. I must admit that the behavior of the " i. Operation is more confusing. Unlike most expressions, it returns the value of the variable before. So why am I supporting the postfix " i.
dontcuddleyourbraces.blogspot.com
Don't Cuddle Your Braces: Against CamelCase
http://dontcuddleyourbraces.blogspot.com/2007/10/against-camelcase.html
Don't Cuddle Your Braces. Vs The One Terrible Bracing Style (TBS). A record of rants about software engineering. Somewhere to air out the minutiae. Wednesday, October 3, 2007. I can think of a few reasons why someone would choose camelCase in favor of underscore delimited text. 1 The underscore character doesn't have a convenient place on the keyboard. 2 The shift key isn't working. 3 You need to inscribe your code on gold leaf, so the extra character costs $. 4 You forgot how to do hungarian notation.
dontcuddleyourbraces.blogspot.com
Don't Cuddle Your Braces: Multiline statement style
http://dontcuddleyourbraces.blogspot.com/2007/10/multiline-statement-style.html
Don't Cuddle Your Braces. Vs The One Terrible Bracing Style (TBS). A record of rants about software engineering. Somewhere to air out the minutiae. Friday, October 26, 2007. There are occasions when it makes sense to extend a programming statement beyond one line:. Probably best placed on multiple lines. Or, in another case:. If (the job is finished &. There are no jobs left &. Novices might be more acquainted with this formatting:. Which better serves the paradigm of programming maintenance? Hundreds of...