본 페이지는 HACKER NEW의 TOP CONTIRBUTOR

Ed Weissman의 기고문을 바탕으로 작성되었습니다.

출처 : The Best of edw519



# 막장해석

50. 나의 업무 가이드라인

1. 해결책과 함께 시작하고 다시 일한다.

2. 변수는 그것들이 무엇인지 알도록 이름짓는다.

3. 함수는 그것들이 무엇을 하는지 알도록 이름짓는다.

4. 동일한 라인의 코드를 2번이상 절대 쓰지말고 함수를 써라.

5. 고객은 그들이 원하는게 뭔지 모른다고 가정해라.

6. 만약 고객이 그들이 뭘 원하는지 안다고 해도, 말로 설명할수 없다고 가정해라.

7. 고객들은 그들이 싫어하는것이 뭔지 알고있다. 프로토타입을 자주해라.

8. 이해할수 있을떄까지 함수를 타고 들어갈 준비를 해라.

9. 하던일이 막히면 컴퓨터를 꺼라.

10. 막힌것에 대한 정확한 해결책을 가질때까지 컴퓨터를 키지말라.

11. 아름다운 코드는 중요한데, 그보다 납기일 지키는게 더 중요하다.

12. 어떤 변수는 완전히 다른 변수에 포함되면 안된다. (? 이해가 안됨...)

13. 모든 변수는 3단어 이하여야 한다. (test_code_example)

14. 정확한 일을 위해서 올바른 툴을 써라.

15. 거의 모든 툴(언어(?))을 가지고 업무를 할 수 있다. 다른 툴이 더 나을 수도 있다.

16. 발생했던 문제들에 대해서 깊이 배우기 위해 자주 밴치마킹해라

17. 한번도 안해봤던걸 시도해봐라, 생각보다 쉽다.

18. 당신이 이전에 사용했던 'pattern'들을 기억해둬라. 나중에 다시 사용하게 될테니.

19. 일단은 가장 간결하게 구현하도록 해라. 복잡하게 하지말고.

20. 맨날 코딩해라. 



# 원문

50. My Working Guidelines

1. Start with the answer, then work back.

2. Name your variables so that anyone will know what they are.

3. Name your functions so that anyone will know what they do.

4. Never write the same line of code twice. Use functions.

5. Assume the user doesn't know what they want.

6. Even if the user knows what they want, assume they can't verbalize it.

7. The user always knows what they don't like. Prototype often.

8. Be prepared to dig down as many levels of detail as needed to understand.

9. When you're stuck, turn off your computer.

10. Don't turn your computer on until you have a specific task.

11. Beauty is important, but delivery is more important.

12. No variable should be fully contained within another variable.

13. All variables should be at least 3 characters long.

14. Use the right tool for the right job.

15. Almost any tool can do the job. Some are better than others.

16. Benchmark often in order to learn what happens under the hood.

17. Try something that's never been done. It may be easier than you thought.

18. Remember the patterns you've used before. You'll use them again.

19. Keep it extremely simple at first. Complexify as you go.

20. Code every day.


반응형

+ Recent posts