Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×
User Journal

Journal Chacham's Journal: Silliness: Commenting the wrong way

In middle of redacting a VIEW that deals with groups, members, and precedence, i fixed a bug, and explained a line in greater detail with (what i think is) the correct logic. (The actual COLUMN name has been shortened):

-- Match this record:
                        -- To match INDIVUDAL, check P_ as C_ will be NULL (INDIVUDALs have no children).
                        -- To match GROUP, check C_ for the children; parents can be ignored.
                        -- (Note: Checking the NULL child or irrelevant parent should not be a problem.)
                      AND PHC_1.C_ IN (PHC_2.P_, PHC_2.C_)

Some comments just seem wrong.

This discussion has been archived. No new comments can be posted.

Silliness: Commenting the wrong way

Comments Filter:

Man is the best computer we can put aboard a spacecraft ... and the only one that can be mass produced with unskilled labor. -- Wernher von Braun

Working...