1. Kotlin / Говнокод #29088

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    //Вдохновил говнокод от DypHuu_niBEHb
    fun main() {
        Сорок тысяч обезъян в жопу сунули банан
    }
    
    object Сорок {
        infix fun тысяч(a: обезъян) : обезъян {
            print("${this.javaClass.simpleName} ${Thread.currentThread().stackTrace[1].methodName} ")
            return обезъян
        }
    }
    
    object обезъян {
        infix fun в(a: жопу) : жопу {
            print("${this.javaClass.simpleName} ${Thread.currentThread().stackTrace[1].methodName} ")
            return жопу
        }
    }
    
    object жопу {
       infix fun сунули(a: банан) : жопу {
           print("${this.javaClass.simpleName} ${Thread.currentThread().stackTrace[1].methodName} ${a.javaClass.simpleName}")
           return this
       }
    }
    
    object банан {
    }

    Сорок тысяч обезъян в жопу сунули банан

    Запостил: Trix, 12 Февраля 2025

    Комментарии (24) RSS

    • Какой fluent interface )))
      Ответить
    • а воткод на языке Perl
      BEFOREHAND: close door, each window & exit; wait until time.
          open spellbook, study, read (scan, select, tell us);
      write it, print the hex while each watches,
          reverse its length, write again;
          kill spiders, pop them, chop, split, kill them.
              unlink arms, shift, wait & listen (listening, wait),
      sort the flock (then, warn the "goats" & kill the "sheep");
          kill them, dump qualms, shift moralities,
          values aside, each one;
              die sheep! die to reverse the system
              you accept (reject, respect);
      next step,
          kill the next sacrifice, each sacrifice,
          wait, redo ritual until "all the spirits are pleased";
          do it ("as they say").
      do it(*everyone***must***participate***in***forbidden**s*e*x*).
      return last victim; package body;
          exit crypt (time, times & "half a time") & close it,
          select (quickly) & warn your next victim;
      AFTERWORDS: tell nobody.
          wait, wait until time;
          wait until next year, next decade;
              sleep, sleep, die yourself,
              die at last
      Ответить
      • И что он делает?
        Ответить
        • не работает на пятом перле.
          но если у тебя есть четвертый перл (скорее всего нет, если твоя операционка выпущена после 1993-го года) то можешь запустить

          https://en.wikipedia.org/wiki/Black_Perl
          Ответить
          • > The remaining lines are parsed by the Perl interpreter but never actually executed. The program produces no output.

            Какой багор )))
            Ответить
            • я тоже стишок написал на C++, начинается словами "/*"
              Ответить
              • А я обдумывал свой план,
                Как щёки мазать мелом,
                А пред лицом носить экран,
                Чтоб не казаться белым.
                Ответить
              • К слову, Тарас принёс реальный пример, когда компилятор Xi++ вообще не парсит тело одного шаблона, пропуская синтаксический мусор:

                https://govnokod.ru/14365

                Крестошаблоны — это вещь в себе, позволяющая писать мёртвый код.
                Ответить
          • В статье упомянута адаптация под пятый.

            BEFOREHAND: close door, each window & exit; wait until time.
            	     open spellbook, study, select it, confess, tell, deny;
            	write it, print the hex while each watches,
            	     reverse "its length", write again;
            	     kill spiders, pop them, chop, split, kill them.
            	          unlink arms, shift, wait & listen (listening, wait),
            	sort the flock (then, warn "the goats". kill "the sheep");
            	     kill them, dump qualms, shift moralities,
            	     values aside, each one;
            	          die sheep, die, reverse system
            	          you accept (reject, respect);
            	next step,
            	     kill next sacrifice, each sacrifice,
            	     wait, redo ritual until "all the spirits are pleased";
            	     do it ("as they say").
            	do it(*everyone***must***participate***in***forbidden**s*e*x*).
            	return last victim; package body;
            	     exit crypt (time, times & "half a time") & close it,
            	     select (quickly) & warn next victim;
            	AFTERWORDS: tell nobody.
            	     wait, wait until time;
            	     wait until next year, next decade;
            	          sleep, sleep, die yourself and
            	          rest at last
            Ответить
            • спасибр работает
              Type of arg 1 to each must be hash or array (not constant item) at ./2.pl line 2, near "window &"
              Type of arg 1 to each must be hash or array (not constant item) at ./2.pl line 4, near "watches,"
              Type of arg 1 to pop must be array (not constant item) at ./2.pl line 6, near "them,"
              dump() must be written as CORE::dump() as of Perl 5.30 at ./2.pl line 9.
              Ответить
    • «Обезьяна» пишется с мягким знаком. Твёрдый обычно используется после приставок и в некоторых китайских словах.
      Ответить
    • ладно
      https://pbs.twimg.com/media/GjgfAG-WIAAO8ua?format=jpg&name=medium
      Ответить
      • > она приняла неизвестную таблетку, после чего отправилась на посадку
        Ответить
        • --Как вы приняли хуй за бомбу?
          --Она сама мне сказала
          --Бомба? Чем же она говорила?
          --Головкой
          Ответить
    • https://img0.reactor.cc/pics/post/%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%BE%D1%82%D0%B0-%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B0%D1%8F-%D0%BA%D0%B0%D1%80%D0%B8%D0%BA%D0%B0%D1%82%D1%83%D1%80%D0%B0-%D0%95%D0%BB%D0%BA%D0%B8%D0%BD-5660338.jpeg

      гологуб
      Ответить

    Добавить комментарий