Sunday, June 11, 2017

Let's parse the function "parseInt", which appears in both Java and JavaScript.

>
> parseInt(12.5);
12
>

In the above little example, 12.5 is not an Int, but is a float. On the other hand, the return value 12 is an Int.

So, a more accurate name for the function would be "parseToInt."

Monday, May 29, 2017

Sunday, April 23, 2017

Wednesday, April 12, 2017

If adult teeth could regenerate themselves ...

In this day and age, it sometimes feels that academic knowledge goes down the drain.

And many, if not most, PhD degree holders are no longer regarded as the intelligentsia. Instead, they are viewed as just some losers who have wasted many precious potential money-earning years on some useless pursuits.

Isn't that so?

On the other hand, maybe the old notion of "the intelligentsia" was just a myth.