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 PlaygroundGenerate code in Python, JavaScript and other languagesDebug, translate, and optimize codeGenerate unit tests, regular expressions and Unix/Powershell one-linersSimulate SQL databases and other servers/APIs; generate sample dataCourse OutlinePart 1Hidden Features in the ChatGPT Interface:New chats: some features you might not have noticedChat history: more features you might not have noticedSettingsLimitations of ChatGPT as a Developer Tool:Context: memory limitations and how to overcome themAvailability: hacks to avoid downtimeComparison with alternatives: Google Bard, Anthropic Claude, Perplexity, Github Copilot, TabNineCommenting and Reformatting Code:Adding comments and docstringsReformatting your code for legibility, standardization, and/or brevityTips for Prompting:Giving ChatGPT a role to act out and setting its level of expertiseWhat to do when ChatGPT stops outputting prematurelyOther Tips & tricksWhen to Use the GPT-3 Playground:Locating your API secret key and understanding API pricingPractical application of the “Temperature” settingSetting limits to the costs of API calls with the “Maximum Length” settingPart 2Generating Code:Creating one-page applicationsTranslating codeDealing with Multiple Files and Large Text:Delineating multiple files in your promptGenerating a web page with component HTML, CSS, and JavaScript filesWorking with Existing Code:Explaining codeCommenting code and adding docstringsDebugging tricks to fix stubborn bugsOptimizing code for performanceWriting unit testsHacks:Generating regular expressions and Unix/Powershell one-linersActing as a database server and creating fake data with SQLActing as an Apache web server
Overview
Taught by
Prompt Yes!