CSC148H1 Lecture Notes - Lecture 1: Docstring, Pycharm, Type System

48 views6 pages
13 Nov 2017
School
Course
Professor
katrinasavvy and 38715 others unlocked
CSC148H1 Full Course Notes
1
CSC148H1 Full Course Notes
Verified Note
1 document

Document Summary

Often when beginners are tasked with writing a program to solve a problem, they jump immediately to writing code. Doesn"t matter whether the code is correct or not, or even if they fully understand the problem: somehow the allure of filling up the screen with text is too tempting. In csc108, we teach the function design recipe as a principled way of approaching problem-solving in python. It delays writing any code at all until a complete docstring has been written. Get into the habit of following the design recipe, and your teammates and even your future self will thank you later! Please note that starting in fall 2017, both csc108 and csc148 are using a new type contract syntax; Pycharm can use this to do some basic type-checking for us as we write our code. Please take a few minutes to read through this guide describing the new syntax.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents