SICP Quote

Find the right level of abstraction

2 minute read

Since I have to take a long bus trip to work everyday, I decided to use the time to read the SICP (Structure and Interpretation of Computer Programs). And blog along the way to mark the progress. I have read Chapter 1 and watched the video lectures. But I still feel I get planty new things from going through it again. The best part of this book I think is that it spends minimal time and effort in teaching the programming language, the main focus is the thinking and ideas about programming.

How to write maintainable RecyclerView

Write maintainable RecyclerView in Android

6 minute read

Google is famous for making complicated things. RecyclerView is not an exception. It is more flexible than the previous ListView I understand, but that also means that us developers need to understand more and do more work. I have seen gigantic adapters that have very complicated logic especially when there are multiple types that the RecyclerView is trying to handle. I think I happen to know one way to organize things a bit better so one can easily find what he/she is looking for.

Use Enumset to Replace Bit Flag

How to use EnumSet to replace bit flags

2 minute read

I was reorganizing my bookshelf today and found my Thinking in Java lying there so I decided to skim through it. I was quite surprised how much basic stuff in Java I overlooked or forgot. So I decided to re-read the book and write short blog posts of the things that I think are useful but not too many people are talking about nowadays. Here is the first one.

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.

The Ultimate List of Youtube Programming Channels

A list of youtube channels that talks about programming

4 minute read

Here are the Youtube channels I subscribe and recommend. They are in no particular order. Computer History Museum I’m an old school programmer and this fits my taste perfectly well. Especially check out the Oral Histories section where they have in-depth interviews with the industry legends from top IT companies. Confreaks Mainly about Ruby conference videos recordings, even though I don’t know Ruby I still find some of their videos extremely helpful.