SlideShare a Scribd company logo
1 of 19
Download to read offline
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

More Related Content

Similar to 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 & PythonTharindu 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 conferenceFabrice 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 developerKeith Boyd
 
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.pdfShreyaDhurde
 
Six Steps to Conversation Driven Development
Six Steps to Conversation Driven DevelopmentSix Steps to Conversation Driven Development
Six Steps to Conversation Driven DevelopmentRasa 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 MockitoSzczepan 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 Developerjeetendra 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 NakovSvetlin Nakov
 
Tooling Matters - Development tools
Tooling Matters - Development toolsTooling Matters - Development tools
Tooling Matters - Development toolsSimon Dittlmann
 
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.pdfLaura Miller
 
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 ! @JWC16Parth Lawate
 
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.pdfLaura Miller
 

Similar to 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
 

Recently uploaded

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

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/