Intro-04
Learning Outcome
Learning Outcome
At the end of this lesson, you will be able to:
- start to comment code correctly
Review
Review
- review of attaching code and screen shots to your notebook
Lesson
Lesson
- go over Programming Style Guide, code is not just for you it is for other people to!
- what is a comment
- what MUST be in the header of every file of code
- if I do not know it is from you, I can not give you the marks!
In Python
# Created by: John Smith
# Created on: 08-Aug-20XX
# Created for: ICS3U
# Daily Assignment – Intro-0X
# This program displays Hello World but with an menu to exit
In PHP
/*
* Created by: John Smith
* Created on: 08-Aug-20XX
* Created for: ICS3U
* Daily Assignment – Intro-0X
* This program displays Hello World but with an menu to exit
*/
Activity
Activity
- nil
Daily Assignment
Daily Assignment
- write out what your header will be for PHP and Python
- you will then have the template you can use for each of your programs