Monday, September 1, 2008

Lesson 6 - Part 1

Coder's Log: 2008.08

I just finished lesson 6A. Whew... I may need to review/revisit this lesson...
Lesson 6: Object Oriented Programming Fundamentals

This lesson has two videos and explains the fundamentals of object-oriented programming. It covers the differences between a class and an object. You’ll learn how to create and use properties and methods, as well as inheritance and encapsulation.

Video Duration:
Part 1 – 32 minutes, 46 seconds
Notes:

  • Object Oriented Programming
  • Class - the blueprint/recipe for an object
  • Object -instance of a class
  • Properties - attributes of our class. instances may have different property values, but they have the same property definitions
  • Fields - variables that hold property values
  • Property Get and Set statements - access and modify underlying field
  • Private "m_" - defining field
  • Public - defining property
  • Get - return private field value
  • Set - assign underlying field value
  • Methods - "actions" that can be performed by the class
example:
A "Dog" class:
- Properties: Height, Weight, Breed
- Methods: Run, Jump, Bark
  • the methods depend on the properties.
  • methods can accept parameters
  • Function
  • Sub
  • Variable Scope

Visual Studio Express Ed.: My Learning Path

Coder's Log: 2008.07

As I was helping someone in CNVF, I came across to this nice link:

http://msdn.microsoft.com/en-us/beginner/bb308760.aspx

Friday, August 29, 2008

Lesson 5

Coder's Log: 2008.06


I just finished Lesson 5...

Lesson 5: Using Branching and Recursion

This lesson explains how you can use conditional logic and looping constructs in your applications. You’ll also learn about an array and how you can use looping logic to read and write values from an array.

Video Duration: 26 minutes, 06 seconds


Notes:

Branching Statements - If/Then , Select Case
Arrays - collection/group or related values
Arrays should be the same data type
Recursion Statements - loop thru/navigate each item in an array one at a time
Recursion Statements - For Each / For ... Next / Do While ... Loop

Thursday, August 28, 2008

Lesson 4

Coder's Log: 2008.05


I just finished lesson 4...

Lesson 4: Working with Variables, Expressions, Statements, and Operators

This lesson explains what a variable is and how to use them in your applications. You’ll also learn the difference between expressions and statements and how you can use operators, like the addition operator (+) in your code.

Video Duration: 29 minutes, 55 seconds

Notes:

  • Visual Basic is NOT a case-sensitive language!
  • Strings and Variables
  • Numeric Data Types Integer/Double/Boolean
  • Variable Name (no quotes) - e.g. a bucket/container
  • String Literal (with quotes) - e.g. the content itself
  • Explicit (programmer code) and implicit (handled by VB) data type conversions.
  • Best practice is to do the conversion yourself (explicit).
  • Parse
  • Expressions vs Statements - "Expressions can be Evaluated... Statements can be executed."