251 Park Science Building
gtowell at brynmawr dot edu
|Lecture Hours||Monday / Wednesday 1:10 - 2:30|
|Lab||Monday 2:40 - 4:00|
|Office Hours|| M 10am-11am. Thursday 2:30pm-3:30pm
Also by appointment
|Zoom||Meeting code: 232 840 6920. Password: given in class, or ask me|
An introduction to the study of programming languages. Where do programming languages come from and how do they evolve? And why should a programmer choose one over another? This course explores these topics by covering programming language features and paradigms, including object-oriented, functional, and imperitive. The course will focus on general structures common to programming languages; focusing on why those structures exist, the various ways in which those structures are implemented, and how to use them.
In addition, the course will look at programming techniques in two languages: Go and Kotlin. While these languages have many similarities; programming in the two will be very different. In particular, programming in Kotlin will take an almost pure functional approach which Go will be imperitive.
|Computer Lab||Park 231
Instructions for using the lab computers
Remote accessable lab computer status
Programming Language Pragmatics
by M. Scott
Not required But I have found useful
The Go Programming Language
by A. Donovan and B. Kernigan
Not required But I have found useful
by B. Eckel and S. Isakova
- Aug 30, First lecture
- Sep 29, First Midterm
- Nov 3, Second Midterm
- Exam period, Final Exam
All assignments must be turned in on time. If there are compelling reasons why you cannot turn in an assignment on time, you must ask for permission at least 48 hours in advance of the due date.
Despite my best efforts, homeworks may have sections that are not quite correct. If you find an error, let me know. If I agree that the issue is an issue and you have told me of the issue at least 48 hours prior to the due date then I will give bonus points as follows:
3 points for the first issue reported 2 points for the second issue reported 1 point for the third issue reportedOrdering is based on date of email recipt. One bonus per person per assignment.
All programming assignments must abide by the following standards.
- Design Principles
- Code Formatting Standards
- Goolgle's style guideThis is consistent with my documents, but much longer.
All programming assignments must be accompanied by a README file. I will read, and often will respond, to all README text. See the file for a description of the expected contents.
- Homework 1 Due Sep 19, before 11:59:59pm
- Lab 1: August 30. Access and Login.
Today's lab is very simple. First, confirm that your card gets you into the lab -- Park 230 and Park 231.
Second, log into a CS department lab machine using your UNIX login.
Send email to email@example.com with a picture of your screen after logging in.
- Lab 2: Follow the directions in computersetup.html to set up your own
If you are going to do all of the work for this course ont he lab computers, that is fine. In that case,
set up VSC with the packages described in this document, then do the hello world.go program.
When complete, take a photo (or screenshot) of you r computer with the Go program and its terminal output. Send that picture to firstname.lastname@example.org.
- Lab 3: Sep 13 Go Practice
Programs for the go practice. These programs are NOT commented; which is fine for labs. Comments are required for homeworks.
This course is intended to be fairly free-flowing with a lot of discussion. Therefore, I will not normally publish powerpoint lecture notes. I will try to restrict my commentary to topics covered in the text.
- Aug 30: Introductory remarks.
- Sep 1: Scott 1.1-1.4
The end of history and the last programming language, this article is on pages 111-123
The semi-colon wars
- Sep 8, Sep 13: Topic 3, Programming in Go
- Sep 15: Topic 5, Names, Scopes and Bindings. Ch 3 from Scott
- rough notes
- Static declaration of Integers in Java
- java recursion depth
- variable lifetimes in Go
- function nesting in Go
- block nesting in Go
- aliases in Go. More than one reference to same object.
- Pair of classes resulting in hiding in JavaAAAB
- Closures in Go
Attendance and active participation are expected in every class. Participation includes asking questions, contributing answers, proposing ideas, and providing constructive comments.
Please stay in touch with me, particularly if you feel stuck on a topic or assignment and can't figure out how to proceed. Often a quick e-mail, or face-to-face conference can reveal solutions to problems and generate renewed creative and scholarly energy. It is essential that you begin assignments early.
GradingGrades will be awarded based on the number of points earned and according to the percentage breakdowns shown.
Homework 30-35% Class Participation 5-10% Lab 5% Midterms (2) 35% Final exam 20%
Mid-terms will be in class (or possibly take-home). If take-home then the time to complete will be no more than 2 hours. All exams, whether in-class or not, will be open everything. The only restriction is that you may not discuss the exam, in any way, with anyone until 24 hours after the exam (unless you are told otherwise).
Incomplete grades will be given only for verifiable medical illness or other such dire circumstances. Incomplete grades must be approved through the Dean's office.
ALL work submitted for grading should be entirely YOUR OWN (except for labs). Sharing of programs, code snippets, etc. is not permitted under ANY circumstances. That said, I encourage you to discuss assignments at an algorithmic level with other students. That is, talk about the problem, and general apporaches to problems. Do not share or discuss actual code.
- Kernighan's book on programming style. Most of the examples in this book are in languages rarely if ever used, but the lessons still apply.
Learning AccommodationsStudents requesting accommodations in this course because of the impact of disability are encouraged to meet with me privately early in the semester with a verification letter. Students not yet approved to receive accommodations should also contact Deb Alder, Coordinator of Accessibility Services, at 610-526-7351 in Guild Hall, as soon as possible, to verify their eligibility for reasonable accommodations. Early contact will help avoid unnecessary inconvenience and delays.
This class may be recorded.
Creating a Welcoming EnvironmentAll members of the Instruction Staff are dedicated to the cause of improving diversity, equity, and inclusion in the field of computing, and to supporting the wellness and mental health of our students.
Diversity and InclusionIt is essential that all members of the course community – the instructor, TAs, and students – work together to create a supportive, inclusive environment that welcomes all students, regardless of their race, ethnicity, gender identity, sexuality, or socioeconomic status. All participants in this course deserve to and should expect to be treated with respect by other members of the community. Class meetings, lab sessions, office hours, and group working time should be spaces where everyone feels welcome and included. In order to foster a welcoming environment, students of this course are expected to: exercise consideration and respect in their speech and actions; attempt collaboration and consideration, including listening to opposing perspectives and authentically and respectfully raising concerns, before conflict; refrain from demeaning, discriminatory, or harassing behavior and speech.
WellnessAdditionally, your mental health and wellness are of utmost importance to the course Instruction Staff, if not the College as a whole. All members of the instruction staff will be happy to chat or just to listen if you need someone to talk to, even if it’s not specifically about this course. If you or someone you know is in distress and urgently needs to speak with someone, please do not hesitate to contact BMC Counseling Serices: 610-526-7360 (610-526-7778 nights and weekends). If you are uncomfortable reaching out to Counseling Services, any member of the Instruction Staff will be happy to contact them on your behalf. We understand that student life can be extremely difficult, both mentally and emotionally. If you are living with mental health issues such as anxiety, depression, ADHD, or other conditions that may affect you this semester, you are encouraged to discuss these with the Instructor. Although the details are up to you to disclose, the Instruction Staff will do their best to support and accommodate you in order to ensure that you can succeed this course while staying healthy.
Created on June 2021. Subject to constant revision.