|
Anytime I see variables like a0, a1, a2 etc. it's probably because the code has been run through a compression or obfuscation utility to make it smaller and less likely to be swiped. I'm guessing that's what's happened here.
[edit: and if I'd read the responses so far I'd have seen that my reply was redundant].
Cheers,
Drew.
|
|
|
|
|
Yes. my master.
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else...
-----
"The conversations he was having with himself were becoming ominous."-.. On the radio...
|
|
|
|
|
As no one else pointed it out I just wanted to say this would probably work better using the OR operator
I may or may not be responsible for my own actions
|
|
|
|
|
I 100% agree with you. Good code is readable. Code that is difficult to read leaves space for difficulty to find bugs which cost the company money.
Maybee its a form of insecurity these guys have. E.g. If I make my code impossible to read, they'll have to keep me employed.
"Program testing can be used to show the presence of bugs, but never to show their absence."
<< please vote!! >>
modified on Wednesday, May 11, 2011 6:54 AM
|
|
|
|
|
He has joined the 'anti-if' campaign.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
Wasn't sure whether to post this in Clever code or here, but found this snippet in a link on VS standards compliance (http://msdn.microsoft.com/en-us/library/8yk3t00s%28v=vs.71%29.aspx[^]
template <class T>
struct S
{
template<class U> void f(U);
};
template<class T> template <class U> void S<T>::f(U)
{
}
It made me smile this morning. If you're thinking of complaining then just S<T>::f(U) .
|
|
|
|
|
The Boss is wondering why I'm laughing.
Probably also wondering why the app isn't done, but that's neither here nor there.
|
|
|
|
|
Practical joke at its best...
(yes|no|maybe)*
|
|
|
|
|
That has to be the funniest code snippet I've ever seen! Should definitely have gone in clever code.
And that comment ("defined out of line") just makes it that much better!
|
|
|
|
|
Wonder why they have written
S<T>::f(U) ??
|
|
|
|
|
*hut *he *uck *p
|
|
|
|
|
It's definitely not a clever code. Somebody smokes joint too often.
|
|
|
|
|
a collegue of mine, from a village near Rome, uses to say "fresco": it means basically "stuff", and he really abuses the word.
When he explains your code to you, he sounds like this:
"Well, I coded a 'fresco' that takes two other 'frescos' and move them around, while another couple of lists of 'frescos'...."
He also claims being a jQuery expert... so this is a jQuery example of his "frescoes"
$(".TimeoutInMinutes").change(function() {
UpdateSave($(this).parent().parent().parent().parent().parent().parent().attr("id"));
});
$(".Iteration").change(function() {
UpdateSave($(this).parent().parent().parent().parent().parent().parent().attr("id"));
});
l
|
|
|
|
|
Quite a big family...
(yes|no|maybe)*
|
|
|
|
|
bruno.tagliapietra wrote: "Well, I coded a 'fresco' that takes two other 'frescos' and move them around, while another couple of lists of 'frescos'...."
This is not hard to unerstand. As a kid I watched the Smurfs on TV a lot. Watching that a lot made me familiar with their language. The language your co-worker speaks seems closely related to the Smurfs language. A basic rule for this language family is to replace every noun with another word, in your co-workers language this word is 'fresco'.
Learning a new language is never easy, but with a bit of practice you'll get there!
bruno.tagliapietra wrote:
$(".TimeoutInMinutes").change(function() {
UpdateSave($(this).parent().parent().parent().parent().parent().parent().attr("id"));
});
$(".Iteration").change(function() {
UpdateSave($(this).parent().parent().parent().parent().parent().parent().attr("id"));
});
l
This language seems harder to decipher...
It's an OO world.
|
|
|
|
|
yup, a language very easy to speak but almost impossible to understand eheh.. it's like a noninvertible function
|
|
|
|
|
smurfs rock!
|
|
|
|
|
I can not see anything to complain about!
He talks about frescos[^] and revers to the 6. generation of parents - this sound fine to me.
The time should kind of fit.
regards
Torsten
I never finish anyth...
|
|
|
|
|
and here's another one... it's ROBUST jquery :p
$(this).parent().parent().parent().children("tr:nth-child(1)").children("td").children().children().children().children(":nth-child(2)")children(".MultilineTextBox").val("!" + Out);
|
|
|
|
|
Yeah, that is a really ugly querry of "frescoes".
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
Is fresco Italian for widget? I'm hungry, how do you ever stop eating over there?! I'm 50% Italian, my mother was born there, but I've never visited. I would have to stay though, because I wouldn't fit on the plane back.
Craigslist Troll: litaly@comcast.net
"I have a theory that the truth is never told during the nine-to-five hours. "
— Hunter S. Thompson
|
|
|
|
|
"fresco" means something "fresh". I can't think of an word sounding the same with a useful meaning in software developing.
regards
Torsten
I never finish anyth...
|
|
|
|
|
|
Are you saying he's all fresco?
Maybe he should work on this[^]?
|
|
|
|
|
Hi Bruno,
Clearly this programmer is using "fresco" as a code-word for "obfuscatore al dente."
best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
|
|
|
|