ChatGPT is ideal for developers to speed up coding and debugging their projects. This instructor-led training class covers the most useful and time-saving techniques of integrating ChatGPT within your daily workflow.
Prerequisites: You should be familiar with basic programming concepts and have written more than 5,000 lines of code. Basic knowledge of Python, HTML/CSS and JavaScript is helpful but not required.
Audience: Developers, devops engineers and database administrators/
Objectives: Get hands-on experience with ChatGPT’s code assistance prompts and limitations
- Experiment with alternatives like the GPT-3 Playground
- Generate code in Python, JavaScript and other languages
- Debug, translate, and optimize code
- Generate unit tests, regular expressions and Unix/Powershell one-liners
- Simulate SQL databases and other servers/APIs; generate sample data
Course Outline
Part 1
Hidden Features in the ChatGPT Interface:
- New chats: some features you might not have noticed
- Chat history: more features you might not have noticed
- Settings
Limitations of ChatGPT as a Developer Tool:
- Context: memory limitations and how to overcome them
- Availability: hacks to avoid downtime
- Comparison with alternatives: Google Bard, Anthropic Claude, Perplexity, Github Copilot, TabNine
Commenting and Reformatting Code:
- Adding comments and docstrings
- Reformatting your code for legibility, standardization, and/or brevity
Tips for Prompting:
- Giving ChatGPT a role to act out and setting its level of expertise
- What to do when ChatGPT stops outputting prematurely
- Other Tips & tricks
When to Use the GPT-3 Playground:
- Locating your API secret key and understanding API pricing
- Practical application of the “Temperature” setting
- Setting limits to the costs of API calls with the “Maximum Length” setting
Part 2
Generating Code:
- Creating one-page applications
- Translating code
Dealing with Multiple Files and Large Text:
- Delineating multiple files in your prompt
- Generating a web page with component HTML, CSS, and JavaScript files
Working with Existing Code:
- Explaining code
- Commenting code and adding docstrings
- Debugging tricks to fix stubborn bugs
- Optimizing code for performance
- Writing unit tests
Hacks:
- Generating regular expressions and Unix/Powershell one-liners
- Acting as a database server and creating fake data with SQL
- Acting as an Apache web server
This course is available for "remote" learning and will be available to anyone with access to an internet device with a microphone (this includes most models of computers, tablets). Classes will take place with a "Live" instructor at the date/times listed below.
Upon registration, the instructor will send along additional information about how to log-on and participate in the class.