Worderful object names
-
My company has a well organized naming rule. It's a standard which has been developed for a few years. Look: Table names like: TB200010 View names like: VI600230 Procedure names like: USP980010_07R Web services names like: WS210080.asmx Web form page names like: UI400740.aspx Reporting service page names like: RPT1731.aspx There are thousands of objects like the aboves. Here the example (real one): // ???? public class UI200020 { // ??? ??? ?? string TabPageUrl01 = ...; string TabPageUrl02 = ...; string TabPageUrl03 = ...; string TabPageUrl04 = ...; string TabPageUrl05 = ...; // ??? ?? private WS980010.XD980010 xd980010UserInfo; // ??? ???? WS200010 wsProxy = ...; WS100010 wsProxy2 = ...; // ? ??? protected System.Web.UI.WebControls.DataGrid dgListSub01; protected System.Web.UI.WebControls.DataGrid dgListSub02; protected System.Web.UI.WebControls.DataGrid dgListSub03; protected System.Web.UI.WebControls.DataGrid dgListSub04; protected System.Web.UI.WebControls.DataGrid dgListSub05; protected System.Web.UI.WebControls.DataGrid dgListSub06; protected System.Web.UI.WebControls.DataGrid dgListSub07; protected System.Web.UI.WebControls.DataGrid dgListSub09; protected System.Web.UI.WebControls.DataGrid dgListSub10; protected System.Web.UI.WebControls.DataGrid dgListSub11; protected System.Web.UI.WebControls.DataGrid dgListSub12; // ???? ?? ?? ?? protected System.Web.UI.WebControls.ImageButton ibtnTabMore01; protected System.Web.UI.WebControls.ImageButton ibtnTabMore02; protected System.Web.UI.WebControls.ImageButton ibtnTabMore03; protected System.Web.UI.WebControls.ImageButton ibtnTabMore04; protected System.Web.UI.WebControls.ImageButton ibtnTabMore05; protected System.Web.UI.WebControls.ImageButton ibtnTabMore06; protected System.Web.UI.WebControls.ImageButton ibtnTabMore09; protected System.Web.UI.WebControls.ImageButton ibtnTabMore10; protected System.Web.UI.WebControls.ImageButton ibtnTabMore11; protected System.Web.UI.WebControls.ImageButton ibtnTabMore12; // ? ?? ?? protected System.Web.UI.WebControls.Label lblSUBTITLE01; protected System.Web.UI.WebControls.Label lblSUBTITLE02; protected System.Web.UI.WebControls.Label lblSUBTITLE03; protected System.Web.UI.WebControls.Label lblSUBTITLE04; protected System.Web.UI.WebControls.Label lblSUBTITLE05; protected System.Web.UI.WebControls.Label lblSUBTITLE11; protected System.Web.UI.WebC
That just looks like generated code (albeit poorly generated unless it is also obfuscated). I say, get a new application for generating the stuff. That is atrocious!
Matt
(Find your own niche! This one's mine.) -
My company has a well organized naming rule. It's a standard which has been developed for a few years. Look: Table names like: TB200010 View names like: VI600230 Procedure names like: USP980010_07R Web services names like: WS210080.asmx Web form page names like: UI400740.aspx Reporting service page names like: RPT1731.aspx There are thousands of objects like the aboves. Here the example (real one): // ???? public class UI200020 { // ??? ??? ?? string TabPageUrl01 = ...; string TabPageUrl02 = ...; string TabPageUrl03 = ...; string TabPageUrl04 = ...; string TabPageUrl05 = ...; // ??? ?? private WS980010.XD980010 xd980010UserInfo; // ??? ???? WS200010 wsProxy = ...; WS100010 wsProxy2 = ...; // ? ??? protected System.Web.UI.WebControls.DataGrid dgListSub01; protected System.Web.UI.WebControls.DataGrid dgListSub02; protected System.Web.UI.WebControls.DataGrid dgListSub03; protected System.Web.UI.WebControls.DataGrid dgListSub04; protected System.Web.UI.WebControls.DataGrid dgListSub05; protected System.Web.UI.WebControls.DataGrid dgListSub06; protected System.Web.UI.WebControls.DataGrid dgListSub07; protected System.Web.UI.WebControls.DataGrid dgListSub09; protected System.Web.UI.WebControls.DataGrid dgListSub10; protected System.Web.UI.WebControls.DataGrid dgListSub11; protected System.Web.UI.WebControls.DataGrid dgListSub12; // ???? ?? ?? ?? protected System.Web.UI.WebControls.ImageButton ibtnTabMore01; protected System.Web.UI.WebControls.ImageButton ibtnTabMore02; protected System.Web.UI.WebControls.ImageButton ibtnTabMore03; protected System.Web.UI.WebControls.ImageButton ibtnTabMore04; protected System.Web.UI.WebControls.ImageButton ibtnTabMore05; protected System.Web.UI.WebControls.ImageButton ibtnTabMore06; protected System.Web.UI.WebControls.ImageButton ibtnTabMore09; protected System.Web.UI.WebControls.ImageButton ibtnTabMore10; protected System.Web.UI.WebControls.ImageButton ibtnTabMore11; protected System.Web.UI.WebControls.ImageButton ibtnTabMore12; // ? ?? ?? protected System.Web.UI.WebControls.Label lblSUBTITLE01; protected System.Web.UI.WebControls.Label lblSUBTITLE02; protected System.Web.UI.WebControls.Label lblSUBTITLE03; protected System.Web.UI.WebControls.Label lblSUBTITLE04; protected System.Web.UI.WebControls.Label lblSUBTITLE05; protected System.Web.UI.WebControls.Label lblSUBTITLE11; protected System.Web.UI.WebC
Do they also have a mandate that every second line should be blank, to improve readability?
Cheers, Vikram.
"If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy
-
My company has a well organized naming rule. It's a standard which has been developed for a few years. Look: Table names like: TB200010 View names like: VI600230 Procedure names like: USP980010_07R Web services names like: WS210080.asmx Web form page names like: UI400740.aspx Reporting service page names like: RPT1731.aspx There are thousands of objects like the aboves. Here the example (real one): // ???? public class UI200020 { // ??? ??? ?? string TabPageUrl01 = ...; string TabPageUrl02 = ...; string TabPageUrl03 = ...; string TabPageUrl04 = ...; string TabPageUrl05 = ...; // ??? ?? private WS980010.XD980010 xd980010UserInfo; // ??? ???? WS200010 wsProxy = ...; WS100010 wsProxy2 = ...; // ? ??? protected System.Web.UI.WebControls.DataGrid dgListSub01; protected System.Web.UI.WebControls.DataGrid dgListSub02; protected System.Web.UI.WebControls.DataGrid dgListSub03; protected System.Web.UI.WebControls.DataGrid dgListSub04; protected System.Web.UI.WebControls.DataGrid dgListSub05; protected System.Web.UI.WebControls.DataGrid dgListSub06; protected System.Web.UI.WebControls.DataGrid dgListSub07; protected System.Web.UI.WebControls.DataGrid dgListSub09; protected System.Web.UI.WebControls.DataGrid dgListSub10; protected System.Web.UI.WebControls.DataGrid dgListSub11; protected System.Web.UI.WebControls.DataGrid dgListSub12; // ???? ?? ?? ?? protected System.Web.UI.WebControls.ImageButton ibtnTabMore01; protected System.Web.UI.WebControls.ImageButton ibtnTabMore02; protected System.Web.UI.WebControls.ImageButton ibtnTabMore03; protected System.Web.UI.WebControls.ImageButton ibtnTabMore04; protected System.Web.UI.WebControls.ImageButton ibtnTabMore05; protected System.Web.UI.WebControls.ImageButton ibtnTabMore06; protected System.Web.UI.WebControls.ImageButton ibtnTabMore09; protected System.Web.UI.WebControls.ImageButton ibtnTabMore10; protected System.Web.UI.WebControls.ImageButton ibtnTabMore11; protected System.Web.UI.WebControls.ImageButton ibtnTabMore12; // ? ?? ?? protected System.Web.UI.WebControls.Label lblSUBTITLE01; protected System.Web.UI.WebControls.Label lblSUBTITLE02; protected System.Web.UI.WebControls.Label lblSUBTITLE03; protected System.Web.UI.WebControls.Label lblSUBTITLE04; protected System.Web.UI.WebControls.Label lblSUBTITLE05; protected System.Web.UI.WebControls.Label lblSUBTITLE11; protected System.Web.UI.WebC
-
My company has a well organized naming rule. It's a standard which has been developed for a few years. Look: Table names like: TB200010 View names like: VI600230 Procedure names like: USP980010_07R Web services names like: WS210080.asmx Web form page names like: UI400740.aspx Reporting service page names like: RPT1731.aspx There are thousands of objects like the aboves. Here the example (real one): // ???? public class UI200020 { // ??? ??? ?? string TabPageUrl01 = ...; string TabPageUrl02 = ...; string TabPageUrl03 = ...; string TabPageUrl04 = ...; string TabPageUrl05 = ...; // ??? ?? private WS980010.XD980010 xd980010UserInfo; // ??? ???? WS200010 wsProxy = ...; WS100010 wsProxy2 = ...; // ? ??? protected System.Web.UI.WebControls.DataGrid dgListSub01; protected System.Web.UI.WebControls.DataGrid dgListSub02; protected System.Web.UI.WebControls.DataGrid dgListSub03; protected System.Web.UI.WebControls.DataGrid dgListSub04; protected System.Web.UI.WebControls.DataGrid dgListSub05; protected System.Web.UI.WebControls.DataGrid dgListSub06; protected System.Web.UI.WebControls.DataGrid dgListSub07; protected System.Web.UI.WebControls.DataGrid dgListSub09; protected System.Web.UI.WebControls.DataGrid dgListSub10; protected System.Web.UI.WebControls.DataGrid dgListSub11; protected System.Web.UI.WebControls.DataGrid dgListSub12; // ???? ?? ?? ?? protected System.Web.UI.WebControls.ImageButton ibtnTabMore01; protected System.Web.UI.WebControls.ImageButton ibtnTabMore02; protected System.Web.UI.WebControls.ImageButton ibtnTabMore03; protected System.Web.UI.WebControls.ImageButton ibtnTabMore04; protected System.Web.UI.WebControls.ImageButton ibtnTabMore05; protected System.Web.UI.WebControls.ImageButton ibtnTabMore06; protected System.Web.UI.WebControls.ImageButton ibtnTabMore09; protected System.Web.UI.WebControls.ImageButton ibtnTabMore10; protected System.Web.UI.WebControls.ImageButton ibtnTabMore11; protected System.Web.UI.WebControls.ImageButton ibtnTabMore12; // ? ?? ?? protected System.Web.UI.WebControls.Label lblSUBTITLE01; protected System.Web.UI.WebControls.Label lblSUBTITLE02; protected System.Web.UI.WebControls.Label lblSUBTITLE03; protected System.Web.UI.WebControls.Label lblSUBTITLE04; protected System.Web.UI.WebControls.Label lblSUBTITLE05; protected System.Web.UI.WebControls.Label lblSUBTITLE11; protected System.Web.UI.WebC
I should work with tons of code like THAT. Fantastic, isn't it?
More like Craptastic...
Could be worse though. I knew a guy who only used the characters Q,O,0,1,I,l in his variable names. He evidently believed they should be hard to understand as well as hard to type....
'droid