December 18, 2003


'Miscellanous consts
Public Const EMPTY_STRING = ""
Public Const HTML_COMMENT_BEGIN = ""

When was the last time the value for the empty string changed?

12:54 PM

November 04, 2003


validate_and_update_work_order()
validate_and_add_work_order()

How about a common validate fxn?

07:21 PM

October 28, 2003



<% If IsNull(item) Then %>
.
<% else %>
<%=item%>
<% end if %>

01:11 PM

This, in my opinion, is a gross misallocation of programmer time. Nobody wants to spend time maintaining comments.

<br /> <!----------------------------------------------------------------------------------------------------><br /> <form name="assignunitsfrm" method="post" action="so_assignunits.asp?submitForm=true&actionString=WO"> <br /> <!------------------------------------------Hidden Variables------------------------------------------></p> <p><input type="hidden" name="hiddensave"><br /> <input type="hidden" name="hiddenreturn"><br /> <input type="hidden" name="hiddendeleteArrayIndex"><br /> <input type="hidden" name="hiddendelete"><br /> <input type="hidden" name="hiddencreateassets"></p> <p><!----------------------------------------------------------------------------------------------------><br />

01:09 PM

A developer friend of mine worked the support/development line at a small company. One of his calls one day was complaining about how he couldn't get the software to send something via email. After digging through the code, he found the following structure:

<br /> if faxTransmission then<br /> // Fax transmission<br /> ...<br /> ...<br /> [10K lines of code]<br /> else if emailTransmission<br /> // TODO when there is time<br />

12:07 PM

October 20, 2003

' modified on Sunday oct 20, 2002

with no mention of what has changed.

06:07 PM

October 02, 2003

if streetname	= "*.*" then
   continue = true
else
   continue = false
...

if continue=false then
exit function
end if

07:38 PM