SlideShare una empresa de Scribd logo
Peter Caitens
Salesforce Lead Developer
8Squad Pty Ltd
Todays Agenda
Why Code Generation Matters
Code Generation Tools
Einstein for Developers
Meet Tom
● Mid-level Salesforce Developer
● Works for a small real estate firm
● He has been asked to write a new utility class
● So as a good SF developer he:
○ Checks out Trailhead for the best practices
○ Spends 1 day writing his class
○ Spends another day writing the test class and manages to get to 76% coverage
○ Whew! Job Done
Why Code Generation Matters
1. Code generation significantly boosts developer productivity
2. Code generation improves code quality and consistency
3. Code generation accelerates innovation and time-to-market
4. Code generation democratizes access to development skills
So, let’s have a look at some of the main code generation tools available to us
as developers today.
ChatGPT
What is it?
● A powerful large language model (LLM) chatbot developed by
OpenAI
● Can generate text, translate language , write different kinds of creative
content, and answer your questions in an informative way
● Generates creative, human-like code snippets
● Understands natural language instructions
● Can adapt to various coding styles and patterns
● Can provide inaccurate or misleading
code especially for complex Salesforce-
specific scenarios
● Requires careful validation before
deployment
● Still under development, reliability can be
inconsistent
Pros Cons
GitHub Copilot
What is it?
● AI-powered code suggestion tool developed by GitHub and
OpenAI
● Integrated directly into your code editor (e.g., VS Code)
● Suggests contextually relevant code in real-time
● "Learns" your coding style over time
● Works well for common, repetitive code
patterns
● Seamless VS Code integration
● May not grasp complex Apex logic or
Salesforce-specific nuances
● Can inadvertently introduce bad coding
habits if not carefully reviewed
● Costs $
Pros Cons
Einstein for Developers
What is it?
● Salesforce-native suite of AI-powered development tools
● Includes features like Code Generation, Code Completion, and Code
Recommendations
● Tailored to Salesforce, understands platform-specific
details
● Integrates seamlessly with Salesforce development
workflows (VS Code, Salesforce DX)
● Improves code quality and adherence to best
practices
● Less flexible in creative code generation
compared to ChatGPT
● May require some initial setup or
configuration
Pros Cons
Which One to Choose
Key Considerations
● Complexities of Code
○ Simple tasks? Copilot might do
○ Complex logic? Lead towards Einstein
○ Want experimental solutions? ChatGPT
● Salesforce Expertise
○ Deep platform knowledge favours Einstein
● Integration
○ Want it within your workflow? Einstein or Copilot shine
The Future of code Generation
● The Big Picture:
○ Code generation is rapidly evolving
○ Expect even more sophisticated and specialized tools to emerge
● Focus on Learning:
○ Don't let tools replace core Salesforce development skills
○ Use them to augment your expertise, not as a crutch
● A Collaborative Future:
○ Imagine tools understanding code intent, refactoring intelligently...
Einstein for Developers Setup
Step 1: Setup Einstein for Developers Setup
Einstein for Developers Setup
Step 2: Install the VSCode Extension
Einstein for Developers Setup
Step 3: Run your query
Tom Catchup
● He has been asked to write another class
● He has just listened to this talk and is
inspired to try Einstein for Developers
● So, as a good Salesforce AI Developer he:
○ creates a query in Einstein for Developer that create a large piece of the code he requires
○ Fills out the specifics of the code
○ Asks Einstein for Developers to create the test class for him
○ Tweaks the tests to get them to pass
○ Jobs done in 1 day.
STOP RECORDING
Brisbane Developer Group
Next Meeting
● Advanced Flow Concepts Every Developer Should Know
○ May 1 - 12pm, virtual with Tim Combridge
Session Topic Suggestions
LinkedIn Group
● https://www.linkedin.com/groups/14345387/
2024.04 - AI in Code Generation - April User Group Meeting

Más contenido relacionado

Similar a 2024.04 - AI in Code Generation - April User Group Meeting

Introduction to Agile Software Development & Python
Introduction to Agile Software Development & PythonIntroduction to Agile Software Development & Python
Introduction to Agile Software Development & Python
Tharindu Weerasinghe
 
Scale quality with kaizen - Tech.Rocks conference
Scale quality with kaizen - Tech.Rocks conferenceScale quality with kaizen - Tech.Rocks conference
Scale quality with kaizen - Tech.Rocks conference
Fabrice Bernhard
 
New voice, new tone, new IA: Writing for the modern developer
New voice, new tone, new IA: Writing for the modern developerNew voice, new tone, new IA: Writing for the modern developer
New voice, new tone, new IA: Writing for the modern developer
Keith Boyd
 
Code detox
Code detoxCode detox
Kickstarting career as an Android developer.pdf
Kickstarting career as an Android developer.pdfKickstarting career as an Android developer.pdf
Kickstarting career as an Android developer.pdf
ShreyaDhurde
 
Six Steps to Conversation Driven Development
Six Steps to Conversation Driven DevelopmentSix Steps to Conversation Driven Development
Six Steps to Conversation Driven Development
Rasa Technologies
 
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and MockitoQCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
Szczepan Faber
 
How to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software DeveloperHow to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software Developer
jeetendra mandal
 
Agile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin NakovAgile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin Nakov
Svetlin Nakov
 
JetBrains MPS
JetBrains MPSJetBrains MPS
Orientation session
Orientation sessionOrientation session
Orientation session
GoogleDeveloperStude2
 
Tooling Matters - Development tools
Tooling Matters - Development toolsTooling Matters - Development tools
Tooling Matters - Development tools
Simon Dittlmann
 
TDD in Agile
TDD in AgileTDD in Agile
TDD in Agile
Atish Narlawar
 
ChatGPT Usage In Software Development – Curse or Boon.pdf
ChatGPT Usage In Software Development – Curse or Boon.pdfChatGPT Usage In Software Development – Curse or Boon.pdf
ChatGPT Usage In Software Development – Curse or Boon.pdf
Laura Miller
 
Introduction
IntroductionIntroduction
Introduction
Skillspire LLC
 
The spirit of Opensource - lets plan to contribute ! @JWC16
The spirit of Opensource - lets plan to contribute ! @JWC16The spirit of Opensource - lets plan to contribute ! @JWC16
The spirit of Opensource - lets plan to contribute ! @JWC16
Parth Lawate
 
Why other ppl_dont_get_it
Why other ppl_dont_get_itWhy other ppl_dont_get_it
Why other ppl_dont_get_it
jaxLondonConference
 
The essentials of the IT industry or What I wish I was taught about at Univer...
The essentials of the IT industry or What I wish I was taught about at Univer...The essentials of the IT industry or What I wish I was taught about at Univer...
The essentials of the IT industry or What I wish I was taught about at Univer...
Equal Experts
 
ChatGPT usage in software development - curse or boon.pdf
ChatGPT usage in software development - curse or boon.pdfChatGPT usage in software development - curse or boon.pdf
ChatGPT usage in software development - curse or boon.pdf
Laura Miller
 
Debugging 2013- Lars pedersen
Debugging 2013- Lars pedersenDebugging 2013- Lars pedersen
Debugging 2013- Lars pedersen
Mediehuset Ingeniøren Live
 

Similar a 2024.04 - AI in Code Generation - April User Group Meeting (20)

Introduction to Agile Software Development & Python
Introduction to Agile Software Development & PythonIntroduction to Agile Software Development & Python
Introduction to Agile Software Development & Python
 
Scale quality with kaizen - Tech.Rocks conference
Scale quality with kaizen - Tech.Rocks conferenceScale quality with kaizen - Tech.Rocks conference
Scale quality with kaizen - Tech.Rocks conference
 
New voice, new tone, new IA: Writing for the modern developer
New voice, new tone, new IA: Writing for the modern developerNew voice, new tone, new IA: Writing for the modern developer
New voice, new tone, new IA: Writing for the modern developer
 
Code detox
Code detoxCode detox
Code detox
 
Kickstarting career as an Android developer.pdf
Kickstarting career as an Android developer.pdfKickstarting career as an Android developer.pdf
Kickstarting career as an Android developer.pdf
 
Six Steps to Conversation Driven Development
Six Steps to Conversation Driven DevelopmentSix Steps to Conversation Driven Development
Six Steps to Conversation Driven Development
 
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and MockitoQCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
QCon'17 talk: CI/CD at scale - lessons from LinkedIn and Mockito
 
How to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software DeveloperHow to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software Developer
 
Agile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin NakovAgile Methodologies And Extreme Programming - Svetlin Nakov
Agile Methodologies And Extreme Programming - Svetlin Nakov
 
JetBrains MPS
JetBrains MPSJetBrains MPS
JetBrains MPS
 
Orientation session
Orientation sessionOrientation session
Orientation session
 
Tooling Matters - Development tools
Tooling Matters - Development toolsTooling Matters - Development tools
Tooling Matters - Development tools
 
TDD in Agile
TDD in AgileTDD in Agile
TDD in Agile
 
ChatGPT Usage In Software Development – Curse or Boon.pdf
ChatGPT Usage In Software Development – Curse or Boon.pdfChatGPT Usage In Software Development – Curse or Boon.pdf
ChatGPT Usage In Software Development – Curse or Boon.pdf
 
Introduction
IntroductionIntroduction
Introduction
 
The spirit of Opensource - lets plan to contribute ! @JWC16
The spirit of Opensource - lets plan to contribute ! @JWC16The spirit of Opensource - lets plan to contribute ! @JWC16
The spirit of Opensource - lets plan to contribute ! @JWC16
 
Why other ppl_dont_get_it
Why other ppl_dont_get_itWhy other ppl_dont_get_it
Why other ppl_dont_get_it
 
The essentials of the IT industry or What I wish I was taught about at Univer...
The essentials of the IT industry or What I wish I was taught about at Univer...The essentials of the IT industry or What I wish I was taught about at Univer...
The essentials of the IT industry or What I wish I was taught about at Univer...
 
ChatGPT usage in software development - curse or boon.pdf
ChatGPT usage in software development - curse or boon.pdfChatGPT usage in software development - curse or boon.pdf
ChatGPT usage in software development - curse or boon.pdf
 
Debugging 2013- Lars pedersen
Debugging 2013- Lars pedersenDebugging 2013- Lars pedersen
Debugging 2013- Lars pedersen
 

Último

Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
jpupo2018
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 

Último (20)

Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 

2024.04 - AI in Code Generation - April User Group Meeting

  • 1.
  • 2.
  • 3. Peter Caitens Salesforce Lead Developer 8Squad Pty Ltd
  • 4. Todays Agenda Why Code Generation Matters Code Generation Tools Einstein for Developers
  • 5. Meet Tom ● Mid-level Salesforce Developer ● Works for a small real estate firm ● He has been asked to write a new utility class ● So as a good SF developer he: ○ Checks out Trailhead for the best practices ○ Spends 1 day writing his class ○ Spends another day writing the test class and manages to get to 76% coverage ○ Whew! Job Done
  • 6. Why Code Generation Matters 1. Code generation significantly boosts developer productivity 2. Code generation improves code quality and consistency 3. Code generation accelerates innovation and time-to-market 4. Code generation democratizes access to development skills So, let’s have a look at some of the main code generation tools available to us as developers today.
  • 7. ChatGPT What is it? ● A powerful large language model (LLM) chatbot developed by OpenAI ● Can generate text, translate language , write different kinds of creative content, and answer your questions in an informative way ● Generates creative, human-like code snippets ● Understands natural language instructions ● Can adapt to various coding styles and patterns ● Can provide inaccurate or misleading code especially for complex Salesforce- specific scenarios ● Requires careful validation before deployment ● Still under development, reliability can be inconsistent Pros Cons
  • 8. GitHub Copilot What is it? ● AI-powered code suggestion tool developed by GitHub and OpenAI ● Integrated directly into your code editor (e.g., VS Code) ● Suggests contextually relevant code in real-time ● "Learns" your coding style over time ● Works well for common, repetitive code patterns ● Seamless VS Code integration ● May not grasp complex Apex logic or Salesforce-specific nuances ● Can inadvertently introduce bad coding habits if not carefully reviewed ● Costs $ Pros Cons
  • 9. Einstein for Developers What is it? ● Salesforce-native suite of AI-powered development tools ● Includes features like Code Generation, Code Completion, and Code Recommendations ● Tailored to Salesforce, understands platform-specific details ● Integrates seamlessly with Salesforce development workflows (VS Code, Salesforce DX) ● Improves code quality and adherence to best practices ● Less flexible in creative code generation compared to ChatGPT ● May require some initial setup or configuration Pros Cons
  • 10. Which One to Choose Key Considerations ● Complexities of Code ○ Simple tasks? Copilot might do ○ Complex logic? Lead towards Einstein ○ Want experimental solutions? ChatGPT ● Salesforce Expertise ○ Deep platform knowledge favours Einstein ● Integration ○ Want it within your workflow? Einstein or Copilot shine
  • 11. The Future of code Generation ● The Big Picture: ○ Code generation is rapidly evolving ○ Expect even more sophisticated and specialized tools to emerge ● Focus on Learning: ○ Don't let tools replace core Salesforce development skills ○ Use them to augment your expertise, not as a crutch ● A Collaborative Future: ○ Imagine tools understanding code intent, refactoring intelligently...
  • 12. Einstein for Developers Setup Step 1: Setup Einstein for Developers Setup
  • 13. Einstein for Developers Setup Step 2: Install the VSCode Extension
  • 14. Einstein for Developers Setup Step 3: Run your query
  • 15. Tom Catchup ● He has been asked to write another class ● He has just listened to this talk and is inspired to try Einstein for Developers ● So, as a good Salesforce AI Developer he: ○ creates a query in Einstein for Developer that create a large piece of the code he requires ○ Fills out the specifics of the code ○ Asks Einstein for Developers to create the test class for him ○ Tweaks the tests to get them to pass ○ Jobs done in 1 day.
  • 16.
  • 18. Brisbane Developer Group Next Meeting ● Advanced Flow Concepts Every Developer Should Know ○ May 1 - 12pm, virtual with Tim Combridge Session Topic Suggestions LinkedIn Group ● https://www.linkedin.com/groups/14345387/