Showing posts with label cool. Show all posts
Showing posts with label cool. Show all posts

Friday, August 8, 2008

Class Immutability: Never thought of them before

"Classes should be immutable unless there's a very good reason to
make them mutable....If a class cannot be made immutable, limit its mutability as much as possible."

- Josh Bloch

I never thought of class immutability and its importance until I read Josh Bloch's statement quoted on a site about Java practices. There must be something about it that Bloch would quote such a tough statement. And it's true! A programmer must defend his class's instance variables from being changed from outside itself (except for instantiating the class, in which case you'll use a constructor or a static factory), unless there is a very good reason for it. Yeah, that is coolness to the uttermost level. Another point learned. :]

Continually learning,
Jep

Friday, July 25, 2008

PicLens : Redifining FireFox Experience

While I was searching for a really cool add-on that I could plug into my FireFox browser, I came accross this one called PicLens. It gives the user a far better net-surfing experience by making image and video searches a lot more interactive and enjoyable. It has something what they call as "The Wall" which is a 3-D interface to one's search results. It feels like picking one's choice from a wall of images and videos. Videos could be watched on the wall by clicking on it, which means users don't have to go out of the wall and go to the video's main page just to watch it. This gives the user more convenience in searching for the media that they are interested with. I give it a 9 out of 10 points, the 1 point less is for the fact that it does not run linux machines..hehe :] For more information about this cool add-on, just visit the site http://www.piclens.com/ and enjoy a better and much cooler FireFox :]