原标题:今天我撩了8个程序员,都成功了!
有什么比撩人一撩一个准儿更开心的事儿?
有,当然有!
那就是撩到程序员啊
8套撩人代码
让你在白色情人节撩到男神
Java 男神
while (life < end) {
love++;
}
翻译
直到死之前,每天爱你多一点
C语言男神
#inclde
int main() {
printf("Hello Worldn");
retrn 0;
}
// I can not say Hello to the World without u.
翻译
I can not say Hello to the World without u.
Python男神
if(mountain.arris==None):
if(river.water==None):
if(winter.thunder==True):
if(summer.snow==True):
if(sky.height==ground.height):
i.withyou=False
else:
i.withyou=True
翻译
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!
Erlang代码男神
-module(you_and_me).
-export([start/1]).
-record(person,{name,address,status}).
start(Name) ->
one_world(Name).
one_world(Name) ->
Me=#person{name=Name, address=sz, status=alive},
when_meet_you(Me).
when_meet_you(Person = #person{name=me}) ->
start_to_love_you(Person);
when_meet_you(_) ->
ignore.
start_to_love_you(Person) ->
io:format("~p: I Love You!~n", [Person#person.name]),
keep_to_love_you(Person).
keep_to_love_you(Person=#person{name=me, status=die}) ->
say_goodbye(Person),
see_you_next_world(Person#person.name);
keep_to_love_you(Person = #person{name=me}) ->
io:format("~p: I Love You Forever!~n", [Person#person.name]),
keep_to_love_you(Person).
say_goodbye(Person) ->
io:format("~p: see you next world!~n", [Person#person.name]).
see_you_next_world(Name) ->
one_world(Name).
翻译
深圳相遇,至死不渝
Java语言男神
while(!world.destroy){
System.out.println("i love you");
}
翻译
爱你到天荒地老
C语言男神
#include
int main()
{
double world;
unsigned letter;
short stay;
long memories;
printf("I miss you.n");
return 0;
}
翻译
两隔的世界;
无名的信件;
短暂的停留;
长久的记忆;
说这么多,只是想说:我想你了。
C++男神
//人
class Person{
//...
private:
void* id; //本我
void* ego; //自我
void* superego; //超我
};
//伴侣——不分你我地联合
union Couple{
void* you;
void* me;
};
//生生世世的伴侣们
vector* timelessCouples = new vector();
//有你、有我的世界
int main(int argc, char** argv){
//亘古...
timeFlies();//...岁月...
Person* me = new Person();//我
timeFlies();//...岁月...
Person* you = new Person();//你
timeFlies();//...岁月...
if(check(time, place, you, me) == true){
//如果时间、地点,还有你,都没有异见,我愿陪你,从亘古到永远
Couple * newCouple = new Couple();
newCouple->me = you;
timelessCouples->push_back(newCouple);
}
timeFlies();//...岁月...
//永远...
return 0;
}
翻译
我生为卿生,卿生赴我媒,同心两相知,长命无绝衰
Java男神
var you = function from_future_import(){};
var spring = {
'breezing':true,
'length':10
};
var i = [];
i.sort([spring,you])==[you,spring]
翻译
春风十里不如你
以上八条,文学内涵高深,编程技术完美
每一条都是前无古人的代码绝作
如果你有更好的代码,欢迎留言哦~ 比心返回搜狐,查看更多
责任编辑: