📜 ⬆️ ⬇️

Competition results for the best #codejoke

More than a month ago, Microsoft User Group Vinnitsa announced a contest , the essence of which was to tell a joke or story using software code. The prizes were more than challenging - this is Windows 7 Ultimate.

Time passed and a lot of jokes accumulated, thanks to all the participants. Today MSUG announces the results of the competition.

The first place and the first happy owner of Windows 7 Ultimate is Vitaly Domnikov ( dotCypress ). Vitaly wrote a lot of interesting examples, but the following code has become more popular with the public.
if (Measure())
{
if (Measure())
{
if (Measure())
{
if (Measure())
{
if (Measure())
{
if (Measure())
{
if (Measure())
{
Cut();
}
}
}
}
}
}
}

* This source code was highlighted with Source Code Highlighter .

Second place - Colwin and his performance hit the Beatles, which is sent to Windows 7 Ultimate.
class LetItBe
{
private Author I;
private Author me;
private MotherMary MotherMary;
private MotherMary she;

public LetItBe()
{
I = Author.instance();
me = I;
MotherMary = MotherMary.instance();
she = MotherMary;
}

public static void main( String [] args)
{
if (I.FindMyself() && timesOfTrouble())
{
MotherMary.comesTo(me);
MotherMary.speak(WordType.WORDS_OF_WISDOM, "Let it be" );
}
if (I.isHourOfDarkness()) {
assert (she.isStanding(Position.IN_FRONT_OF, me));
she.speak(WordType.WORDS_OF_WISDOM, "Let it be" );
}
letItBe();
letItBe();
I.whisper(WordType.WORDS_OF_WISDOM, "Let it be" );
}
}

But we will not stop on this either, the incentive prizes are:
')
Painkiller for Ukrainian classics.
procedure Salo;
var arrSaloLocations : array [ 0..25 ] of OleVariant;
var oUkrNight, oSalo : OleVariant;
var oOldSaloLocation : OleVariant;
var ixSaloLocationsArray : integer ;
begin
if ( not oUkrNight. Noise ) then
if ( oSalo. Exists ) then
begin
oOldSaloLocation : = oSalo. Location ;

repeat
ixSaloLocationsArr : = Random ( VarArrayLowBound ( arrSaloLocations ) , VarArrayHighBound ( arrSaloLocations ) ) ;
until ( oOldSaloLocation <> arrSaloLocations [ ixSaloLocationsArray ] ) ;

oSalo. Location : = arrSaloLocations [ ixSaloLocationsArray ] ;
end ;

Anton aka ant99 for his joke :
SELECT name FROM european_proletarians
UNION
SELECT name FROM asian_proletarians
UNION
SELECT name FROM african_proletarians
UNION
SELECT name FROM american_proletarians
UNION
SELECT name FROM australian_proletarians

Also: orange_guard , Mezomish , Varnak , Mikant

All of them will receive any 3 books from the following list . Please winners contact us for prizes.

We thank all the participants and invite everyone to take part in the “book by article” promotion.

PS It's nice that our idea went to the masses .

Source: https://habr.com/ru/post/89717/


All Articles