How to develop your AI coding skills: A career guide
To understand how AI should integrate into a developer’s workflow, we asked developers a simple question: how do you feel about working closely with AI? This question is important as developers adapt to an AI-assistant coding landscape.
?? Here’s a snapshot of the benefits that developers reap from AI coding tools:
?? In fact, developers in our survey believe their partnership with AI will bring big benefits to their work:
?? ?? AI coding tools harness the power of large language models (LLMs) and leverage natural language processing to help developers create and experiment? in software development.?
REQUIRED READING From exploring the role of context windows in LLMs to using an AI tool as a personal assistant for accessibility, check out our AI-related blog posts. ??
?????? So, what key skills should developers hone as they start coding in the age of AI??
Tip 1??: Learn best practices for prompt engineering?
As a developer, prompt engineering provides instructions or comments in your IDE or AI chat interface to generate specific coding suggestions.?
We’re still in a trial and error phase with generative AI technology, so the “best” prompt-crafting tips might vary depending on the model you use or the problem you’re solving.?
But by practicing prompt crafting often and in different scenarios, you can start taking notes on what works well in what situations and what doesn’t. Here are a few best practices we’ve learned so far:
For example, when building a Markdown editor in Next.js, we could write a comment like this:
??? Create a basic Markdown editor in Next.js with the following features:
- Use React hooks
- Create state for Markdown with default text "type markdown here"
- A text area where users can write Markdown
- Show a live preview of the Markdown text as I type
- Support for basic Markdown syntax like headers, bold, italics
- Use React Markdown npm package
- The Markdown text and resulting HTML should be saved in the component's state and updated in real time
For instance, if you want to use AI to make your codebase accessible, you can start off with a foundational prompt that provides definitions of accessibility standards. The definitions and examples narrow the scope of solutions and specify the quality of answers the developer wants the AI tool to generate:
??? I need to learn about accessibility and need to write code that conforms with the WCAG 2.1 level A and AA success criteria defined at https://www.w3.org/TR/WCAG21/. I want you to be my accessibility coach, a subject-matter expert that makes me think and account for all accessibility requirements and usability enhancements. When you answer questions about accessibility, please use reputable sources such as w3.org, webaim.org, developer.mozilla.org, and https://www.ibm.com/able/.
When possible, provide links and references for additional learning. When you suggest code please use semantic HTML, ensure it is operable using the keyboard, follow WCAG 2.1 sufficient techniques, and follow the ARIA Authoring Practices Guide and related design patterns. Do you understand these instructions?
领英推荐
For more guidance on prompt engineering, read:
Tip 2??: Start mastering code reviews
An entire 50% of enterprise software engineers are expected to use machine-learning powered coding tools by 2027, according to Gartner. But AI isn’t perfect, so developers must stay sharp on coding skills and organizational knowledge if they want to conduct productive code reviews.?
Tip 3??: Practice using AI to debug your code
We know security tooling can be a pain to use. Learn how to use AI to reduce friction, then share these tips with your team.?
Tip 4??: Don’t neglect your soft skills
Soft skills require more emotional intelligence than technical skills. As the tips above suggest,? coding with AI tools requires communication, problem solving, and empathy. As a bonus,? prompt engineering might improve your communication skills.?
We wrote about concrete ways to hone soft skills in a previous issue, which we’ll recap here:
Let’s consider these skills in the larger AI shifts we’re seeing. Remember that question we asked at the start of this newsletter: how do developers feel about working closely with AI? According to Eirini Kalliamvakou and the rest of the GitHub Next team, here are a few things we learned about developers’ attitudes towards AI-assisted coding:
In short, you are and will continue to hold the reins as AI evolves. ?? In fact, AI might demand more of developers in terms of their complex problem solving skills. To stay sharp and adaptable in this new age of coding, check out the full career guide.?
More GitHub goodness:?
?? Repost this newsletter to your network.
? This newsletter was written by Nicole Choi and produced by Gwen Davis. ?
數位行銷 × 人力資源?專案管理 | 社群媒體經營 | 廣告投放與策略規劃 | GMO Product Marketing Executive | Project Management | Content Marketing Specialist | Social Media Marketing | Digital Marketing | Public Relations | Ad Operations
5 个月A few hours ago,I recently posted about current No Code tools and automation apps. Feel free to share your thoughts and suggestions ?? https://www.dhirubhai.net/feed/update/urn:li:activity:7186397352264413184/
Freelancer bei VERDI&MARBUGERBUND&TK&IKK
5 个月Thank you for iN
--
6 个月I tend to use AI to help with problem solving when I've had little to no sleep (as I'm sure most of us do). Sometimes AI just Jumpstarts my brain in the morning. Other times I tend to question it's intelligence lol.
Full Stack Developer (HTML, CSS, JS/jQuery, PHP, Laravel, NodeJS/VueJS, Wordpress)
6 个月Having some amount of exposure to ChatGPT recently I understand that it can greatly help us (devs) with our job. But I don't understand how AI could replace software developer jobs in the future as some people has been predicting. One couldn't simply ask an AI program to build and host a web app or an Android app so it can be usable in production. The whole process still need to be handled by devs. AI is just a tool for productivity. Any thoughts?