CSCI400: Programming Languages
Where and When:
T/Th, 9:30-10:45, MZ 26
Office hours: T/Th, 8-9:15
This purpose of this course is to consider in detail the main constructs of modern programming languages, including abstraction mechanisms, sequence control, data control and storage management. The course will include a brief introduction to functional and logic programming. We'll also discuss some pragmatics of programming as time allows.
Why study principles of programming languages?
- To enhance your ability to learn new languages,
- To allow you to choose an appropriate tool for a given task,
- To gain an appreciation for the challenges involved in implementing a language,
- To expand your ability to express your ideas using a given language,
- To see some very different styles of programming (e.g., Ruby and Haskell),
- Because it's fun!
Miran Lipovaca, Learn You a Haskell for Great Good, Required (pdf available)
Flanagan & Matsumoto, The Ruby Programming Language, Recommended
Robert Sebesta, concepts of Programming Languages, Recommended
Late work is strongly discouraged. Late assignments will be penalized 10% per day and no assignments will be accepted more than 2 days late.
Piazza "Rules of Engagement" (thanks Randy B.)
Online forums can be quite intimidating. I'd like to suggest these guidelines:
- Be polite. This also applies to assignment clarifications (e.g., writing "This requirement makes no sense" may not be the best phrasing. Try something like: "I'm not clear what requirement X means. Should I do [x] or [y]?")
- A Piazza post is not a text message; use complete sentences and correct spelling, punctuation, and grammar.
- When asking a question, do not post large blocks of code. A single line of code, to clarify your question, may be appropriate. Before posting, ask yourself: would this be giving most of the answer to another student? Thinking about how to phrase the question may help you solve the problem.
- When answering a question, do not post the exact code
from your homework solution. Possible exception would be something
that takes one line and is primarily a syntax question.
E.g., to a question like "How do I set the
color of my rectangle" you might answer with something like
"You need to set the color before drawing. If
gis a Graphics object, you can do g.setColor(Color.CYAN);"
- Using pseudocode is an excellent way to answer questions.
We will make use of piazza for this course: https://piazza.com/mines/fall2014/csci400/home.