Skip to Content
이펙티브 러스트
book

이펙티브 러스트

by 데이비드 드라이스데일, 남기혁
October 2024
Beginner to intermediate
344 pages
7h 44m
Korean
Hanbit Media, Inc.
Content preview from 이펙티브 러스트
291
5
도구 활용
Copy
타입에 대한
Clone
은 일치해야 한다.
아이템
18
에서 조언한 것처럼
panic!
,
expect
와 같은 메서드를 남용하는지 검사한다.
크레이트를 와일드카드 방식으로 불러오는 것은 바람직하지 않다는 아이템
21
의 조언을 따르고 있는지
검사한다.
와일드카드 형태의 임포트 문을 쓰지 말라는 아이템
23
의 조언을 따르고 있는지도 검사한다.
아이템
24
아이템
25
에서 의존성 그래프에 동일한 크레이트가 다양한 버전으로 여러 개 존재할 수 있
다고 설명한 적 있다. 클리피는 이런 부분을 발견하면 경고하도록 설정할 수 있다.
아이템
26
에서 설명한 카고의 가산적
additive
특성과 관련해, 클리피는 ‘부정적인’ 피처 이름 (예:
"no_
std"
)을 발견하면 경고한다.
아이템
26
에서 크레이트의 선택적 의존성이 피처 집합에 포함된다고 설명했는데, 클리피는 이를 대체할
명시적 피처 이름 (예:
"use-crate-x"
)을 발견하면 경고한다.
아이템
27
에서 설명한 문서화 주석 관례와 관련해 클리피는 다음과 같은 경우를 발견하면 경고한다.
panic
!
에 대한 설명 누락
unsafe
위험에 대한 설명 누락
클리피가 검사하는 항목은 매우 많다. 클리피 경고 목록(
https
://
oreil
.
ly
/
Nt5zE ...
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

이펙티브 타입스크립트

이펙티브 타입스크립트

Dan Vanderkam
파이썬으로 살펴보는 아키텍처 패턴

파이썬으로 살펴보는 아키텍처 패턴

오현석, 해리 퍼시벌, 밥 그레고리

Publisher Resources

ISBN: 9791169212946