IT: Redis之父论编程与写作 Programming and Writing
.
O ever youthful, O ever weeping.
(Redis之父 antirez)
One year ago I paused my programming life and started writing a novel, with the illusion that my new activity was deeply different than the previous one. A river of words later, written but more often rewritten, I’m pretty sure of the contrary: programming big systems and writing novels have many common traits and similar processes.
The most obvious parallel between the two activities is that in both of them you write something. Code is not prose written in a natural language, yet it has a set of fixed rules (a grammar), certain forms that most programmers will understand as natural and others that, while formally correct, will sound hard to grasp.
There is, however, a much deeper connection between the two activities: a good program and a good novel are both the sum of local and global elements that work well. Good code must be composed of well written and readable single statements, but overall the different parts of the program must be orthogonal, designed in a coherent way, and have clean interactions. A good novel must also succeed in the same two scales of the micro and the macro. Sentences must be well written, but the overall structure and relationship between the parts is also crucial.
//or'thogonal: perpen'dicular
A less structural link between programming and writing is in the drive you need when approaching one or the other: to succeed you need to make progresses, and to make progresses you have to be consistent. There is extensive agreement on the fact that programs and novels don’t write themselves, yet. Twenty years of writing code helped me immensely with this aspect; I knew that things happen only if you sit every day and write: one day one hundred words, the other day two thousands, but rare is the day I don’t put words on the page. And if you have written code that is not just a “filler” for a bigger system, but a creation of your own, you know that writer block also happens in programming. The only difference is that for most people you are an engineer, hence, if you don’t work, you are lazy. The same laziness, in the case of an artist, will assume the shape of a fascinating part of the creative process.
The differences.
I believe the most sharp difference between writing and programming is that, once written, edited and finalized, a novel remains immutable, mostly. There are several cases of writers returning on their novels after several years, publishing a bug fixed version of it, but this is rare and, even when happens, a one-shot process. Code evolves over time, is targeted by an endless stream of changes, often performed by multiple people. This simple fact has profound effects on the two processes: programmers often believe that the first version of a system can be quite imperfect; after all there will be time to make improvements. On the other hand writers know they have a single bullet for every novel, to the point that writing prose is mostly the act of rewriting. Rewriting sentences, whole chapters, dialogues that sound fake, sometimes two, three, or even ten times.
//immutable: not changing
I believe programming, in this regard, can learn something from writing: when writing the first core of a new system, when the original creator is still alone, isolated, able to do anything, she should pretend that this first core is her only bullet. During the genesis of the system she should rewrite this primitive kernel again and again, in order to find the best possible design. My hypothesis is that this initial design will greatly inform what will happen later: growing organically something that has a good initial structure will result in a better system, even after years of distance from the original creation, and even if the original core was just a tiny faction of the future mass the system would eventually assume.
//'kernel: core
In case you are interested, a quick update about my sci-fi novel. After many self-reviews I sent the manuscript to my editor, Giulio Mozzi. He will send me the change proposals in a few weeks. I’ll start a new review process informed by his notes, and hopefully finalize the novel in one or two months. Then, finally, I’ll be ready to publish the Italian version. A the same time the finalized novel will be sent to my translator, in the US, and when she ends the translation the English version will be published as well. It’s a long journey, but one that I deeply enjoyed taking.
(快来加入Ted打卡吧!)
0516会议预告
Youth头马演讲俱乐部3群(498)
Sheldon
#接龙
262nd Youth offline meeting!!!
(5.16 14:30 on 东洲大厦B座504室)
MM: Echo &Dawn
SAA:Nick
TOM: Clara
Photographer: Samuel
Ah-counter:
Timer: Kyla
Grammarian: Lea
General Evaluator:Sophie
Workshop:Make Decisions
Speaker:David Chiu
📍Mini-prepared speech
Mini-PS1: Bolly
Mini-PS2: Kristin
Mini-PS3: Tina
📍IE for Mini-prepared speech
IE1: Dawn
IE2: Maggie(Bilingual)
PS:Sheldon
IE:Leurent
is for both Toastmasters members and guests , is only for Toastmasters members
1. Sheldon
2. Echo
3. Dawn-VPPR
4. Winki(Guest)
5. Jax(Guest)
6. Nick
7. Sophie
8. Clara
9. Riley
10. Arith
11. Samuel(Guest)
12. Bolly(Guest)
13. Kristin(Guest)
14. Tina(Guest)
15. Julia(Guest)
16. Leurent
17. Maggie(Online,Bilingual)
18. Kyla (Guest)
倒数第二期演讲训练营啦!角色还有位,大家快报名!!!🥳🥳🥳
P.S. 我们不欢迎轻浮者和无礼者哦,如果男生被女生投诉的话下次我们会很慎重考虑你的再次参加的,敬请注意哦!另外,请大家注意人身和财物安全,本俱乐部不对活动过程中因成员自身疏忽而导致的人身和财物损失承担责任,谢谢!
左右都可以滑动打开心扉
你还不来找我么?
www.www.toastmasters.org
俱乐部介绍
Toastmasters简称头马,是一家非盈利的国际演讲组织。Youth Toastmasters Club前身是广外头马英文演讲协会,是国际头马在广州的一个分会。我们每周都会举办活动,欢迎广大英语爱好者的加入!
(scroll up)
Dear you:
We welcome excellent young people who want to improve their English. If you want to become a full member of our club, you have to participate in our activities three times before you are eligible for an interview. And finally, you need to complete the initiation rite.
Join us, you will get:
1. A stage with feedback.Practice meetings every week, let you keep the passion and motivation to learn English.
2.Friends. More than ten active young people grow up with you. We have speaking champions, experienced old members, well-educated students. You could learn English public speech, managing skills, communication skills, and new media operations.
3.A new world.We have more than 40 clubs in Guangzhou. There are countless activities you can participate in and countless outstanding people you can even know. If you are our member, you can attend their meetings for free!
4.Great value for money. No more than 400 yuan can get half a year membership, which includes more than 50 hours of study time. Btw, we also have team-building exercises.
Follow me, over.
点个
在看
你最好看