Index
Overview
Housekeeping
Instructions To Computer
Instructions To Coder
Crash 1
Crash 2 (picky)
Creativity
Overview
How you approach coding is important.
Housekeeping
On one side of coding is the
"housekeeping"
. Not the most exciting, but the most important.
What we mean by housekeeping is making sure such things as file organization and naming is correct.
Instructions To Computer
Coding is giving "instructions" to the computer.
Instructions:
1: draw
2: move
3: change color to orange
4: flash
Instructions To Coder
Similarly as coders, we also receive instructions.
And we need to follow them carefully
Instructions:
1: Put all code files in a directory named "Foo"
2: Create Java filename "Wow.java"
Crash 1
In this example, the program expected directory "Foo", but instead the directory had another name.
The program crashes!
C:\ \---Work \---
MyDir
(should be "Foo")
📋
Crash 2 (picky)
Programming languages are generally
"picky"
.
Even a the lowercase "foo" can cause a crash if uppercase "Foo" is expected.
The program crashes!
C:\ \---Work \---
foo
(should be "Foo")
📋
Note: A trick of the trade is to read the coding instructions slowly and carefully.
Creativity
In contrast to "housekeeping", another part of coding is creativity. We tap into our creativity in computer science.
We need to be creative to solve challenging problems. We'll learn that as we go.
Introduction To Objects With Java
Approach To Coding
Search Site
Home
Back To Top