Yes, we are using TypeScript for CISC181 this semester! :-)
- Environment Set-Up
- I'm New to TypeScript
- I'm Familiar with TypeScript
- Practice Problems
- Extra Resources
There are a few things you need to have installed and set up prior to the first lab (where you will be explaining Git and assisting students with setup)
- Visual Studio Code: The IDE we will be using in this course is VS Code. It's okay if you prefer another IDE for personal use, but please download and familiarize yourself with VS Code for this course. You will also need a few extensions:
- ESLint Extension: Code linter
- Prettier Extension: Code formatter
- Guide for adding extensions on VS Code
- Node: Make sure you have the latest version of Node installed.
- Git: You really should already have this and be familiar with Git, but here is the link just so you know we're using it.
For this repository, if you plan on completing the practice problems and running tests, make sure to npm install to run tests with npm run test
If you are new to TypeScript, please take some time before the semester begins to familiarize yourself with it. Luckily, that's what this repo is here for! A lot of the content of this course will be similar to what you learned when CISC181 was taught with Java; you should already know OOP. To get started...
- Check out this article, which will give you a rundown on transitioning from Java to TypeScript
- Read the quick TypeScript basics in this repository
- Read/work through some of the extra resources listed below. You may find some more helpful to you than others, find one that works for you!
- Complete the practice problems
- Write some tests for your practice problems!
- If you want a refresher, try out the practice problems in this repository.
- You can also check out the extra resources to refresh yourself.
There are practice problems in this repository (in the practice-problems directory). Complete these problems, and write some of your own tests for them!
I have also written solutions to these practice problems (you guessed it, in the solutions directory) if you want to check your solutions.
- I provided sample tests for
objects.tsinsolutions/objects.test.ts - We will ask students to write their own unit tests! Get familiar with it.
You can also take a look at some of these resources: