Ben Chuanlong Du's Blog

And let it direct your passion with reason.

String in Different Programming Languages

A string is essentially a sequence of characters. This is how string is implemented in many programming languages (string in Java is different). For this reason, you can operate string like an array in some programming languages. This post is a shallow summary on strings in different programming languages. For …

Automated Phone Bill Using Ruby Program

I have decided to try different programming languages. I learn Python a month ago. I would like to say that Python is great scripting language. The only thing I do not like so far is inconsistent about methods and functions. It is annoying to remember whether a call should be …

Automated Verizon Phone Bill (Continued)

I have switched to the "Share Everything" plan of Verizon two weeks ago, and I got a little complex bill this month due to people leaving and joining my family plan. My ruby program for parsing phone bill still works well. It is actually surprising smarter than I thought on …