전체 글
-
Building Resilient Frontend Architecture • Monica Lent • GOTO 2019DEV 2021. 8. 20. 18:11
https://www.youtube.com/watch?v=TqfbAXCCVwE 직장 동료가 공유해 준 영상. 요즘에 이런저런 재밌는 링크를 던져줘서 열심히 받아 먹고 있다. 아무튼 아래는 내용 요약! 회복 탄력성이 높은 프론트엔드 아키텍처에 관해 설명한다. 업무를 하면서 코드 재작성이나 마이그레이션은 불가피한 일이다. 처음 프로젝트를 착수할 때는 마냥 재밌기만 하지만 시간이 지나면 기술 부채가 쌓여가고 리팩터링을 하게 된다. 하지만 어찌 된 일인지 기술 부채는 불어나기만 한다. 그렇다면 '좋은' 아키텍처란 무엇인가? 이미 정의가 너무 많은데, 가슴에 손을 얹고 나는 우리 회사의 아키텍처에 대해 잘 알고 있는지 스스로에게 질문해 보자. 자신있게 대답하는 사람이 의외로 별로 없다. 레거시 코드뿐만 아니라 내..
-
apollo-link-restDEV 2021. 8. 17. 22:04
https://www.apollographql.com/docs/react/api/link/apollo-link-rest/ REST Link Call REST APIs inside your GraphQL queries. www.apollographql.com 이번에 맡게 된 웹 애플리케이션에서도 아폴로 클라이언트를 사용한다. 최근에 REST API를 연결해야 해서 방법을 고민하다가 apollo-link-rest라는 좋은 것을 찾게 되었다. 팀 슬랙 채널에 "나 이거 써본다?"라고 들이대고 시도해봤다. 다른 사람이 예전에 작업한 내용을 보니 axios를 사용해 통신했는데, 이미 그 이전에 아폴로 클라이언트로 GraphQL API를 사용하고 있었다. REST API를 여기에 연결하면 괜스레 HTTP 클라이언트..
-
NPM Security Best PracticesDEV/유용한 사이트 2021. 8. 16. 13:22
https://snyk.io/blog/ten-npm-security-best-practices/ 10 npm Security Best Practices | Snyk Concerned about npm vulnerabilities? It is important to take npm security best practices into account for both frontend, and backend developers. Open source snyk.io
-
Random Thoughts about TestingDiary/2021 2021. 7. 30. 15:47
I had an interesting casual chat with a co-worker who has been working as a front-end engineer for more than 10 years. The primary goal was to ask about the effectiveness of unit testing, but other topics were also discussed during the chat. effectiveness vs. efficiency: How are they different from each other? When it comes to effectiveness, it's more about the degree of an impact caused by an a..
-
Computer Programming Languages: Why C Runs So Much Faster Than PythonDEV/Python 2021. 7. 26. 08:51
https://www.huffpost.com/entry/computer-programming-languages-why-c-runs-so-much_b_59af8178e4b0c50640cd632e Computer Programming Languages: Why C Runs So Much Faster Than Python Why is python slower than C? originally appeared on Quora - the place to gain and share knowledge, empowering people to learn from others and better unde... www.huffpost.com 나중에 읽어보기! 답변한 사람은 Apple Core OS Kernel 팀의 테리 램..
-
트레이드오프Diary/2021 2021. 7. 24. 11:37
어제는 어쩌다가 위키피디아 'Codebase' 페이지를 보게 되었다. 페이지의 'Distinct & monolithic codebases' 섹션에는 분산형 저장소와 단일 저장소의 장단점이 나와있다. 코드 베이스의 형태를 결정하는 것처럼, 개발의 전 과정이 트레이드오프를 판단해서 미래의 손실을 최소화하는 방향으로 나아가는 것과 관련된 것이 아닌가 생각한다. 기술 스택을 선택할 때, '위에서 그렇게 결정을 내려서' 그 스택을 쓴다고 대답하는 것이 나는 나쁜 대답이라고 생각하지 않는다. 물론, 결정권자들의 사고방식이 합리적이라는 가정 하에서다. 대세가 되는 기술은 분명 장점도 있고 단점도 있다. 하지만 그 장점이 단점을 다 상쇄하고도 남기 때문에 인기를 얻는 것이 아닐까? 실생활에서 결정을 내려야 할 때도 이..
-
Formatting!DEV/Python 2021. 7. 20. 13:07
유다시티 과제하는데 포맷팅에서 빠꾸를 먹었다. 테스트 코드 다 통과해서 가볍게 넘길 줄 알았는데! ㅋㅋ Always keep in mind that there are a plethora of command-line tools (pycodestyle, pylint) or websites (http://pep8online.com/) to check if the violations aren’t egregious (e.g. long lines, a few style missteps, but mostly clean and well-formatted), PEP8 online check pep8online.com Great job. It’s important that the docstring comments that..