Readable Code - Simple and Practical Techniques for Writing Better Code is a book I read.
I think there are some aspects that are influenced by the development environment, but it's a book that teaches principles for writing code.
- As the title suggests, it discusses what readable code is.
- While the content can be understood as general principles, it's important to note that there are subjective elements.
- Although I read this book quite a while ago, I felt that various things I usually keep in mind were still lingering in my mind.
- Since the time spent reading code is greater than the time spent writing code, paying attention to readability is important.
- One must not forget that the reader includes not only others but also oneself.
- The concept of a "programmer's brain" introduces cognitive psychology as a logic that complements the subjectivity of readability.
- This might make the significance of readable code feel even stronger.
- Occasionally, try reading the names of standard library functions and type information.
- If it stays in your memory, it might help when using the standard library.
- This is something I haven't been able to do.
- Recently, with the power of generative AI, this might be an area where AI can be a great help.