• 请不要在回答技术问题时复制粘贴 AI 生成的内容
abcyuxue123
V2EX  ›  程序员

想了一个程序员能 get 的笑话

  •  1
     
  •   abcyuxue123 ·
    KrisYu · Jun 3, 2018 · 12698 views
    This topic created in 3091 days ago, the information mentioned may be changed or developed.
    • 你想吃什么糖?
    • 语法糖( syntactic sugar)

    ========

    赠送一个老段子:

    世界上有两种人

    void function() {
    }
    

    和

    void function 
    {
    }
    
    Supplement 1  ·  Jun 3, 2018

    原来少写了括号|||

    void function()
    {
    }
    
    90 replies  •  2018-06-05 18:01:06 +08:00
    owenliang
    owenliang
    Jun 3, 2018 via Android
    1
    你的段子太无聊。
    zitengdu
    zitengdu
    Jun 3, 2018❤️12
    2
    git commit -m "fix"
    richzhu
    richzhu
    Jun 3, 2018 via iPhone
    3
    我…… 我真的笑了,可能是因为我太土吧
    cs923
    cs923
    Jun 3, 2018 via Android
    4
    第二个没 get 到😄
    NotFamous
    NotFamous
    Jun 3, 2018 via iPhone
    5
    第二个的第二种是不是漏了对括号呀……
    wonpain
    wonpain
    Jun 3, 2018❤️3
    6
    烫烫烫
    hackshen
    hackshen
    Jun 3, 2018❤️4
    7
    git commit -m "update"
    Norie
    Norie
    Jun 3, 2018 via iPhone
    8
    有洞和没洞?
    chonerlee
    chonerlee
    Jun 3, 2018❤️5
    9
    锟斤拷
    misaka19000
    misaka19000
    Jun 3, 2018 via Android❤️4
    10
    世界上有 10 种人
    laudukang
    laudukang
    Jun 3, 2018❤️10
    11
    keyboard not found press f1 to continue
    kamen
    kamen
    Jun 3, 2018
    12
    世界上有两种程序员
    一种用 a b c d
    一种用 foo bar
    iAcn
    iAcn
    Jun 3, 2018 via Android❤️9
    13
    True,Ture
    False,Flase
    AX5N
    AX5N
    Jun 3, 2018
    14
    没见过比这个还烂的笑话了,“语法糖” 3 个字就中了 1 个字。
    WWd0g
    WWd0g
    Jun 3, 2018
    15
    上次听到这个笑话,我还在小学国旗下讲话呢~~~
    abcyuxue123
    abcyuxue123
    OP
    Jun 3, 2018
    16
    @cs923 @NotFamous 就是每次用大括号换行和不换行的区别

    @laudukang 这个也蛮好笑的
    xifangczy
    xifangczy
    Jun 3, 2018❤️9
    17
    想起一个
    怎么生成随机字符?让新手退出 VIM
    cs923
    cs923
    Jun 3, 2018
    18
    @abcyuxue123 #16 怪不得 get 不到 我手机端显示的两个都没换行 而且第二个还少个括号 还以为梗在这里呢
    leobuqi
    leobuqi
    Jun 3, 2018 via iPhone
    19
    尬(; ̄ェ ̄)
    kamen
    kamen
    Jun 3, 2018
    20
    @iAcn #13 没有 IDE 提示我根本意识不到我打错了
    janxin
    janxin
    Jun 3, 2018❤️1
    21
    如何出去?
    :q!
    int11
    int11
    Jun 3, 2018
    22
    这道菜咱别点了吧?
    好的!








    //糖醋排骨
    hjdtl
    hjdtl
    Jun 3, 2018
    23
    锟斤拷
    woscaizi
    woscaizi
    Jun 3, 2018 via iPhone
    24
    帮我做个网站吧,很简单,和淘宝一样就行。
    nfroot
    nfroot
    Jun 3, 2018 via Android
    25
    @int11
    --糖醋排骨
    #糖醋排骨
    ;糖醋排骨

    都说了不要了还打什么注释
    liyoubin37
    liyoubin37
    Jun 3, 2018 via Android
    26
    第二个少了括号,看了跟贴才发现梗在大括号换行处。不过我的感觉大部分微软系的有换行习惯?
    NotFamous
    NotFamous
    Jun 3, 2018❤️1
    27
    @abcyuxue123 我是说缺了传参用的小括号哈
    abcyuxue123
    abcyuxue123
    OP
    Jun 3, 2018
    28
    @NotFamous 对||| sb 了。。。哈哈哈
    icyalala
    icyalala
    Jun 3, 2018
    29
    好冷。。。
    让我想到了喜欢一本正经讲冷笑话的阿笠博士。。。
    1010011010
    1010011010
    Jun 3, 2018
    30
    又到了最爱的烫 jio 姐环节
    烫烫烫烫烫烫染
    whoami9894
    whoami9894
    Jun 3, 2018 via Android
    32
    @kamen
    还有第三种
    hanshu1 hanshu2 hanshu3
    dingyaguang117
    dingyaguang117
    Jun 3, 2018❤️1
    33
    蒸蒸日上烫烫烫
    年年有余屯屯屯

    锟斤拷
    hahastudio
    hahastudio
    Jun 3, 2018
    34
    405 Method not allowed
    你该用 POST
    pynix
    pynix
    Jun 3, 2018
    35
    git commit -m "update"
    Patrick95
    Patrick95
    Jun 4, 2018❤️1
    36
    // 大家能看到我说什么么?
    1stlulu
    1stlulu
    Jun 4, 2018
    37
    git rebase -i HEAD~2
    KasaneTeto
    KasaneTeto
    Jun 4, 2018 via Android
    38
    大家好,我的 id 是‘ 1=1 OR drop table user;
    dixeran
    dixeran
    Jun 4, 2018 via Android
    39
    有没有人解释下 git commit 的梗 0.0
    zhujinliang
    zhujinliang
    Jun 4, 2018 via iPhone
    40
    “你出门买两个包子,如果看见卖西瓜的,买一个”
    程序员买回来一个包子,问他为什么只买了一个
    他说看见卖西瓜的了
    easylee
    easylee
    Jun 4, 2018 via Android
    41
    @Patrick95 这个好冷。
    siyemiaokube
    siyemiaokube
    Jun 4, 2018 via iPhone❤️2
    42
    世界上有 10 种人:
    一种知道二进制
    一种不知道二进制
    最后一种以为这是个二进制笑话
    SingeeKing
    SingeeKing
    Jun 4, 2018 via iPhone❤️1
    43
    @dixeran commit 的内容应该写修改了什么啊… 写一个 fix 或者 update 算什么
    eccstartup
    eccstartup
    Jun 4, 2018 via iPhone
    44
    想一个程序员能 post 的笑话
    elikoi17
    elikoi17
    Jun 4, 2018 via Android
    45
    @zhujinliang 这个太冷了
    ericls
    ericls
    Jun 4, 2018 via iPhone❤️1
    46
    手拿一根锟斤拷
    大喊三声烫烫烫
    ReinWD
    ReinWD
    Jun 4, 2018
    47
    @eccstartup 结合标题这个笑到了
    Yvette
    Yvette
    Jun 4, 2018
    48
    小心得分号癌~
    IMuMa3
    IMuMa3
    Jun 4, 2018
    49
    我正在吃糖
    ReZer0
    ReZer0
    Jun 4, 2018 via Android
    50
    世界上有两种人,一种是 Space,一种是 Tab ……
    MaxTan
    MaxTan
    Jun 4, 2018
    51
    “咚咚咚”
    “谁?”

    过了很久……

    “ Java ”
    9066v
    9066v
    Jun 4, 2018
    52
    @zitengdu git log 全是 fix
    zuriaake
    zuriaake
    Jun 4, 2018
    53
    @ReZer0 看不起用游标卡尺的 Python 用户么(逃
    xiaojunjor
    xiaojunjor
    Jun 4, 2018
    54
    额。。。没必要搞这种程序员才能看懂的笑话吧
    感觉尬的很啊。。。
    bugcat
    bugcat
    Jun 4, 2018
    55
    手持两把锟斤拷,口中疾呼烫烫烫。 脚踏千朵屯屯屯,笑看万物锘锘锘。
    AppxLite
    AppxLite
    Jun 4, 2018
    56
    我可以说看不惯第二种 get 法么?
    repus911
    repus911
    Jun 4, 2018
    57
    还有.. def function():
    chenyixuan
    chenyixuan
    Jun 4, 2018
    58
    @iAcn 我还以为只有我一个人这样= =这是为啥
    chenyu8674
    chenyu8674
    Jun 4, 2018
    59
    手持两把锟斤拷 口中疾呼烫烫烫
    脚踏千朵屯屯屯 笑看万物锘锘锘
    crazyxhz
    crazyxhz
    Jun 4, 2018
    60
    git commit -m "update" 是什么梗,虽然我天天用。。。。
    qce7
    qce7
    Jun 4, 2018❤️1
    61
    你不能对一个程序员说:“你的代码有 bug。”他的第一反应是:“ 1. 你的环境有问题吧; 2. 傻 X 你会用吗。”
    如果你委婉地说:“你这个程序和预期的有点不一致,你看看是不是我的使用方法有问题。”
    他本能地会想:“ X,是不是出 bug 了!”
    lurenw
    lurenw
    Jun 4, 2018
    62
    Q: How do you generate a random string?

    A: Put a Windows user in front of vi, and tell them to exit
    geelaw
    geelaw
    Jun 4, 2018
    63
    @lurenw #62 Most Windows users (and I'm talking about most users), would not be able to generate random string. Instead, they give up as soon as they find they couldn't do anything sensible to quit that thing, and reboots the computer with some hardware button. Those who generate certain length of gibberish are advanced users, and might be able to look up some documentation before they embarrass themselves.
    geelaw
    geelaw
    Jun 4, 2018
    64
    @geelaw *Remove the first comma, change "reboots" to "reboot".
    simple11
    simple11
    Jun 4, 2018
    65
    😂😂😂没 get 到,可以再 post 一下吗?
    royliu
    royliu
    Jun 4, 2018
    66
    git commit -m "update" 看个笑话也中枪。。。
    AV1
    AV1
    Jun 4, 2018
    67
    第一种人:
    var foo = function(){};

    第二种人:
    function foo(){}
    hansnow
    hansnow
    Jun 4, 2018
    68
    feature
    featrue
    southsala
    southsala
    Jun 4, 2018
    69
    第一种是 java 第二种是 c
    yangehappy
    yangehappy
    Jun 4, 2018❤️1
    70
    @dixeran 就是提交日志不够语义化 每次提交都是 fix/update
    yangehappy
    yangehappy
    Jun 4, 2018
    71
    @crazyxhz 后面不加任何具体内容吗
    cherryas
    cherryas
    Jun 4, 2018❤️2
    72
    你想吃什么糖?
    糖( Estradiol valerate)
    DavidNineRoc
    DavidNineRoc
    Jun 4, 2018
    73
    世界上只有两种程序猿,一种是变量名是
    $ 开头,一种是。。。 >_<
    Eugene1024
    Eugene1024
    Jun 4, 2018
    74
    PHP 是世界上最好语言!
    arthas2234
    arthas2234
    Jun 4, 2018
    75
    吃完饭去结账
    “总共 254 元”
    “抹个零吧,给你 256 元”

    “ string 是什么意思”
    “字符串”
    ssdr
    ssdr
    Jun 4, 2018
    76
    两种人不应该是:
    spsp
    和
    spspspsp
    吗?
    hellojl
    hellojl
    Jun 4, 2018
    77
    我在我屏幕左边贴了一排 //,然后我就什么都看不到了
    imkuang
    imkuang
    Jun 4, 2018 via Android
    78
    @xifangczy 这个很 6,当初刚接触 vim 的时候啥也不会,半天退出不了( x_x ;)
    tomato3
    tomato3
    Jun 4, 2018 via Android
    79
    我有一个哥们已经使用 vim 3 个月了,感觉越来越熟练。
    今天,他终于找到退出插入模式的方法了。
    lightening
    lightening
    Jun 4, 2018
    80
    I'd tell you a UDP joke but I'm afraid you won't get it.
    boboliu
    boboliu
    Jun 4, 2018❤️2
    81
    - 你想吃什么糖?
    - 补佳乐
    siyemiaokube
    siyemiaokube
    Jun 4, 2018 via iPhone❤️1
    82
    @boboliu
    @cherryas
    为什么程序员和 trans 要联系在一起啊。。
    Fxdqe
    Fxdqe
    Jun 4, 2018
    83
    - 要成为一个更开放的人哦
    - OK

    #define private public
    xy90321
    xy90321
    Jun 4, 2018
    84
    上个礼拜去应聘一个前台职位
    除了我一个男的以外其他全是打扮的很漂亮的小姐姐
    blacklinux
    blacklinux
    Jun 4, 2018
    85
    >>> getattr(this_joke,'humor')
    Traceback (most recent call last):
    AttributeError: 'this_joke' object has no attribute 'humor'
    XSugar
    XSugar
    Jun 5, 2018 via iPhone
    86
    我是程序员、请问这里是直接笑吗?
    GG668v26Fd55CP5W
    GG668v26Fd55CP5W
    Jun 5, 2018 via iPhone
    87
    get 不到笑点的 V 友,可以试试 post 😄
    rootx
    rootx
    Jun 5, 2018 via iPhone
    88
    winrar_setup.rar
    lkj007
    lkj007
    Jun 5, 2018
    89
    大家笑啊,配合一下啊。哈哈哈哈
    xxpandxxp
    xxpandxxp
    Jun 5, 2018 via Android
    90
    楼主只是抛砖引玉,下面砸出来一堆大佬
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 153ms · UTC 04:35 · PVG 12:35 · LAX 20:35 · JFK 23:35
    ♥ Do have faith in what you're doing.