What are some of the most basic things every programmer should know?

来源自Quora:What are some of the most basic things every programmer should know?

  • Bad architecture causes more problems than bad code.
    相较于糟糕的代码,糟糕的架构会导致更多的问题

  • You will spend more time thinking than coding.
    思考的时间应大于编码的时间

  • The best programmers are always building things.
    优秀的程序员会制作工具

  • There’s always a better way.
    总是会有更好的实现方式

  • Code reviews by your peers will make all of you better.
    让你的同事一起代码评审会使你变得优秀

  • Fewer features for better code is always the right answer in the end.
    减少特性以获得更好的代码始终是正确的答案

  • If it’s not tested, it doesn’t work.
    代码上线前必须测试

  • Don’t reinvent the wheel, library code is there to help.
    不要重复造轮子,代码库是很有帮助的

  • Code that’s hard to understand is hard to maintain.
    难以理解的代码是难以维护地(可读性的重要)

  • Code that’s hard to maintain is next to useless.
    难以维护的代码是几乎没用的(同上)

  • Always know how your business makes money, that determines who gets paid what.
    要知道你的公司怎样赚钱,因为这决定你能获得多少薪水

  • If you want to feel important as a software developer, work at a tech company.
    如果你想成为一个被觉得很重要的软件开发工程师,那么你就要去技术型公司

猜你喜欢

转载自blog.csdn.net/zhzh980/article/details/129308363