What is a sermon?

So what do you think determines if a pastor is preaching or just giving his opinion? If the Bible is never opened or scripture is not read, does that negate the thoughts coming from the speaker?

Thoughts?

One of my goals for 2010 is to learn how to program. Now to figure out which one. suggestions?