Skip to content

Conversation

@michaelloughnane
Copy link

@michaelloughnane michaelloughnane commented Jul 12, 2020

Reference to issue

Description of the changes proposed in the pull request

  • my proposal for the workshop on Object Oriented Programming

Link to Code SandBox

Link to Loom video (if blog/workshop completed)

Reviewers requested:

@atuljayaram
Copy link
Contributor

@mLoughnane Include the title of your blog in the PR title and link this PR and your issue together. It would really help!

@atuljayaram
Copy link
Contributor

Assigned to @AlexDoytch

@atuljayaram atuljayaram requested a review from AlexDoytch July 12, 2020 19:11
@atuljayaram atuljayaram requested review from atuljayaram and removed request for atuljayaram July 12, 2020 19:11
@michaelloughnane michaelloughnane changed the title Create proposal.md Create proposal.md (Coding for (Not Quite) Dummies: Object Oriented Programming) Jul 13, 2020
Includes the simple Object Oriented sample code, and a test function to make sure the student's version works.
Copy link

@AlexDoytch AlexDoytch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty good foundation, but I think this could use either a second set of classes to showcase other parts of OOP (e.g arrays or some function that takes values from one object to another) or just add these functions to your original program below. Think about something when you first learned OOP that made you expand your ability to program, and try to use that to help distinguish this blog from other intro OOP blogs.

Copy link

@alliebailey alliebailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Mainly just fix the headers and possibly write the code directly in the blog instead of pictures (not sure how much this matters). Also take a look at the smaller grammatical changes I made in the commit.


# Coding for (Not Quite) Dummies: Object Oriented Programming

### Part 1: Introduction - Coding is Scary

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove the 'Part 1: Introduction' and just use the title




### Part 2: What is an Object?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, for all the headers, please remove everything except the title!


To clarify, we’re making this object in its own file. To actually create a “person” object, we’ll need to put the “Person.java” file in the same directory as the program is actually using the object, then create an object in that main program. How do we actually create the object, though? That uses something we call a **constructor**. A constructor is a bit of code in the object class (the Person.java file) that lets you determine howhow exactly a Person object is created in your code. Here are two that I wrote:

![img](https://lh3.googleusercontent.com/71i-A6XK3i2RPOIpGQULaGR04HD_NmjxD260ccFoHY6jr0NjSCduBuGz54hUQjWIYdBjOp05tk658qaW3nlAmFhWOlCql8qYv-EHJnTboSm35asJEfbrxV5YA1RRCiJD5AcxWpTY)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using an image of code, could you just write it in github?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Blog Dev Proposal] Coding for (Not Quite) Dummies - Object Oriented Programming : Entry Workshop

6 participants