Common Computer Science References
At the end of this lesson, you will be able to:
do style checking
review compiling programs
what is a linter → is a static code analysis tool used to flag programming errors, bugs, stylistic errors and suspicious constructs
read "Problem Solving", Chapter 2, Computer Based Problem Solving
read up to and including "Problem Solving"
comment header in JavaScript (and TypeScript):
go over how to install Standard, to fix all your code style errors:
bun install ts-standard --save-dev
bun ts-standard ./*.ts
we will not be adding the GitHub Super Linter this year
odd TS errors that do not show above!
create the "Hello, World" program, going through the complete design and coding process!
ensure you are in the correct directory !!!
./ICS4U/Intro/Intro-06
run the style checker and fix any mistakes
add in design document (flowchart)
push changes back to GitHub
go over Sun's vs Google's style check for Java
we will be using mr-coxall_checks.xml (see below)
a combination of both, with 2 spacing for Java indenting and super strict on almost everything!
java comment header looks like:
HelloWorld.java