You're viewing a comment by Date Hater and its responses.

October 21, 2010, 00:03

Perhaps the title was just trying to grab ones eye, but I don't think you must absolutely know any of these. I'd just use a library that has a method to do all of these things.

For example: NumberUtils.isEven(...) is better than the bit hack because it's:
1) More readable
2) More tested
3) More distributable since it's already a library
4) Less work because I didn't have to write/think of it

I did find the article to be very interesting though. Thanks

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "0day_143": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.