REPL & Scripts

Session Overview

  • Leveraging REPL for fast iteration
  • Best Practices for Script Construction
  • Comments
  • Beginnings of Workflow Management

Let’s Play!

IDE Tour

  • Console
  • Environment
  • Files
  • Scripts
  • Notebooks
  • Using the REPL

Best Practices / Workflow Management

  • Prioritize Readability
  • Use intelligible Variable Names
  • Use Comments
  • Run your code!
  • Save files with meaningful names & numbers
  • Separate parts of your workflow into logical sequence (blocks in the code)

Exercise

Create a script that calculates 5 factorial when run…

…then run it! :)