|
Top that? Easily. Here is just one of endlessly many similar static methods in an application I just replaced (including comments and documentation):
public static int DoSomethingWithBunnies(int auswahl, string artnr, string artbez, string lnam,
string lnr, string lartnr, string wg, string mkenz, string ean,
string gab, bool ges, bool bug, bool bau, bool eks, int stanort,
string uid)
{
}
Edit: It's not the number of parameters that's the problem here. Much worse that all methods are static, usually at least 1000 lines of the worst spaghetti code long and often redundant. There are at least two more versions of this particular method here with '2' and '3' added to the name with little to no apparent differences in the copied code. All without any comments except for those I added or any documentation.
"I have what could be described as the most wide-open sense of humor on the site, and if I don't think something is funny, then it really isn't." - JSOC, 2011
----- "Friar Modest never was a prior" - Italian proverb
|
|
|
|
|
I see so much "wonderful" code over here, so I'd like to put my 5 cents as well.
Once I had the "pleasure" of working with Japanese guys (I have nothing agains Japanese, put those were especially "talented"). Can you imagine a class named "Cmoag1000Helper" containing the method "getKakko"? But they created such a masterpiece. Especially I like method name. The folks around who speak Russian already have got the point, I think. For the rest of you I'll explain. The word "kakko" sounds very close to the Russian word which, when translated to English, actually means (sorry for being rude, but it's only the truth) "turd" ("sh*t", "excrements", whatever you wish to call it, the sence is the same).
So I had to work with the class that was capable of retrieving sh*t, that was just great .
|
|
|
|
|
It also sounds very like the English word cack, which comes from the the Dutch Word Kak (meaning Sh*t). Khaki is related IIRC (sh*t coloured)[edit: no it doesn't, it means dust-coloured. That's a comprehensive education for you....] and poppycock (from the Dutch meaning soft Sh*t).
I'm full of useful sh*t today!
|
|
|
|
|
Interesting (or not) as this may be I think there is a similar sounding word in many languages.
The german word is "Kacke" which translates to sh*t with "kacken" being the verb and a equally favorite adjective "kack".
Too ... much ... information
|
|
|
|
|
English is closely related to Dutch (its base grew out of the same root language) and further back German, Dutch and English had a common ancestor. English only sounds different because it was smattered through with a little Scandinavian, a bit of French and some Latin later (Latin came through the Monasteries) plus it's been shedding inflections like billy-o since Anglo-Saxon times.
They are probably still related to the word Khaki, this is Urdu apparently, and European languages had a common ancestor with Indian ones. It's telling that the Urdu word means dust/earth if Wikipedia is to be trusted, so they even have a similar meaning.
|
|
|
|
|
Yeah, I do remember something about stem of indo-germanic languages. There was this bit with "Ma" for mother which has homophones in these languages: Ma, Mama, Mom, Mother, Mutter, mater, madre etc.
|
|
|
|
|
Oh, man. Will I see any responces from languages like French, Italian, Spanish... For your information, there is appropriate verb in Russian - "какать" (it's in Cyrillic, I hope you have Unicode), means "to take a sh*t".
|
|
|
|
|
Wow, that's just cool. I see you're full of vital knowledge too
|
|
|
|
|
I really hope the class (in in the very least, an instance) was named "golgothan".
|
|
|
|
|
Maybe it's a new Toyota safety feature. So if you have a car crash and Kakko your pants, there's no mess to clean up.
[edit] Actually if you've seen the hi-tec toilets they sell over in Japan... getKakko wouldn't be that an uncommon method
"You get that on the big jobs."
modified on Monday, February 14, 2011 10:48 PM
|
|
|
|
|
It's not that new, I worked on that code in the end of 2009. Put perhaps they sold it to Toyota after we finished business I think they wanted to create a firmware for carpet-producing macnines (so that carpet would automatically wipe driver's ass after crash), they didn't tell exactly. But there is a bug in this software. Some of you might have heard about new Toyotas which don't stop when they're told to (by using brake pedal). Instead they hit poor trees. And officials say there is a problem with driver's carpet. Well, it's the truth. Because of bug in "getKakko" function in carpet-producing machines firmware, carpets do not, I repeat, do not wipe driver's ass in case of crash. Instead they lubricate themselves with crap (from reserve storage) and become. you know, a little slimy... I presume you've got the point
|
|
|
|
|
|
I have registered to a site. Finally it asked me to check my mail. My mail got a activation link like this
"Welcome To .....
To activate your account click the below link http:\\www.xxxxxxx.com\activate\id\2356 . When I try using nearest random numbers for the id, it still works.
I think I came across lot of sites like this in the internet world
|
|
|
|
|
Some developers have way too much trust in the people of the web
Shame on you for trying to use another number!
Illogical thoughts make me ill
|
|
|
|
|
I've actually never seen this; I guess I'm lucky to avoid such crappy sites
Have seen an admin panel that only check if the user existed though... (and not if it's an admin, or even the password is correct) >_>
|
|
|
|
|
AlbinAbel wrote: www.xxxxxxx.com
I think I tried the variants of that at some point and found that domains existed up to about a hundred X's.
|
|
|
|
|
AspDotNetDev wrote: I think I tried the variants of that at some point and found that domains existed up to about a hundred X's.
I think you need to get a girlfriend.
|
|
|
|
|
I've had a few. I'm quite happy entertaining myself for the time being.
|
|
|
|
|
I guess you left room for interpretation on purpose.
|
|
|
|
|
Jörgen Andersson wrote: I think you need to get a girlfriend who doesn't ask for your credit card number.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."
|
|
|
|
|
If Not IsNothing(dt) Then
Else
' Code here
End If
Reminds me of Ian Dury...
... and it ain't not having one thing nor another
neither, either is it anything, whatever ...
|
|
|
|
|
That is a lovely bit of logic.
I suppose it may actually accomplish what the original programmer intended, but even if it does, it is a really ugly way to do it.
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
it is strange how all the idiots use VB
return 5;
|
|
|
|
|
musefan wrote: all the idiots use VB
Oh, how I wish that was true...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."
|
|
|
|
|
Or maybe VB is such a well designed language that stupid mistakes are really obvious, and thus are more frequently ofund and posted
*snicker*
|
|
|
|