큰 들여쓰기 논쟁: 탭 vs. 스페이스

곰튀김.실험실·2023년 11월 10일
0

Developer Fiction

목록 보기
8/49

실리콘 밸리의 심장부에서 새로운 종류의 항의가 형성되고 있다. 명성 높은 기술 거인들부터 신생 스타트업에 이르기까지 엔지니어와 개발자들이 주식 옵션이나 코딩 언어가 아닌, 오래된 들여쓰기 논쟁에 대해 거리로 나서고 있다: 탭이냐 스페이스냐?

"탭" 파벌은 수평 화살표가 새겨진 티셔츠를 입고 탭이 더 접근하기 쉬운 코드베이스를 만들어 개별 개발자들이 자신의 들여쓰기 너비를 설정할 수 있는 자유를 준다고 주장한다. "선택에 관한 것이다,"라고 TabInitiative의 개발자는 말한다. "나의 선택은 네 키 대신 하나를 누르는 것이다."

이에 맞서는 "스페이스" 진영은 점이 표시된 셔츠를 입고 스페이스가 궁극적인 통일성을 제공하여 어떤 기계에서든 코드가 동일하게 보이도록 한다고 반박한다. "일관성이 핵심이다,"라고 SpaceForAll의 옹호자는 말한다. "그리고 누가 탭-스페이스 혼합의 위험을 감수하고 싶겠는가?"

논쟁이 계속되는 가운데, 프로그래밍 커뮤니티는 #IndentationWars라는 이름으로 그들의 불만을 소셜 미디어에 토로하고 있다. 고대 스크롤에 "원본 코드"라고 라벨을 붙인 유머러스한 이미지가 공간으로만 쓰여진 채로 순환하고 있다.

비기술 인구조차도 웃음을 자아내고 있다. 현지 커피숍들은 "탭"과 "스페이스" 테마의 음료를 제공하기 시작했다; 전자는 한 번에 카페인 히트를 선호하는 이들을 위한 강한 에스프레소 샷이고, 후자는 정밀함을 감상하는 이들을 위한 세심하게 측정된 네 샷 라테이다.

이 가벼운 혼돈의 한가운데에서, 산업 리더들은 포괄적인 새로운 코딩 표준을 제안하며 휴전을 제안했다: "왜 둘 다 안 되는가?" 하지만 현재로서는 모래(아니면 코드 편집기라고 해야 할까)에 선이 그어져 있고, 들여쓰기 우위를 위한 싸움이 계속된다.

이 중대한 문제에 해결책이 있을까? 시간과 아마도, 다음 코딩 스타일 가이드 업데이트가 말해줄 것이다.


The Great Indentation Debate: Tabs vs. Spaces

In the heart of Silicon Valley, a new kind of protest is taking shape. Engineers and developers from prestigious tech giants to budding startups are taking to the streets, not over stock options or coding languages, but over the age-old debate of indentation: tabs or spaces?

The "Tab" faction, sporting T-shirts emblazoned with horizontal arrows, argues that tabs create a more accessible codebase, allowing individual developers the freedom to set their own indentation width. "It's about choice," says a developer from TabInitiative, "and my choice is to press one key instead of four."

Across the divide, the "Space" camp, identified by their shirts marked with dots, counters that spaces provide the ultimate uniformity, ensuring that code looks the same on any machine. "Consistency is key," retorts a SpaceForAll advocate, "and besides, who wants to risk a tab-space mix-up?"

As the debate rages on, the programming community has taken to social media to air their grievances in what is being dubbed the #IndentationWars. Memes are circulating, with one depicting an ancient scroll labeled "The Original Code," humorously inscribed entirely with spaces.

Even the non-tech populace is getting a chuckle. Local coffee shops have begun offering "Tab" and "Space" themed drinks; the former, a single strong espresso shot for those who prefer their caffeine hit in one go, and the latter, a meticulously measured four-shot latte for those who savor precision.

In the midst of this light-hearted chaos, industry leaders have proposed a truce, suggesting an inclusive new coding standard: "Why not both?" But for now, the lines are drawn in the sand (or should we say, the code editor), and the battle for indentation supremacy continues.

Will there be a resolution to this pressing issue? Only time and perhaps, the next update of the coding style guide, will tell.

profile
개발자, 엔지니어를 위한 유머

0개의 댓글