헤더 가드를 사용해서 동일한 헤더가 여러번 include 되는 것을 피해야 한다. C++ 사용자라면 모두가 알만한 내용이지만, 몇가지 유의사항과 함께 소개하고 있다.
Make sure that the robot itself is navigation ready.
원문: https://google.github.io/styleguide/cppguide.html#Inline_Functions
최근 C++이 조금은 익숙해졌다. 전에는 보기만 해도 숨이 턱 막히는 코드도 많았는데 요즘엔 커피 한잔만 있으면 느긋하게 리뷰해볼 수 있게 된 것 같다. 오래된 코드와 그렇지 않은 코드를 대강 구분할 수 있고, 어지간한…
미디움 플랫폼으로 블로그 쓰기를 시작했는데, 미디움에서는 Code 작성을 위해 MarkDown을 지원해준다. ``` ( ` 키 세번) 을 누르면 Markdown 입력을 위한 창이…
```
`
팩토리 패턴 (Factory Pattern)은 객체를 생성하는 일을 전담하는 인터페이스 기법이다. 유연성과 확장성을 가져다 주니 잘 익혀두자.