Formwhat?
-
Not technically a real horror, but I just did something that looks darn scary:
return string.Format(string.Format("{{0:{0}}}", exportField.FormatString), exportField.Value);
:~
Semicolons: The number one seller of ostomy bags world wide. - dan neely
-
Not technically a real horror, but I just did something that looks darn scary:
return string.Format(string.Format("{{0:{0}}}", exportField.FormatString), exportField.Value);
:~
Semicolons: The number one seller of ostomy bags world wide. - dan neely
Is it code obfuscation?
So the creationist says: Everything must have a designer. God designed everything. I say: Why is God the only exception? Why not make the "designs" (like man) exceptions and make God a creation of man?
-
Not technically a real horror, but I just did something that looks darn scary:
return string.Format(string.Format("{{0:{0}}}", exportField.FormatString), exportField.Value);
:~
Semicolons: The number one seller of ostomy bags world wide. - dan neely
-
Is it code obfuscation?
So the creationist says: Everything must have a designer. God designed everything. I say: Why is God the only exception? Why not make the "designs" (like man) exceptions and make God a creation of man?
by name? Probably not. by value? Obviously.... it violates the Thirty Second Rule (a single line of code shouldn't take that long to parse in your head) Wirth would be proud. :)
Jeff Dickey Seven Sigma Software and Services Phone/SMS: +65 8333 4403 Yahoo! IM: jeff_dickey MSN IM: jeff_dickey at hotmail.com ICQ IM: 8053918 Skype: jeff_dickey
-
Not technically a real horror, but I just did something that looks darn scary:
return string.Format(string.Format("{{0:{0}}}", exportField.FormatString), exportField.Value);
:~
Semicolons: The number one seller of ostomy bags world wide. - dan neely
Did I hear someone say "Quine"? :~
Semicolons: The number one seller of ostomy bags world wide. - dan neely
-
Not technically a real horror, but I just did something that looks darn scary:
return string.Format(string.Format("{{0:{0}}}", exportField.FormatString), exportField.Value);
:~
Semicolons: The number one seller of ostomy bags world wide. - dan neely
Why didn't you do it this way:
return string.Format(exportField.FormatString, exportField.Value);
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Why didn't you do it this way:
return string.Format(exportField.FormatString, exportField.Value);
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001The format string for the export column doesn't contain the indexer for the composite format, i.e., I need "{0:0000.0000}" as a composite format, but the format string for the column doesn't care that it is format item with index 0, and is just "0000.0000".
Semicolons: The number one seller of ostomy bags world wide. - dan neely
-
by name? Probably not. by value? Obviously.... it violates the Thirty Second Rule (a single line of code shouldn't take that long to parse in your head) Wirth would be proud. :)
Jeff Dickey Seven Sigma Software and Services Phone/SMS: +65 8333 4403 Yahoo! IM: jeff_dickey MSN IM: jeff_dickey at hotmail.com ICQ IM: 8053918 Skype: jeff_dickey
Jeff Dickey wrote:
it violates Thirty Second Rule
So what are rules 1 to 31? :-D
-
Jeff Dickey wrote:
it violates Thirty Second Rule
So what are rules 1 to 31? :-D
mmmmppphhhh.... must.....not....give in....to....obviously.....brainless.....insipid.....TROLLS!
Jeff Dickey Seven Sigma Software and Services Phone/SMS: +65 8333 4403 Yahoo! IM: jeff_dickey MSN IM: jeff_dickey at hotmail.com ICQ IM: 8053918 Skype: jeff_dickey
-
by name? Probably not. by value? Obviously.... it violates the Thirty Second Rule (a single line of code shouldn't take that long to parse in your head) Wirth would be proud. :)
Jeff Dickey Seven Sigma Software and Services Phone/SMS: +65 8333 4403 Yahoo! IM: jeff_dickey MSN IM: jeff_dickey at hotmail.com ICQ IM: 8053918 Skype: jeff_dickey
Jeff Dickey wrote:
it violates the Thirty Second Rule (a single line of code shouldn't take that long to parse in your head)
Ummmm List tablica = dc.vArtiklCjeniks.Where(sg => sg.StrankaID == s.StrankaID || (sg.StrankaID == null && dc.vArtiklCjeniks.Where(sg1 => sg1.ArtiklID == sg.ArtiklID && sg1.StrankaID == s.StrankaID).Count() == 0)).ToList(); How about that? :D Does this qualify as coding horror? :)