summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2025-12-16 20:31:12 +0800
committerBigCoke233 <hi@guhub.cn>2025-12-16 20:31:12 +0800
commitc1188a5577cd517b26f00c42f4e0c92c17859cbf (patch)
tree7cabfc1fd66958e6ac648043594656f863dd647b /content
parent898d34097c4cfb901fc99076e868f70bc6b6a4d6 (diff)
docs: update markdown files (2025-12-16 20:31:12)
Former-commit-id: 708f788eb7e6dfc14edde4ba0876eb8c88aad3c3
Diffstat (limited to 'content')
-rw-r--r--content/en/posts/talking-to-myself.md (renamed from content/_drafts/talking-to-myself.md)18
1 files changed, 10 insertions, 8 deletions
diff --git a/content/_drafts/talking-to-myself.md b/content/en/posts/talking-to-myself.md
index 60ff6667..35b7b12d 100644
--- a/content/_drafts/talking-to-myself.md
+++ b/content/en/posts/talking-to-myself.md
@@ -1,30 +1,32 @@
---
title: I like talking to myself (with Git and GitHub)
-date: 2025-12-16T17:27:00
-draft: true
+date: 2025-12-16T20:31:00
+draft: false
toc: true
---
-I am an introvert. I like talking to myself. I talk to myself in spoken language when I get comfortable in a place where nobody's around. Recently, I find myself talking to myself in written words on Git and GitHub, which could actually be helpful in an engineering perspective, not just emotionally.<!--more-->
+I am an introvert. I like talking to myself. I talk to myself in spoken language when I get comfortable in a place where nobody's around. Recently, I find myself talking to myself in written words with Git and GitHub, which could actually be helpful in an engineering perspective, not just emotionally.<!--more-->
It's established that following a commit message specification, like [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/), is necessary for collaboration. Clear commit messages help collaborators understand the changes you've made, and how those changes can affect them. But... What if you're doing something solo? For instance, you're working on a side project that you know is going to be small, and you don't expect anyone to help you expand it. Toy code does not need that specification, right?
Well, nope, at least not for me.
-Writing commit messages is not a responsibility thrust upon you. It's a delight, actually. More precisely, any documentation should be fun for developers. You don't do it for the sake of users or other developers. You do it because it feels right.
+Writing commit messages is not a responsibility thrust upon you. It's a delight. More precisely, any documentation should be fun for developers. You don't do it for the sake of users or other developers. You do it because it feels right.
I like having my thoughts straightened by writing. Language is a structural presentation of human ideas, which start out chaotic with countless loose ends, but then slowly fit into place when you're trying to articulate them. The ancient Greek word "λόγος" can both mean logic and words. It's inspiring if you think about it: any logical flaw is easy to identify when you're putting things into words. Either spoken or written, you're making things clear, and clear is good.
We want our work to be clearly described so others can understand, but we also do that to make ourselves understand, in the present and after weeks or months.
-When I'm working on a side project, I keep a decent git history, with atomic commits, straightforward messages, and a lot of branches. I also create Pull Requests rather than direct `git merge` or `git rebase`, even though the code is reviewed by me and only me. I write issues that nobody reads, just to keep track of a bug I was trying to fix. I comment my PRs and issues with fact checks and progress updates. I add notes on installing dependencies and starting a dev server in `README.md`, stored in a private repository. Basically, I report to myself.
+When I'm working on a side project, I keep a decent git history, with atomic commits, straightforward messages, and a lot of branches. I also create Pull Requests rather than direct `git merge` or `git rebase`, even though the code is reviewed by me and only me. I write issues that nobody reads, just to keep track of a bug I was trying to fix. I comment my PRs and issues with fact checks and progress updates. I add notes about installing dependencies and starting a dev server in `README.md`, stored in a private repository. Basically, I report to myself.
How is doing extra work a delight?
1. I use words and logic to keep a clear head.
-2. I enjoy seeing things well organized.
+2. I like things well organized.
3. I feel safe when there's no line of code I don't understand.
-4. It feels like I'm presenting my work to the world.
+4. It feels like I'm presenting my work to the world officially.
5. The future me will be happy when he's trying to get my ancient code working.
-Rob Pike says "Documentation is for users". I'd like to say it's also for the writers themselves.
+Rob Pike says "Documentation is for users". I'd like to say it's also for the writers themselves. It's an intellectual leisure, a workout for the mind, and an honestly earned break from all the hard work of coding.
+
+While LLMs are spitting out craps faster than ever, we engineers should really focus more on documentation. Vibe coding is fast but meaningful words written by humans are more powerful. Documentation is for communication. That communication really is the core of software engineering, including communicating with yourself.