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

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Kürzlich hochgeladen (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 

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/