April 23rd, 2010
After encountering a few abstract classes in different open source projects, I found myself asking the question, why? After some searching, here are a few good answers to the question, prefaced by a quick summary by myself:
- What is an abstract class?
An abstract class is one that cannot be instantiated itself, but can be extended by subclasses.
- Why not just use a base class?
An abstract class is useful in cases where you do not want your base class to be called for direct use, yet still want to establish common functionality with it.
- Why is it recommended not to implement in the abstract class?
This “best practice” seems silly at first, considering that you defeat the purpose of inheritance by avoiding implementation. My recommendation is to declare all abstract methods for complete class reference, while returning to implement anything that make sense to be common code.
- What if I want to follow convention?
Then what you are really creating is an “interface,” not an abstract class. An interface strictly outlines the members and methods only, with no implementation allowed.
- So whats the value of an interface?
An interface is useful to control code in a program that you know will be worked on by many others. What if you have a group of subclasses whose functionality depend on certain methods being available? Requiring that the subclass implement an interface forces all methods in the interface to be implemented by the subclass at instantiation. This prevents subclasses created by others from breaking the overall application by missing key methods. This has nothing to do with ease-of-coding, which may make it appear as an necessary process to the lone developer. Rather, the advantage of an interface speaks to the much broader world project management.
Here are two very simple examples of abstract classes usage and class inheritance in general.
Posted in Around the Web, Programming | No Comments »
February 8th, 2010

“I feel it is up to us to teach through whatever means necessary. Music is a huge way of communicating. It’s our responsibility as artists and producers of great sound to reach the youth with our words of encouragement and positive thinking.”
Sasha Kovacevich
True Soul Entertainment CEO
Posted in Around the Web, Hiphop, Music | No Comments »
October 29th, 2009
I stumbled upon this shortly after Your World of Text, actually. It prompted me to search for anything out there like it, because when you happen upon things of this nature on the web, it’s like unearthing some underground resource and entering in to the privileged few who utilize it daily.
In other words, I went out searching for any sort of online note-taking platforms. I found many, but none quite as quick, easy and intuitive as Webnote. While the coolest feature of Your World was the infinite space in which you could write free-form text, it was also somewhat of a drawback, since you could easily lose track of information that got lost off in some remote corner of the cosmos that is Your World.
Webnote solves that problem in a brilliant compromise. It encases all notes in their own separate color-coded boxes, which can then be moved around the space. The space is still infinite in the right and bottom directions, but a nice little toolbar at the top creates a little box of the same color as each note, where clicking this icon takes you directly to that note! When the notes pile up you may still have a hard time sifting through, but you can never lose something in this way, which is the important thing. You even have a nice filter box that uses regular expressions (not for the average user, but immensely powerful in that regard).
I call the above a compromise because all the other note-taking platforms I’ve come across do not combine the modularity of separate notes with the free form aspect of Your World. Webnote gives you the modularity, while maintaining the ability to move things anywhere you want instead of creating a boring, static list out of your notes like any stale old web menu.
The only thing Webnote lacks at this point is a way to password protect pages you create. Unfortunately, after asking the developer about this, I learned that he’d long since stopped developing Webnote and had no plans to do this. However, his code is open source, which is inspiring for a developer like me to get my hands dirty on a version with my own twist. Granted some free time, I might take on just that.
At any rate, I’ll never email myself another random note again, now that I’ve found Webnote. Do give a try – I guarantee you’ll be impressed!
Posted in Around the Web | No Comments »
October 6th, 2009
Cantyouseeimbusy.com is simply genius, and there’s not much more to it. Too bad as a web developer, I’m hardly ever working in office-type applications. But in the workplace, it’s still about as inconspicuous as you can get while slacking off!
Tags: Slack off, work
Posted in Around the Web, Gaming | No Comments »
October 6th, 2009

Invisible Writer
This is just too dope not to post. You could say he really puts himself in every piece! Haha…heh…ahem, sorry.
Make sure to peep the whole gallery, and get yourself ready for the last two! If you ever wondered what a ghost would look like if you spotted it…
Tags: Art, awesome, Graffiti
Posted in Around the Web, Art, Koopa Klan | No Comments »
September 15th, 2009
So I’m chillin in the chatroom at Rainwave, and someone randomly posts a link…www.yourworldoftext.com…Immediately I thought to myself, “World of Goo…just with text?”
Read the rest of this entry »
Tags: acscii, awesome, Google App, World of Goo
Posted in Around the Web | No Comments »
July 30th, 2009
This is an ongoing list of all the different resources and applications that I use as a web designer to get the job done.
Read the rest of this entry »
Posted in Around the Web | No Comments »