Method to the Madness

Hey, look at that – you are back for Week #3! Fantastic – let’s keep this Dev-speak train right on rolling.

Hopefully you have somewhat of an idea of what classes are (object factories), so  now we can start talking about the two things that make up classes: attributes and methods (hence the title of the post — sorry, best I could come up with).

These are actually pretty simple. To oversimplify, attributes are the nouns and methods are the verbs. What I mean by that is that the attributes tell you about the characteristic of the object you are creating, and the method tells you what that object can do.

Let’s use a car as an analogy (mostly because the first thing I think of when I think ‘factory’ is a car). So if we have a car class (car factory), some of the attributes we will have to each car object are the color, number of doors, size of the wheels, and so on. Some of the methods we’d have to give would be things like drive, park, reverse, comfort, transport.

So, now that you know all that, go instantiate this Bugatti Veyron object and give it to me as a thank you.

We are now at 38 days (and 5 more posts) until Dreamforce. Besides gearing up on your dev lingo, what are you doing to prepare for the greatest conference of all time?

Advertisements

4 Responses to “Method to the Madness”

  1. I’m wanting to learn more about the trigger/class world, but also want to get another certification. In your opinion, which is better? Dev 531 or advanced administrator?

Trackbacks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: