SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Kürzlich hochgeladen (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 

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/