
재료
코코넛 리큐르 ("말리부") 20mL
리치 리큐르 20mL
코냑 혹은 브랜디 40mL
체리 주스 150mL
레몬
얼음
제조법
def ruby()
20.times do
liqueur { :type => :cocoa, :name => :Malibu }
liqueur { :type => :lychee }
end
if liqueur.exist? { :type => :brandy } then l = :brandy else l = :cognac
40.times do liqueur { :type => l } end
lemon
ice
end
2. Python


재료
화이트 럼 50mL
민트 리큐르 30mL
파인애플 쥬스 30mL
레몬 반개
스프라이트
제조법
def python():
d = Drink()
d.addIngredient(50, type = 'rum', name = 'white')
d.addIngredient(30, type = 'liqueur', name = 'mint')
d.addIngredient(30, type = 'juice', name = 'pineapple')
d.addIngredient(Lemon.unitsPerFruit() / 2.0, type = 'juice', name = 'lemon')
while not d.glassOverflowed():
d.addIngredient(1, type = 'soda', name = 'sprite')
return d
3. Perl


재료
진 30mL
드라이 베르무트("Rosso") 20mL
레몬 쥬스 10mL
시럽 10mL
제조법
$%!#$#$%^@#$!@#$!@#!%$#$%^#@#$@#$@#$"gin"
$$#%@#$$%^$%@#$/=|$"dry vermouth rosso"
""<>.((79348*&("lemon juice"({}
}}}{{}{$$$$"syrup"*#(*#$83 || die();
4. Assembler

재료
허브 리큐르 (예거마이스터) 20mL
멜론 리큐르 (미도리) 20mL
라임 즙
복숭아 시럽 20mL
제조법
global _start
text
_start:
mov $0xfeed, %rax
mov $0x14, %rcx
mov jager, %rdi
cld
rep movmd ; md = make drunk, naturally.
mov $0x14, %rcx
mov midori, %rdi
rep movmd
mov peach, %rdi
mov $0x14, %rcx
rep movmd
jmp $0xfeedface
:jager
ascii "Jagermeister"
:midori
ascii "Midori"
peach:
ascii "peach syrup"
5. Memory Leak

재료
테킬라 50mL
라이트 럼 50mL
트리플 섹 50mL
깔루아 50 mL
콜라
콜라
제조법
struct Drink *make_drink() {
struct Drink *drink;
struct Ingredient *ingredient;
drink = malloc(sizeof(struct Drink));
drink->ingredients = ingredient = malloc(sizeof(struct Ingredient) * 7);
*ingredient.amount = 50;
*ingredient.name = "tequila";
ingredient++;
*ingredient.amount = 50;
*ingredient.name = "white rum";
ingredient++;
*ingredient.amount = 50;
*ingredient.name = "triple sec";
ingredient++;
*ingredient.amount = 50;
*ingredient.name = "kahlua";
ingredient++;
addLime(ingredient++);
*ingredient.amount = sizeof(Glass) - 100;
*ingredient.name = "coke";
*ingredient++;
memset(ingredient, 0, sizeof(struct Ingredient));
return drink;
}
void free_drink(struct Drink *) {
free(drink);
}
https://geektimes.ru/post/258116/
프로그램의 날을 맞아 러시아의 칵테일 만드는 친구가 만들었다고 합니다.

인스티즈앱
스프링피버 이대사 어케 수위 조절했을지 너무 궁금