Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×
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:

Beware of the Turing Tar-pit in which everything is possible but nothing of interest is easy.

Working...