browse by category or date

Comments Posted By Artha

Displaying 0 To 0 Of 0 Comments

Questions To Be Pondered on Your Software Development

Hmm.. A-4C-D-E-R-S doesn’t seem to be quite easy to memorize. Maybe you can aim for more English phrase-like combinations? E.g.

» Posted By Artha On April 25, 2008 @ 15:04

Visual Basic 2005 Jumpstart

Personally, I always use short-circuit operators (&& and || in Java) on conditionals. As for this part:

“Of course you cannot short circuit the logic statement if your foo2() is doing some kind of processing that you will need to use the result later on.”

If we really need both foo1() and foo2() to always be run, perhaps it’d be clearer to have the invocations separated from the conditional:

boolean a = foo1();
boolean b = foo2();

if(a && b) {

Maybe it’s just me… but my opinion is having conditional which has “side effect” of modifying something in the code seem a bit risky. If next time the (another?) programmer wants to remove one of the conditions and either forgets or is unaware of the side effect, he/she may end up introducing subtle bugs 🙂

» Posted By Artha On March 12, 2008 @ 01:08

My Stream.Read() Misadventure

Well, at least it can be taken as a learning experience 🙂 Anyway, when we need code for a “fairly common” (I know, gray area here) operation in a modern platform, I guess it’s pretty safe to start with assumption that someone else already came across the issue and came up with a solution, and start by searching library docs, google, etc. Otherwise we risk falling into “doing hours of coding to save few minutes of reading” trap (^_^”)

» Posted By Artha On March 7, 2008 @ 21:14

How Deus Ex Machina Ruined Spider-Man 3

Well, I don’t really have a problem with the “deus ex machina” parts in the movie, because they are still better compared to those in many superhero comic books 🙂 For examples, check Spider-Man’s Clone Saga, X-Men’s Phoenix Saga, and stories involving “death” (and inevitable eventual return) of… pretty much everyone 😀

The musical and emo scenes are definitely “love-it-or-hate-it” thing though.

» Posted By Artha On May 19, 2007 @ 02:35

Cooperative, A Lesson To Be Learned from NTUC Income

Heh, sorry, didn’t realize there is filtering for some characters. Anyway, isn’t it a bit too early to heap praise upon the new job? 😛

» Posted By Artha On May 6, 2007 @ 09:28

“I have a really good feeling that I will love my new job dearly”

» Posted By Artha On May 6, 2007 @ 08:59

«« Back To Stats Page