Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

CodeNuggets - Preview

Avatar for Victor Guana Victor Guana
May 17, 2016
9.2k

CodeNuggets - Preview

Avatar for Victor Guana

Victor Guana

May 17, 2016
Tweet

Transcript

  1. 1. What is the problem? Developers have a well established

    workflow when troubleshooting coding problems. This process often includes accessing code examples in sites such as stack overflow and others.
  2. 1. What is the problem? Developers have a well established

    workflow when troubleshooting coding problems. This process often includes accessing code examples in sites such as stack overflow and others.
  3. 1. What is the problem? Scenario 1. Feat. Richard Feynman

    I need to write a function to save data in a physics simulation application.
  4. Feat. Richard Feynman I need to use a FileWriter, and

    then a BufferedWriter? Oh man, I don’t remember the API usage recepy. 1. What is the problem? Scenario 1.
  5. Feat. Richard Feynman I guess I’ll have to Google examples

    using the keywords that I remember. 1. What is the problem? Scenario 1.
  6. More often than not, troubleshooting coding problems is not a

    trivial task that can be solved using autocompletion tools. 1. What is the problem?
  7. 1. What is the problem? More often than not, troubleshooting

    coding problems is not a trivial task that can be solved using autocompletion tools. Code Nuggets is not a code prediction tool!
  8. Feat. Richard Feynman I need to send a considerable amount

    of physics data to a remote cluster for further processing! 1. What is the problem? Scenario 2.
  9. Feat. Richard Feynman The interface of the processing server follows

    a SOAP standard. I need to develop a SOAP client! 1. What is the problem? Scenario 2.
  10. 2. What is Code Nuggets? Code Nuggets is an eclipse

    plugin that allows developers to search and insert code snippets available in Gist directly in eclipse. Feat. Richard Feynman It allows developers to code by example! relying on publicly available solutions from the best developers around the globe.
  11. 2. What is Code Nuggets? Gist is an online platform

    created by Github to share snippets and pastes among developers.
  12. 2. What is Code Nuggets? All gists are Git repositories,

    so they are automatically versioned, forkable and usable from Git.
  13. 2. What is Code Nuggets? Currently more than 10 millions

    of gists, written in all the imaginable programming and scripting languages, are accessible from the Gist website.
  14. 2. What is Code Nuggets? Gist is a rich source

    of coding examples that could potentially provide developers
  15. 1. What API should I use to solve a given

    problem? 2. How does my code compare with implementations of more experienced developers? 3. Is there an alternative solution to my current problem? (e.g. due to deprecation)
  16. It also extracts the types used in a method or

    class (API usage inference) C. Context-based Search