V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
josephok
V2EX  ›  程序员

编程名言

  •  2
     
  •   josephok · 2014-06-27 23:03:24 +08:00 · 5792 次点击
    这是一个创建于 3831 天前的主题,其中的信息可能已经有所发展或是发生改变。
    大家都来贴贴“编程名言”或“编程语录”。吐槽也行。

    我先贴一个:
    程序必须是为了给人看而写,给机器去执行只是附带任务。
    42 条回复    2014-07-01 00:58:31 +08:00
    cbsw
        1
    cbsw  
       2014-06-27 23:09:22 +08:00   ❤️ 3
    Talk is cheap, show me the code
    Shengongwan
        2
    Shengongwan  
       2014-06-27 23:49:13 +08:00
    人生苦短,我用茹比。
    dongbeta
        3
    dongbeta  
       2014-06-27 23:56:44 +08:00   ❤️ 5
    PHP 是世界上最好的语言。

    就差一个程序员了!

    报酬不多,但是有些土特产。

    贴完发票就完事了?
    hooluupog
        4
    hooluupog  
       2014-06-27 23:58:52 +08:00
    When in doubt,use brute force. —— Ken Thompson
    winnie2012
        5
    winnie2012  
       2014-06-28 00:06:08 +08:00   ❤️ 1
    写得越多,错的越多。
    思考越多,进度越拖。
    人生苦短,我做老板。
    slixurd
        6
    slixurd  
       2014-06-28 00:15:13 +08:00
    Eating your own dog food
    ffffwh
        7
    ffffwh  
       2014-06-28 00:21:44 +08:00   ❤️ 2
    ``I think that it's extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot of fun. Of course, the paying customers got shafted every now and then, and after a while we began to take their complaints seriously. We began to feel as if we really were responsible for the successful, error-free perfect use of these machines. I don't think we are. I think we're responsible for stretching them, setting them off in new directions, and keeping fun in the house. I hope the field of computer science never loses its sense of fun. Above all, I hope we don't become missionaries. Don't feel as if you're Bible salesmen. The world has too many of those already. What you know about computing other people will learn. Don't feel as if the key to successful computing is only in your hands. What's in your hands, I think and hope, is intelligence: the ability to see the machine as more than when you were first led up to it, that you can make it more.''

    Alan J. Perlis (April 1, 1922--February 7, 1990)
    arzusyume
        8
    arzusyume  
       2014-06-28 00:40:11 +08:00   ❤️ 2
    // I dont know why, but it works
    RIcter
        9
    RIcter  
       2014-06-28 00:56:25 +08:00 via iPad
    @arzusyume 这个赞
    SR1
        10
    SR1  
       2014-06-28 02:46:10 +08:00
    没有银弹。
    jiang42
        11
    jiang42  
       2014-06-28 03:44:54 +08:00
    programming is our way of encoding thought such that the computer can help us with is.
    jiang42
        12
    jiang42  
       2014-06-28 03:45:23 +08:00
    @Shengongwan 我不服!
    人生苦短,我用python
    jiang42
        13
    jiang42  
       2014-06-28 03:46:24 +08:00
    programming is our way of encoding thought such that the computer can help us with it.

    更正一下,之前手滑打错了。
    roychan
        14
    roychan  
       2014-06-28 07:58:00 +08:00
    I, Linus, created Linux, and fuck you.
    cctvsmg
        15
    cctvsmg  
       2014-06-28 08:47:40 +08:00   ❤️ 1
    在我机器上运行好好的啊
    senghoo
        16
    senghoo  
       2014-06-28 08:54:09 +08:00 via iPad
    After three days without programming life becomes meaningless.
    倘若三天不编程,生活将变的毫无疑义。
    ----摘自编程之道。
    Heavytiger
        17
    Heavytiger  
       2014-06-28 09:13:38 +08:00 via iPhone
    @arzusyume 同感
    dongbeta
        18
    dongbeta  
       2014-06-28 09:14:03 +08:00
    @jiang42
    @Shengongwan

    人生苦短,我用茹比。
    sdjl
        19
    sdjl  
       2014-06-28 10:27:43 +08:00
    don't repeat yourself 比 keep it simple stupid 更重要
    sennes
        20
    sennes  
       2014-06-28 10:53:57 +08:00
    > import this
    RelativeLayout
        21
    RelativeLayout  
       2014-06-28 11:08:09 +08:00
    $
    hahastudio
        22
    hahastudio  
       2014-06-28 11:18:57 +08:00
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
    josephok
        23
    josephok  
    OP
       2014-06-28 11:58:55 +08:00
    用代码行数来衡量程序的开发进度,就好比用重量来衡量飞机的制造进度。—— 比尔·盖茨
    chshouyu
        24
    chshouyu  
       2014-06-28 13:12:18 +08:00
    喝最烈的酒,艹最爱的人。 ----莎士比亚
    manfay
        25
    manfay  
       2014-06-28 13:21:45 +08:00
    The only way to learn a new programming language is by writing programs in it. The first program to write is the same for all languages: Print the words Hello, world!

    -- K&R
    puncsky
        26
    puncsky  
       2014-06-28 15:43:00 +08:00   ❤️ 1
    Alan Perlis : Epigrams in Programming

    http://www.cs.yale.edu/homes/perlis-alan/quotes.html
    loryyang
        27
    loryyang  
       2014-06-28 17:13:09 +08:00   ❤️ 1
    talk is cheep, show me the code!
    倒不是说绝对要这样,只是看不惯那些只知道扯淡的人,想法很多,没几个靠谱的
    akn8
        28
    akn8  
       2014-06-28 18:35:39 +08:00   ❤️ 2
    小明卡里只有8毛钱,本来想打个6毛的饭结果不小心按了9毛的,哪知机器忽然疯狂地喷出255两饭,被喷得满脸热饭的小明大叫“烫烫烫烫烫烫。。。”
    sunocean
        29
    sunocean  
       2014-06-28 19:07:44 +08:00
    @akn8 噗,笑抽了
    jokester
        30
    jokester  
       2014-06-28 20:22:10 +08:00
    @chshouyu 喝最烈的酒 吃最辣的菜 --- 古龙
    abscon
        31
    abscon  
       2014-06-28 21:34:41 +08:00 via Android
    @akn8
    这个不要太赞。255两饭,可以“屯屯屯屯屯屯”了。
    ^_^
    akn8
        32
    akn8  
       2014-06-28 21:43:58 +08:00
    @abscon 对,将堆内存填成0xcd
    abscon
        33
    abscon  
       2014-06-28 21:46:45 +08:00 via Android
    @akn8 握手
    piglei
        34
    piglei  
       2014-06-28 21:49:07 +08:00
    There are only two hard things in Computer Science: cache invalidation and naming things.
    ffffwh
        35
    ffffwh  
       2014-06-28 21:55:44 +08:00
    @loryyang
    你没觉得重复被发明的轮子很多么?
    Mac
        36
    Mac  
       2014-06-29 00:50:00 +08:00 via Android
    hello world,hi bitch!
    dennyzhang
        37
    dennyzhang  
       2014-06-29 05:49:49 +08:00   ❤️ 1
    - If a new user has a problem, it's a bug in the code or the documentation. End of story.
    - 注释的目的是为了弥补代码自身在表达上的不足。
    - 挑项目绝对是程序员职业发展第一准则
    - 信息量等于不确定性的多少
    - 调试前先思考是最好的调试方法
    - Debugging is twice as hard as writing the code in the first place.
    - 90% of the code is written by 10% of the programmers
    - It doesn't matter if you use Ruby, Erlang, Haskel, Lisp or C. if you poorly implement a system, no programming language will make up for it.
    - Avoid general TOI-style questions
    - 缓存的本质是: 在能够预测未来使用的前提下, 预先存储一些处理结果提供快速访问, 从而做到用空间换时间或缓解瓶颈
    - Emacs made me realize anything can be changed by a programmer
    - TDD force us to think how the code is going to be used.
    - Talk is cheap, show me the code: Win arguments with code.
    - Let it crash, only fix the errors you know how to fix
    - 工具比框架更容易被接受
    - 相比成本控制, 业务创新更重要
    - Done is better than perfect.
    - Ugly, I know. But it works
    - Architecture represents the significant design decisions that shape a system
    - 世界上最真情的相依, 是你在try我在catch。无论你发神马脾气, 我都默默承受, 静静处理。到那时, 再来期待我们的finally -- 我是程序员
    - 世界上最痴心的等待, 是我当case你是switch, 或许永远都选不上自己 -- 我是程序员
    - 世界上最遥远的距离, 是我在if里你在else里, 似乎一直相伴又永远分离 -- 我是程序员
    - 需要对核心细节进行深入了解
    - 知识技能的提升还是得靠不断地尝试折腾, 在烦和累中发现有趣和酷, 成就感
    - Don't make wrong decision and do it in a wrong way, due to schedule pressure
    - Don't attend meeting without preparation!
    - 如果一个系统或者一个模块设计时没有想好怎么测试, 说明设计做得还不够
    - 一个只有学计算机的孩纸才明白的冷笑话:烫烫烫烫烫烫烫烫烫烫烫, 屯屯屯屯屯屯屯屯屯屯屯屯屯
    - 《程序员的雨巷》开着emacs, 独自编写着悠长、悠长又无聊的ErLang, 我希望编译出来的结果是一个美丽的姑娘。她是有lua一样的风骚, c一样的贤惠, lisp一样的慈祥, 与我在ubuntu里牵手, 拥抱又疯狂;梦醒, 她仅仅是这无聊的ErLang
    - 如何实现可维护的软件是高级工程师的价值所在
    - Culture is an important reason as to why people gravitate to one tool or another
    - 领导总让人一声叹息. 总裁:“我们不需要两台服务器”. 我:“可是我们需要双机备份” 总裁:“两台服务器是为失败者准备的,优秀的团队绝对不允许任何一台服务器出问题” 我:“唉…”
    jdqingm
        38
    jdqingm  
       2014-06-29 05:56:45 +08:00 via iPhone
    @akn8 请问这个255有什么涵义吗?
    akn8
        39
    akn8  
       2014-06-29 07:24:00 +08:00 via Android   ❤️ 1
    @jdqingm 255是二进制的11111111,其实这个梗是就是说溢出了
    Email
        40
    Email  
       2014-06-29 22:46:04 +08:00
    一看就懂,一做就错
    semicircle21
        41
    semicircle21  
       2014-06-30 11:10:07 +08:00
    @akn8 已笑抽...
    wangleineo
        42
    wangleineo  
       2014-07-01 00:58:31 +08:00
    Premature optimization is the root of all evil.
    Keep it simple, stupid.
    Don't Repeat yourself.
    Overcome 'Not invented here' syndrome (or, never reinvent the wheels).
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   983 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:34 · PVG 02:34 · LAX 10:34 · JFK 13:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.