I don’t know why I wrote this after breakfast.
The Simpler, The Better
You should imagine being able to understand what this is when you open the project 5 years later.
You should imagine knowing where to fix bugs even when you’re drunk or got hit by a car but need an urgent fix.
Good code should be simple and accompany you for a long time, just like love.
Notes Everywhere
Notes are good, they don’t need many rules, having notes itself is good.
You’re not always in the best state to load all context to understand the code.
Notes are good, even if it’s just a phrase like “LMAO”, it might help someday, or at least give you a laugh.
Notes are good, any form of notes is good, just like love.
Tests, Tests, and F*cking Tests
Without tests, every change becomes an invisible pressure.
If this is your own product, concerning the numbers in your bank account, you’ll want to write tests.
In the AI era, I believe testing can actually be “Generative Driven”, but we’ll talk about that later.
Tests are good, any form of tests is good, just like love.
Once Again, The Simpler, The Better
I’m saying it twice because it’s important.
I think many people get one thing wrong: good architects actually try to draw as few architecture diagrams as possible.
They set refined principles and thinking patterns; architecture diagrams are by-products based on these.
If you need to draw magnificent architecture diagrams to explain your architecture, I think that’s quite a failure.
However, love needs proper explanation, that’s different.
Modularity Is Everything
Yes, modularity is everything.
Modularity represents clear encapsulation, testability, decoupling, and replaceability.
From an organizational or business perspective, this represents productivity, predictability, circulation, and organizational flexibility.
Modularization is essentially a form of commodification.
If your software is driven by capital, not a romantic poetry collection, then modularity is the inevitable direction. Just like love.
You could say VTubers are a form of modularized love
Put the Right Things, at the Right Time, in the Right Place
Yes, that’s basically it.
Rocket science or bioengineering aside, in Application Development, this is probably all you need to master.
Put the right things, at the right time, in the right place, and you’ll get good results.
Just like love.
No Fucking Exceptions
I like flexibility, but some core and firm principles must not have exceptions.
Exceptions are like small cracks in a dam, seemingly harmless at first, but they spread and eventually destroy everything. Just like you and your ex.
Automate It, Always Automate
Automate things that can be automated from the beginning.
Get used to writing various scripts, whether it’s copy-paste or letting AI generate messy ones, it doesn’t matter, the point is to reduce mental load.
Any operation requires energy, please save energy for meaningful things.
Like love.
One Last Time, The Simpler, The Better
The definition of simplicity lies in “low cognitive load”.
Even if you’re a lone wolf, there are times when you’re down. You need to ensure your code is effortless at all times.
Without burden, you can spend time on other things.
Don’t show personality or personal habits in code, code that’s as plain as water is the best.
Simplicity is the ultimate form of wisdom,
Just like love.