-
Notifications
You must be signed in to change notification settings - Fork 34
Create proposal.md (Coding for (Not Quite) Dummies: Object Oriented Programming) #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
michaelloughnane
wants to merge
8
commits into
master
Choose a base branch
from
#CodingFor(NotQuite)Dummies-ObjectOrientedProgramming
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6a4e122
Create proposal.md
michaelloughnane 42a4e1f
Sample Code for Presentation
michaelloughnane 17dc4e2
Create blog.md
michaelloughnane 7759601
Update blog.md
michaelloughnane 1927ccb
Update blog.md
michaelloughnane 00ba70b
Update blog.md
michaelloughnane 1de64e7
Update Person.java
michaelloughnane b59566a
first edits
alliebailey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # TEMPLATE | ||
|
|
||
| ## :fire: Do not edit this file - copy the template and create your own file. | ||
|
|
||
| **[Step-By-Step Technical Blog Guide](https://hq.bitproject.org/how-to-write-a-technical-blog/)** | ||
|
|
||
| ### :pushpin: Step 1 | ||
| **TITLE:** | ||
| Coding for (Not Quite) Dummies: Object Oriented Design | ||
|
|
||
| **TOPIC:** | ||
| Object Oriented Design | ||
|
|
||
| **DESCRIPTION (5-7+ sentences):** | ||
| This presentation is intended to help prospective students learn higher-level concepts related to Computer Science, and bridge the gap from "Khan Academy" to "Computer Scientist." Specifically, this presentation will focus on Object Oriented Design and teaching students the basic concepts and implementations of it in Java. They will learn about constructors, fields and methods, and inheritance, among other things. | ||
|
|
||
| ### :pushpin: Step 2 | ||
| :family: **TARGET AUDIENCE (3-5+ sentences):** | ||
| The target audience is students who know the basics of Java but not much beyond that. The course will assume the learners are familiar with syntax and basic functions (there are a variety of resources available for people to learn that) and build upon that knowledge. | ||
|
|
||
| ### :pushpin: Step 3 | ||
| > Outline your learning/teaching structure: | ||
|
|
||
| **Beginning (2-3+ sentences):** | ||
| A basic overview of the goals of this presentation, and the expected prerequisites. Also, a high level introduction to object oriented programming (no code! This isn't mean to scare them off!) | ||
|
|
||
| **Middle (2-3+ sentences):** | ||
| The meat and potatoes of the presentation. Showing the basic features of the concept, alongside sample code to demonstrate those features in action. Also, will have a project for learners to code on their own to ensure comprehension - the sample code given will be helpful to this end, but it won't just be a case of "copy down the code and you're done" | ||
|
|
||
| **End (2-3+ sentences):** | ||
| Give the solution to the sample code made in the prior section, alongside expanations in case any confusion arises. (The beginning bits of the code may be given earlier to make sure nobody's completely lost). Discuss where to go after this, and potentially lead into another lesson. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| public class Person | ||
| { | ||
| //Coding this will be an exercise for the students participating in the lesson; incomplete code fragments will be used to initially demonstrate the concepts. | ||
| //As this is a simple program, there isn't any comments within the body - the method and variable names are intended to be self-explanatory. | ||
|
|
||
| private String firstName; | ||
| private String lastName; | ||
| private int age; | ||
|
|
||
| public Person(String theirFirstName, String theirLastName, int theirAge) | ||
| { | ||
| firstName = theirFirstName; | ||
| lastName = theirLastName; | ||
| age = theirAge; | ||
|
michaelloughnane marked this conversation as resolved.
|
||
| } | ||
|
|
||
| public int getAge() | ||
| { | ||
| return age; | ||
| } | ||
|
|
||
| public String getFirstName() | ||
| { | ||
| return firstName; | ||
| } | ||
|
|
||
| public String getLastName() | ||
| { | ||
| return lastName; | ||
| } | ||
|
|
||
| public String getName() | ||
| { | ||
| String fullName = firstName + " " + lastName; | ||
| return fullName; | ||
| } | ||
|
|
||
| public void increaseAge() | ||
| { | ||
| age++; | ||
| } | ||
|
|
||
| public void increaseAge(int ageIncrement) | ||
| { | ||
| age += ageIncrement; | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
|
|
||
| public class PersonTest | ||
| { | ||
| //A simple test file for Person.java. | ||
|
|
||
| public static void main(String[] args) | ||
| { | ||
| Person John = new Person("John", "Smith", 26); | ||
| System.out.println(John.getFirstName()); | ||
| System.out.println(John.getLastName()); | ||
| System.out.println(John.getName()); | ||
| System.out.println(John.getAge()); | ||
|
|
||
| John.increaseAge(); | ||
| System.out.println(John.getAge()); | ||
|
|
||
| John.increaseAge(3); | ||
| System.out.println(John.getAge()); | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.