본문 바로가기
카테고리 없음

[짧은 생각] 퀄리티 vs 속도

by LucetTin5 2024. 11. 23.

퀄리티와 속도 중 어느 한쪽을 선택하는 논의는 흔하지만, 양쪽을 모두 가져가는 것이 가장 이상적이다.


다만 상황에 따라 우선순위는 달라질 수 있다.

 

프로덕트의 초기 검증이 필요하다면 속도를 우선하는 것이 합리적이다. 반대로 유지보수성과 확장성을 고려해야 하는 상황이라면 퀄리티에 집중해, 읽기 쉽고 검증하기 쉬운 코드를 작성해야 한다.

또한 프로그램 로직을 잘 설계하는 것만큼 중요한 것은 팀 규칙에 맞춰 일정한 코드 품질을 유지하는 것이다. 이를 위해 코드 퀄리티를 체크하는 서비스와 툴들을 적극 활용할 수 있다.
기본적인 ESLint와 Prettier는 물론, 필요에 따라 react-scan, million, biome, trunk와 같은 도구를 추가적으로 적용해 팀의 룰을 강화하고 일관된 코드 구조를 유지할 수 있다.

결국 중요한 건 상황에 맞는 선택과, 이를 보완할 수 있는 기술과 도구를 활용하는 균형 잡힌 접근이 아닐까?

 

https://million.dev/

 

Million

Ready for a speed up? Start building with a free account. Speak to an expert for your Enterprise needs.

million.dev

https://react-scan.million.dev/

 

React Scan

React Scan automatically detects and highlights components that cause performance issues in your React app. Drop it in anywhere – script tag, npm, you name it!

react-scan.million.dev

https://biomejs.dev/

 

Biome

Format, lint, and more in a fraction of a second.

biomejs.dev

https://trunk.io/code-quality

 

Trunk Code Quality: Automated code quality for teams

Multi-language local tool and web app to level up code quality, consistency, and security over time.

trunk.io