image provider

Indent


Here is an email I received in response to one of my essays.

Indent : Petter Nilsen : pni@rubicon.no : 2000-11-10

Here’s another one for the excellent unmaintainable code page.

Never use {} in an if() statement if you can avoid it, and make sure the line after the if() statement has the wrong indentation. Any maintainer who tries to figure out if the indentation is a bug in the if() statement or just a wrong indentation will come up short.

if ( fSomeStatement )
  CallFunction();
  CallFunction2();

This page is posted
on the web at:

http://mindprod.com/feedback/unmain/indent.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\feedback\unmain\indent.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[54.167.129.169]
You are visitor number