如果想在 V2EX 获得更好的推广效果,欢迎了解 PRO 会员机制:
https://www.v2ex.com/pro/about

如果你经常使用铜币置顶主题,持有 V2EX Solana Token 会在每日签到时获得额外铜币:
https://www.v2ex.com/solana
xiaobetty
V2EX  ›  推广

晒出你最蠢的一段代码,送 Cherry 鼠标垫

  •  
  •   xiaobetty · Aug 4, 2015 · 33984 views
    This topic created in 4114 days ago, the information mentioned may be changed or developed.

    可能是 上周五的活动不够有趣,还有约300份鼠标垫没有送出去。。。
    办公室的cherry
    现在,只要你是北京的程序员,
    在评论处写下你最蠢的一段代码,
    戳这里填写收件信息
    就可以领取100offer定制Cherry鼠标垫一枚!
    送完即止


    Cherry鼠标垫是100offer用户最爱的办公品之一,这次我们也漂洋过海与德国的Cherry官方达成合作,赠与大家。

    优秀的程序员是企业争抢的对象,很多用户通过100offer来「挑」工作:
    http://100offer.com/about

    2015年,100offer会努力给信任我们的广大程序员们提供更多的福利与更好更优质的职业机会,离你们的需求更近一步。

    Supplement 1  ·  Aug 10, 2015
    感谢大家对100offer的支持!

    所有的确认邮件都已发出,第二批鼠标垫也在今天发出~

    北京的朋友如果到周三还没收到联系我(微信服务号:im100offer)

    外地的朋友估计周四、周五收到吧^^

    ***

    现在加入邀请计划,

    http://100offer.com/invite

    把100offer介绍给有跳槽需求的小伙伴,

    还有千元亚马逊卡哦~
    426 replies  •  2015-08-14 16:46:08 +08:00
    1  2  3  4  5  
    ❮ ❯
    jackielin
    jackielin
    Aug 4, 2015
    1
    javascript:

    if(!(variables === true)) {
    // balabalabala.....
    }
    southwolf
    southwolf
    Aug 4, 2015
    2
    ·rm -rf /· 这种算么
    liujiantao
    liujiantao
    Aug 4, 2015 via Android
    3
    <?php
    echo 'Hello World!';
    ?>
    wangfeng3769
    wangfeng3769
    Aug 4, 2015
    4
    chmod * -R
    ooh
    ooh
    Aug 4, 2015
    5
    呵呵
    wangfeng3769
    wangfeng3769
    Aug 4, 2015
    6
    chmod 777 * -R
    xcnick
    xcnick
    Aug 4, 2015
    7
    找出数组中的最大值:

    for(value: valueArray) {
    if(value > maxValue) {
    value = maxValue;
    }
    }
    wj5868386
    wj5868386
    Aug 4, 2015
    8
    Hello world
    waynehuge
    waynehuge
    Aug 4, 2015
    9
    c

    foo(void)
    {
    unsigned char i;
    for(i=0; i<300; i++)
    {
    //do something
    }
    }
    ipeony
    ipeony
    Aug 4, 2015
    10
    if((str!=null)?true:false){
    //do something...
    }
    fashioncj
    fashioncj
    Aug 4, 2015
    11
    if(flag=true){
    //do something
    }
    else{
    //do something
    }
    sonaive
    sonaive
    Aug 4, 2015
    12
    @Override
    public void onBackPressed() {
    Intent intent = new Intent(SearchActivity.this, PostersActivity.class);
    startActivity(intent);
    finish();
    }
    被Fragment的生命周期折磨的。
    Hashell
    Hashell
    Aug 4, 2015
    13
    sudo kill -INT 1
    xiaolang
    xiaolang
    Aug 4, 2015
    14
    ”Hello word“注意是”word“ - -!
    hengz
    hengz
    Aug 4, 2015
    15
    用System.out.print打异常。。。
    zcljy
    zcljy
    Aug 4, 2015
    16
    if(i==0){
    }else if.....
    cnhongwei
    cnhongwei
    Aug 4, 2015
    17
    以前看到一个同事用java写的取前10条数据库记录的代码,惊为天人,伪代码如下:
    ...
    ps = conn.prepareStatement( "select * from table" );
    rs = ps.executeQuery();
    int count = 0;
    while ( rs.next() ) {
    count ++;
    }

    if (count > 10) then {
    count = 10;
    }

    ps = conn.prepareStatement( "select * from table" );
    rs = ps.executeQuery();
    for (int i = 0; i < count; i++) {
    row = rs.next();
    //do something......
    }
    ......

    从此对java代码的冗长有了深深的恶意。
    laoona
    laoona
    Aug 4, 2015
    18
    requirejs

    require(["jqurey"], function($) {
    console.log($);
    });
    hakulamatata
    hakulamatata
    Aug 4, 2015
    19
    rm -rf *

    这段无敌,我不在北京可以领个玩玩么?
    subpo
    subpo
    Aug 4, 2015
    20
    javascript

    if ( a == nuII ){ //要仔细看...
    xxx
    }
    yaxin
    yaxin
    Aug 4, 2015❤️1
    21
    @southwolf 你这还不算蠢,这个才叫蠢,rm -rf / usr/local/nginx/conf/nginx.conf
    AciVang
    AciVang
    Aug 4, 2015
    22
    delete from table
    灾难从此开始.....
    chrisstyle
    chrisstyle
    Aug 4, 2015
    23
    //神逻辑 服务器如果没传isApply,isApply默认为1;
    NSInteger isApply = [WDUtils numberFromObject:[dic objectForKey:@"isapply"]].integerValue;
    if (isApply == 0) {
    isApply = kActivityCancelApply;
    }
    activityEntity.isapply = @(isApply);

    以上是项目真实代码。。
    mthli
    mthli
    Aug 4, 2015 via Android
    24
    ++i++i+i++
    tntasdf
    tntasdf
    Aug 4, 2015
    25
    ```
    // js - 找出数组中的最大值
    var a=[1,45,78,654,3,6,311];
    var t=a[0];

    if(t<a[1]) {
    t=a[1];
    }

    if(t<a[2]) {
    t=a[2];
    }

    if(t<a[3]) {
    t=a[3];
    }

    if(t<a[4]) {
    t=a[4];
    }

    if(t<a[5]) {
    t=a[5];
    }

    if(t<a[6]) {
    t=a[6];
    }

    // .... 不能要求更多...

    console.log(t);

    ```
    hitmanx
    hitmanx
    Aug 4, 2015
    26
    @yaxin 哈哈,我也想写这个哏来着。。
    mthli
    mthli
    Aug 4, 2015 via Android
    27
    @mthli
    写错了...
    ++i+++i+i++
    randyzhao
    randyzhao
    Aug 4, 2015
    28
    蠢出新天地.


    $query = "select * from table where name <> "" and hits > 20";


    填完收件信息才发现只限北京, 哭哭
    kkhaike
    kkhaike
    Aug 4, 2015
    29
    要北京才行啊!
    clippit
    clippit
    Aug 4, 2015
    30
    if ($foo = true) {
    //...
    } else {
    //...
    }
    其实就是个低级错误……
    lepig
    lepig
    Aug 4, 2015
    31
    ```php
    if ($val = true) {
    //dosomething
    } else {
    //dosomething
    }

    ```
    frye
    frye
    Aug 4, 2015
    32
    if (!preg_match('#(?:[a-zA-Z]{1,3}\s*[^\x00-\xff]{0,5})?\s*(?:\s*[((].+[))]?\s*)?\|?[a-zA-Z0-9]{3,11}$#u',$title, $foot) && $footer === false) {
    return $default;
    }
    abscon
    abscon
    Aug 4, 2015
    33
    @jackielin
    @fashioncj

    列出来的是错的平方,因为 ==true 根本就不应该出现在if语句中
    aec4d
    aec4d
    Aug 4, 2015
    34
    def foo(number):
    for x in range(2, number):
    if not number % x:
    return False
    if number > 2:
    return True


    def bar(number):
    return filter(foo, range(1, number))


    print(list(bar(20000)))
    大概是这样子的
    orvice
    orvice
    Aug 4, 2015
    35
    if(a=b)
    SCaffrey
    SCaffrey
    Aug 4, 2015
    36
    1.
    alias cd='rm-rf'
    玩过后忘了删= =
    2.
    #define public private
    #define false true
    在小伙伴的代码里加的……%
    然后= =
    3.
    for(;;)fork();
    想卡OJ来着……
    结果把学校的机器玩坏了
    4.
    readln;
    第一次参加OI的时候
    这句话TMD忘了删……%%%
    以后再也不敢了QAQ
    fullpowers
    fullpowers
    Aug 4, 2015 via Android
    37
    if age>18
    print('i have a girlfriend.')
    ddugujiujian
    ddugujiujian
    Aug 4, 2015
    38
    为了看妹子,特意穿越了5条大街,在门口徘徊了15分钟才见到哦。不虚此行,不要被LZ头像迷惑哦。哈哈,
    delavior
    delavior
    Aug 4, 2015
    39
    拿while当if用
    while(flag) {
    //do something(一条语句)
    }
    hanwujibaby
    hanwujibaby
    Aug 4, 2015
    40
    rm -rf /
    其实本来想要清掉的是rm -rf /tmp
    breakeryang
    breakeryang
    Aug 4, 2015
    41
    sudo rm *
    rayzworld
    rayzworld
    Aug 4, 2015
    42
    魔法数字 if (indexPath.section == 0)
    qyz0123321
    qyz0123321
    Aug 4, 2015
    43
    if(iHasSend = 1) {
    sendPakcet()
    }else{
    sendAnotherPacket()
    }

    这个问题找了两天找到,简直丑陋
    freelee
    freelee
    Aug 4, 2015
    44
    本来只想写删除target目录的,结果手残。。
    rm -rf * target/*
    huayaoyue6
    huayaoyue6
    Aug 4, 2015
    45
    rm -rf /
    coolicer
    coolicer
    Aug 4, 2015
    46
    尼玛,突然想不到了,有了...
    try(

    )catch{

    }
    qinxg
    qinxg
    Aug 4, 2015
    47
    update action set name='2'
    --where id=1
    coolicer
    coolicer
    Aug 4, 2015
    48
    - - 北京程序员,呵呵。
    RaymondYip
    RaymondYip
    Aug 4, 2015
    49
    setTimeout('String', 750);
    leavic
    leavic
    Aug 4, 2015
    50
    if(is_master=True)
    {
    ...........
    }
    DendimoN
    DendimoN
    Aug 4, 2015
    51
    最蠢么。。int i; i=0.5;
    mikej
    mikej
    Aug 4, 2015
    52
    // 活动结束之后记得删掉下面的代码
    finab
    finab
    Aug 4, 2015
    53
    送不出去嘛??上次的我参加了也没送呀。。。😢
    fengyqf
    fengyqf
    Aug 4, 2015
    54
    楼主壕!支持!
    只是这头像,看着略不舒服。。。
    endoffight
    endoffight
    Aug 4, 2015 via Android
    55
    update和delete没有where

    if a=b

    for 循环条件永远达不到
    youfu
    youfu
    Aug 4, 2015
    56
    觉得自己写的代码都很腻害!并没有最蠢一说啊!!!!——by 一个毕业后几年都没写过代码的人
    yoggsaron
    yoggsaron
    Aug 4, 2015
    57
    - (void)initArray {
    priceDataInfo1 = [NSMutableArray array];
    priceDataInfo2 = [NSMutableArray array];
    priceDataInfo3 = [NSMutableArray array];
    priceDataInfo4 = [NSMutableArray array];
    priceDataInfo5 = [NSMutableArray array];
    priceDataInfo6 = [NSMutableArray array];
    priceDataInfo7 = [NSMutableArray array];
    priceDataInfo8 = [NSMutableArray array];
    priceDataInfo9 = [NSMutableArray array];
    priceDataInfo10 = [NSMutableArray array];
    priceDataInfo11 = [NSMutableArray array];
    priceDataInfo12 = [NSMutableArray array];
    priceDataInfo13 = [NSMutableArray array];

    [priceDataInfo1 addObject:@"示例"];
    [priceDataInfo2 addObject:@"示例"];
    [priceDataInfo3 addObject:@"示例"];
    [priceDataInfo4 addObject:@"示例"];
    [priceDataInfo5 addObject:@"示例"];
    [priceDataInfo6 addObject:@"示例"];
    [priceDataInfo7 addObject:@"示例"];
    [priceDataInfo8 addObject:@"示例"];
    [priceDataInfo9 addObject:@"示例"];
    [priceDataInfo10 addObject:@"示例"];
    [priceDataInfo11 addObject:@"示例"];
    [priceDataInfo12 addObject:@"示例"];
    [priceDataInfo13 addObject:@"示例"];
    }
    为一个表格的网格复制,每一个数组代表一行的数据,由于使用的第三方库,它就是这么设定的。。。而我从服务器拿到的数据是每一列的数据,而且每一行每一列数据都不一样,请告诉我怎么办~
    Jabin
    Jabin
    Aug 4, 2015
    58
    #define p print

    p("Hello World")
    arslion
    arslion
    Aug 4, 2015
    59
    %{isFirst = !isFirst && false}%

    ◡ ヽ(`Д´)ノ ┻━┻
    我写了个什么玩意
    Andrewliu
    Andrewliu
    Aug 4, 2015
    60
    int i = 0;
    for(i = 0; i < length; i++);
    handle(i);

    刚学编程的时候, 多写了一个分号, 当时的编译器查不出来错误, 自己肉眼Debug一天,

    从那以后, 我告诉自己如果再写C++不加大括号我就是傻×
    scorpius
    scorpius
    Aug 4, 2015
    61
    if a==something
    return true
    else
    return false
    chengzhoukun
    chengzhoukun
    Aug 4, 2015
    62
    受C影响写Python就写出了这样的代码:
    counts[s[i] - 'a']++
    counts[t[i] - 'a']--
    wolfan
    wolfan
    Aug 4, 2015
    63
    ls
    binyuJ
    binyuJ
    Aug 4, 2015
    64
    当年第一次学习c语言的时候,按照书上的例子写(抄)代码,就是把书上的代码写一遍再编译运行看看,我连注释都原样抄上去了。
    xiaobetty
    xiaobetty
    OP
    Aug 4, 2015
    65
    @finab 周日给你发邮件了呀,鼠标垫也寄出了哦~
    vagasnail
    vagasnail
    Aug 4, 2015
    66
    rm -rf /
    clockwerk
    clockwerk
    Aug 4, 2015
    67
    #define TRUE FALSE后面基本就是各种思路转不过来了。。。。。
    holmesabc
    holmesabc
    Aug 4, 2015
    68
    不是北京的...
    imlonghao
    imlonghao
    Aug 4, 2015
    69
    @mthli 你是谭浩强的吧.........
    Livid
    Livid
    MOD
    PRO
    Aug 4, 2015❤️4
    70
    V2EX 应该尽快支持回复里的 Markdown 了。
    wfxiong1990
    wfxiong1990
    Aug 4, 2015
    71
    if(date + 3 == markettradedate) 。。。 这里的date和tradedate都是int值保存的,如果date是7月31号并且是交易日的话,if 条件就进不去,嗯,每个月末并且是周五的情况下爆发一次
    Sarielwind
    Sarielwind
    Aug 4, 2015
    72
    纯参与
    刚干abap兼hrdb时候 脑子一热图省事写了这么一句东西

    delete from dbname where xxx=xxx or xxx=xxx

    于是整个厂几千人的kq信息全当了
    花了半天做恢复....
    hhh
    hhh
    Aug 4, 2015
    73
    for(i=0;i<length;i++); {
    //不小心敲了个;碰巧这里没有用到i,编译器没报错
    }

    坐标不在北京,鼠标垫就算了。
    braineo
    braineo
    Aug 4, 2015
    74
    hell wold...
    Nicksxs
    Nicksxs
    Aug 4, 2015
    75
    if( ){
    //balabala..
    }else(true){
    // do something
    }

    坐标不在北京~~~还是想要鼠标垫
    caserest
    caserest
    Aug 4, 2015
    76
    if的时候总是把==写成=
    anyexxx
    anyexxx
    Aug 4, 2015
    77
    判断漏加!符号
    for()
    {
    struct *pInfo = Get();
    if(pInfo)continue;
    //pInfo处理
    }
    woshixiaomao
    woshixiaomao
    Aug 4, 2015
    78
    for (int i =0; i<100; i++);
    {
    count << i <<endl;
    }
    MarioLuisGarcia
    MarioLuisGarcia
    Aug 4, 2015
    79
    print "I win a cherry mouse pad"
    huson
    huson
    Aug 4, 2015
    80
    i = 1
    while i:
    xxxxxxxxxxx
    fritx
    fritx
    Aug 4, 2015
    81
    $login.off('submit').on('submit', function(ev) {
    fsmUser.setState('offline');
    var $form = $(this), data = $form.getFormData();
    $btn_login.xToggleLoading('登录中...');
    ev.preventDefault();

    client.get('/', {}, {}, function() {
    client.get('/createsession_a.asp', {}, {}, function() {
    client.get('/createsession_b.asp', {}, {}, function() {
    client.get('/rndnum.asp', {}, {}, function() {
    client.cookie['LogonNumber'] = '';
    client.post('/logon.asp', data, {
    'Referer': 'http://jwc.wyu.edu.cn/student/body.htm'
    }, function(err, res, body){
    var success = /welcome/.test(body);
    if (success) {
    $btn_login.xToggleLoading('资料解析中...');
    // 加载资料
    var toLoad = [{
    name: 'profile',
    url: '/f1.asp'
    }, {
    name: 'courses',
    url: '/f3.asp'
    }, {
    name: 'scores',
    url: '/f4_myscore11.asp'
    }], numLoaded = 0;
    _.each(toLoad, function(val) {
    client.get(val.url, {}, {
    'Referer': 'http://jwc.wyu.edu.cn/student/menu.asp'
    }, function(err, res, body) {
    try {
    global[val.name] = parsers[val.name](body);
    console.log('got '+ val.name);

    numLoaded ++;
    if (numLoaded === toLoad.length) {
    fsmUser.setState('online');
    }
    } catch (err) {
    alert('资料加载失败');
    $btn_login.xToggleLoading(false);
    }
    });
    });
    } else {
    alert('登录信息错误');
    $btn_login.xToggleLoading(false);
    }
    });
    });
    });
    });
    });
    return false;
    });

    抓校园网的一段登录 javascript回调地狱
    出处:以前的项目 https://github.com/h5lium/xstu/blob/master/pages%2Flogin.html
    luzjoy
    luzjoy
    Aug 4, 2015
    82
    var goodsId = $("#GoodsStart").val();
    var depotId = $("DepotId").val();
    Search(startPaperTime, endPaperTime, stockOtherInType, storeId, departmentId, salesmanId, goodsId, depotId);

    找错找了很久,
    riverphoenix
    riverphoenix
    Aug 4, 2015
    83
    rm -rf /
    BraveRBT
    BraveRBT
    Aug 4, 2015
    84
    from BaseHTTPServer import *
    import urllib2
    import random
    class MyHTTPHandler(BaseHTTPRequestHandler):
    def do_GET(self):
    path=self.path
    path=path[path.find('id=')+3:] #这段下标从第四位开始 不过有意义么?
    #proxy_support = urllib2.ProxyHandler({"http":"http://127.0.0.1:8087"}) 现在没有使用GAE 所以不需要 想用一下http的代理
    proxy_list = ["39.178.145.101:8123","183.219.248.18:8123"] #然而他们都用不了 好像....
    proxy_support = urllib2.ProxyHandler({"http":random.choice(proxy_list)}) #所以这段代码并没有什么用....
    #proxy_support = urllib2.ProxyHandler()
    opener = urllib2.build_opener(proxy_support)
    urllib2.install_opener(opener)
    Felldeadbird
    Felldeadbird
    Aug 4, 2015
    85
    $a = 0;
    ...大概很多行后

    $result = $a/$b;
    if($result > 0){

    }else{
    //为什么总是跑到else? 明明不应该。为什么$a是0的? 找了好久,原来上面不知道谁定义了 0....
    }
    loolac
    loolac
    Aug 4, 2015
    86
    if True:
    ... ...
    ... ...
    else:
    ... ...
    ... ...
    megabits
    megabits
    Aug 4, 2015
    87
    楼上都不用跟我比了http://yunpan.cn/cdjTQaVyLZh8k (提取码:136d) 各种case外加VB写的和存360云盘,谁能比这段更蠢
    FXY
    FXY
    Aug 4, 2015 via Android
    88
    End
    messagebus
    messagebus
    Aug 4, 2015
    89
    var sql = mysql.format('select count(1) as count,\'t1\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline > ?) t1 where t1.type=\'cmic01\' union select count(1) as count,\'t2\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline > ?) t1 where t1.type=\'cmic02\' union select count(1) as count,\'t3\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline > ?) t1 where t1.type=\'cmic03\' union select count(1) as count,\'t3\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline > ?) t1 where t1.type=\'cmic04\' ', [getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 43200, getTimestamp() - 86400]);
    sql += mysql.format(' union select count(1) as count,\'t4\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ? and lastonline > ?) t1 where t1.type=\'cmic01\' union select count(1) as count,\'t5\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ? and lastonline > ?) t1 where t1.type=\'cmic02\' union select count(1) as count,\'t6\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ? and lastonline > ?) t1 where t1.type=\'cmic03\' union select count(1) as count,\'t6\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ? and lastonline > ?) t1 where t1.type=\'cmic04\' ', [getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 86400 * 7]);

    sql += mysql.format(' union select count(1) as count,\'t7\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ?) t1 where t1.type=\'cmic01\' union select count(1) as count,\'t8\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ?) t1 where t1.type=\'cmic02\' union select count(1) as count,\'t9\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ?) t1 where t1.type=\'cmic03\' union select count(1) as count,\'t9\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ?) t1 where t1.type=\'cmic04\'', [getTimestamp() - 43200, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400 * 7]);

    sql += mysql.format(' union select count(1) as count,\'t10\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and updatedat < ?) t1 where t1.type=\'cmic01\' union select count(1) as count,\'t11\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and updatedat < ?) t1 where t1.type=\'cmic02\' union select count(1) as count,\'t12\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and updatedat < ?) t1 where t1.type=\'cmic03\' union select count(1) as count,\'t12\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and updatedat < ?) t1 where t1.type=\'cmic04\'', [getTimestamp() - 86400, getTimestamp() - 3600, getTimestamp() - 86400, getTimestamp() - 3600, getTimestamp() - 86400, getTimestamp() - 3600, getTimestamp() - 86400, getTimestamp() - 3600]);
    ccccccc
    ccccccc
    Aug 4, 2015
    90
    alias cd=rm -rf
    megabits
    megabits
    Aug 4, 2015
    91
    @megabits 这是我小学时候写的哈
    jedyu
    jedyu
    Aug 4, 2015
    92
    for (i = 0; i < n; i++);
    {
    //balabala
    }
    johnhsm2333
    johnhsm2333
    Aug 4, 2015
    93
    var a = $('.xxx').parent().parent().parent().parent().parent().parent().parent().parent().parent();
    slayerdoomsday
    slayerdoomsday
    Aug 4, 2015
    94
    if($flag == true) return false;
    helloworld1949
    helloworld1949
    Aug 4, 2015
    95
    if(){
    }
    if(){
    }
    if(){
    }
    if(){
    }
    if(){
    }
    ... ...
    if(){
    }
    if(){
    }
    codeyung
    codeyung
    Aug 4, 2015
    96
    for( i = 0 ; i > 100 ; i++ ){
    int count = 0 ;
    //do something
    count++;
    }

    初学变成时候犯的sb = =已发
    yjgoo
    yjgoo
    Aug 4, 2015
    97
    function(){
    succ(function(){
    succ(function(){
    ....function(){
    dosmthing();
    }
    })
    })
    }
    owlsec
    owlsec
    Aug 4, 2015
    98
    printf("helloworld");<----中文的分号!!!!!
    wbsdty331
    wbsdty331
    Aug 4, 2015
    99
    Visual Basic 6下面,比较大小
    If a > b then
    Print "A<B"
    else
    Print "A>B"
    End If
    当时写一个比较大小的东西,执行起来怎么也不对劲,后来一看才是....
    kemikemian
    kemikemian
    Aug 4, 2015
    100
    if($a == null){
    //balabala
    }
    1  2  3  4  5  
    ❮ ❯
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   520 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 273ms · UTC 20:08 · PVG 04:08 · LAX 12:08 · JFK 15:08
    ♥ Do have faith in what you're doing.