Become a member
Sign in
Chao Feng
Chao Feng

Chao Feng

7 Following
1 Followers
  • Profile

  • Claps

  • Highlights

  • Responses

Highlighted by Chao Feng

See more

From Putting comments in code: the good, the bad, and the ugly. by Bill Sourour

/**
Dear maintainer:

Once you are done trying to 'optimize' this routine,
and have realized what a terrible mistake that was,
please increment the following counter as a warning
to the next guy:

total_hours_wasted_here = 42
**/

From Putting comments in code: the good, the bad, and the ugly. by Bill Sourour

…on’t get me wrong, there are times — especially when you are slogging through a crushing workload — where injecting a bit of humor can be good for the soul. But when you write a funny comment to make up for bad code, it actually makes people less likely to refactor and fix the code later.

From Putting comments in code: the good, the bad, and the ugly. by Bill Sourour

And like many clichés, it has a kernel of truth to it. But this truth has been so abused that most people who utter the phrase have no idea what it really means.

Claps from Chao Feng

See more

Tmux in practice: local and nested remote tmux sessions

Alexey Samoshkin

I wrote some Golang, and it felt great

Chris Gregori

Senior Developer here who’s been doing this for 20 years and doesn’t write hack articles to make a…

A J L