|
|
10-14-2021, 11:14 AM | #1 |
Veteran
Join Date: Aug 2002
Location: Kansas City, MO
Casino cash: $5176254
|
I just hope this kid renames the variables before turning in the code. If I were grading the assignment, I'd be raising an eyebrow if the variables were French.
I once worked on some client's code, which was apparently written by a guy named Eric. Every variable in his code was prefixed with 'eric'. So the SQL DB connection was 'ericDbConn', and the result set was 'ericDbResult', the datarow object was 'ericDbRow', etc. I thought that was pretty damned hilarious! |
Posts: 1,194
|
10-14-2021, 11:18 AM | #2 | |
Bono & Grbac wasn't enough
Join Date: Oct 2000
Location: Sioux City, IA
Casino cash: $12893829
|
Quote:
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Advertise here: $19.99 a month |
|
Posts: 33,824
|
10-14-2021, 11:32 AM | #3 |
Veteran
Join Date: Aug 2002
Location: Kansas City, MO
Casino cash: $5176254
|
It was a long time ago, but I believe that particular code was embedded in a classic ASP page. He was fetching options from the database to populate a select tag on a form.
I recall that the guy left a lot of comments too, which is usually a good thing, but his comments were unnecessary, as they didn't explain anything helpful. Example: Code:
// This is the database connection Dim ericDbConn = Server.CreateObject("ADODB.Connection") |
Posts: 1,194
|
10-14-2021, 11:38 AM | #4 | |
Bono & Grbac wasn't enough
Join Date: Oct 2000
Location: Sioux City, IA
Casino cash: $12893829
|
Quote:
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Advertise here: $19.99 a month |
|
Posts: 33,824
|
10-14-2021, 11:44 AM | #5 | |
Veteran
Join Date: Aug 2002
Location: Kansas City, MO
Casino cash: $5176254
|
Quote:
-- Phil Karlton https://martinfowler.com/bliki/TwoHardThings.html |
|
Posts: 1,194
|
10-14-2021, 11:56 AM | #6 | |
I love your mom
Join Date: Feb 2020
Location: Sturgeon Falls, Ontario
Casino cash: $2544957
|
Quote:
thanks fellas . |
|
Posts: 6,633
|
1 0 |
|
|