Thoughts on Classic OOP Mindset

Thought on the classic OOP mindset

Guowei Lv

4 minute read

OOP is still dominating in today’s software shops, especially in mobile/web development. Design patterns, SOLID principles and TDD etc. are the mainstream mindset to develop OOP software. I still remembered my first programming job. Huge codebase, don’t know where to start. I even took notes of the code in my notebook and drew graphs of it. But still didn’t have a clue after years gone by. My desk was by the window, I used to look outside the window while standing beside it a lot.

A Plea for Lean Software

Wisdom from professor Niklaus Wirth


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?