원문: Thiago Pacheco, "Best practices to write a readable and maintainable code | Choosing meaningful names" 많은 사람들이 소프트웨어 개발자로서 가장 어려운 것 중 하나가 이름 짓기라고 합니다. 동시에 의미있는 이름을 짓는 것은 가장 중요한 일 중 하나라고 할 수 있죠. 이를테면 변수나 함수, 클래스, 그 밖의 모든 것들을 정의하는 것 말입니다. 좋은 사례들과 ...
TL;DR: Naming is hard, don't make it harder with unnecessary accidental complexity. Problems Unclear, misleading, vague, and ambiguous names Redundant terminology Confusing abstractions Cryptic abbreviations Solutions Simplify naming conven...
As you sow, so you reap. Choosing a name for your brand is the first step toward entering the market. Symbols are how names attempt to be unique. Elon Musk referred to his son as an innovative combination of letters and symbols, but did he consider t...
One of the most critical aspects of writing clean and understandable code is the art of naming variables effectively. Proper variable names can significantly enhance code readability and maintainability. However, poorly chosen names can lead to confu...
In the world of programming, there exists a subtle yet crucial aspect that often goes unnoticed by beginners but is revered by seasoned developers - naming conventions. While seemingly mundane, naming conventions play a pivotal role in shaping the re...
Introduction There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton I am sure that you've seen this famous quote in pretty much any article about naming conventions, and this blog post is no except...
In stories, you will often find the motif of a powerful demon that can be controlled only by knowing its true name. Once the hero finds out that name, through cunning dialogue or by investigating ancient tomes, they can turn things around and banish ...
Using the right names is an essential part of writing maintainable code. For a computer, any name will work just fine—they either match or not. For the humans who read the code, the names are the first thing they have in mind as they work on the code...
Quick hint and a reminder for myself: In programming, try not to prefix things with "new". "New" usually doesn't stay new for very long :). It becomes especially problematic when you introduce the new stuff for the 2nd time. At that point, you have a...
Introduction Programmers have come up with concepts like camelCase, snake_case, PascalCase etc. to help make names in the world of tech relatively easy, readable and understandable. These concepts are called naming conventions and all programming lan...