Thoughts

A Plea for Lean Software

Wisdom from professor Niklaus Wirth

Guowei

3 minute read

I recently watched the talk A Guide for the Perplexed given by Joe Armstrong. He recommended two papers. One is A Plea for Lean Software by Niklaus Wirth, who is the creator of the Pascal language. After I read the paper I found that the this man is brilliant! He had found some of the deep problems in the industry and offered solutions decades ago. Unfortunately no one listened to him.

Thoughts About Programming While Teaching My Baby to Walk

What I realized about programming when teaching my baby to walk

3 minute read

My daughter is 11 months old, recently she started to stand up and walk baby steps by her own. Most of the time she has to use sofa to help her, and she falls down in all different ways all the time. So we have this idea that to protect her, we can buy some kind of special helmet to ease the pain when she falls down. But after some considering we decided not to.

Punk Rock Languages

A Polemic - by Chris Adamson

17 minute read

It’s rare that in one article the author praises C and JavaScript at the same time. After I read this one, I fear that it may vanish any time soon, so I decided to repost it here. That C has won the end-user practicality battle is obvious to everyone except developers. The year is 1978, and the first wave of punk rock is reaching its nihilistic peak with infamous U.

You Think You Know If Else?

The subtlety of if else statement

2 minute read

I was shocked during this fantastic video by Kevlin Henney not because all the programming history that he talked about, but by one simple example of if-else statement. Here is the leap year function he gave as an example in the talk: def isLeapYear(year) { if (year % 400 == 0) return true if (year % 100 == 0) return false if (year % 4 == 0) return true return false } def isLeapYear(year) { if (year % 400 == 0) return true else if (year % 100 == 0) return false else if (year % 4 == 0) return true else return false } Which one do you think is better?

The New Stereotype of Programmers

Is the new programmer stereotype better?

2 minute read

I was at a Sushi buffet today, and I saw someone who wears a company T-shirt which says “I dress code” on the back. I don’t think I like that slogan very much. I even feel a bit sad and angry. And I don’t know why. After given it some thoughts, I think the reason might be the following. I’ve never seen any other professionals who emphasize their career in such a funny way.