Skip to Content
훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
book

훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우

by 최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
May 2016
Beginner to intermediate
438 pages
8h 46m
Korean
Hanbit Media, Inc.
Content preview from 훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
107
8
장
오류 무시하지 않기
운 메모리를 할당한다. 만약 이들이 작동하지 않는다면 더 큰 문제다).
• 이것은 정말 간단한 프로그램이어서, 상용 수준으로 작성할 필요가 없었다.
• 언어가 나와는 맞지 않는다(예를 들어 얼랭
Erlang
의 철학은 ‘실패하게 두라’이다. 즉, 잘못된 코드는 그냥 실패하도
록 놓아두어 얼랭 프로세스에서 처리하도록 해야 한다는 것이다. 얼랭 시스템은 훌륭하게 설계되어 있어서, 실
패 프로세스를 다루는 데 견고하다. 그렇기에 오류 처리는 큰 문제가 못 된다).
8.4
마치며
이번
8
장은 굉장히 짧았지만, 사실 더 길어질 수도 있는 내용이었다. 하지만 길게 다루는 것이
오히려 오류일 수 있다. 이 장의 요점은 간단하다. 오류를 무시하지 말라.
질문
1
코드가 하위 레벨에 의해 보고된 오류를 무시하지 않았음을 어떻게 확신할 수 있는가? 코드 수준에서의 해결 방
법과 프로세스 수준에서의 기법에 대해 생각해보라.
2
예외는 반환 코드처럼 쉽게 무시할 수 없다. 예외가 오류를 보고하기에 더 안전한 방법이라는 것이 이유가 될 수
있는가?
3
오류와 예외가 섞인 코드를 다룰 때 어떠한 접근 방법이 요구되는가?
4
적절하지 못한 오류 처리로 실패하는 코드를 식별하는 데 어떤 테스트 기법이 도움되는가?
참고
• 언어에 대한 사랑(
29
장) 사용하는 언
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

정원천, 보리스 숄, 트렌트 스완슨, 피터 야우쇼베츠

Publisher Resources

ISBN: 9788968482304