Coder Social home page Coder Social logo

coding_better_faster's Introduction

Technical debt is 'debt' you accumulate when you write code and build tools quickly, but which later slow you down when trying to add additional functionality. With Large Language Models like GPT-4, you can reduce this debt upfront with better code and coding practices. In this workshop, we’ll leverage GPT to transform 'runnable' code into code that is easier to worth with and extend via version control, documentation, and code refactoring.

Taking Out Less Technical Debt in R (with chatGPT)

These materials are for use with October 18 workshop at the 2023 Government & Public Sector R Conference.

The target audience is:

  • Comfortable writing code in R to solve data problems like reading in files, aggregating data, and making graphs

  • Interested in improving their code and processes to take "code that runs" and make it "code that other people (or you in the future) can understand, run, and build on" via practices like documentation, code refactoring, and version control

  • Wants to learn how to use chatGPT to get there faster in order to reduce technical debt upfront

What's Changing, What's Not

Which large language models we're using and the mechanics of how you access them (like in-browser vs. in-IDE, like RStudio) are hugely in flux, but there are going to some constants:

  • Good coding practices are still those which make your code more understandable, less error-prone, and easier to build on (by yourself or someone else)

  • Large language models can assist you to get there faster and more easily, but they require oversight at each step, so you need to know what you want your end result to look like

Workshop notes:

This is an interactive workshop. Please bring a laptop and do the following ahead of time:

  • Have the latest version of R and RStudio installed
  • Have git installed and an account on GitHub
  • Have access to an Large Language Model. The easiest way to get this is to sign up for OpenAI or Anthropic.

coding_better_faster's People

Contributors

abigailhaddad avatar bpbraun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.