Exercises in Style

Exercises in Style

Strange Loop Conference via YouTube Direct link

Main Characteristics Functions take one additional parameter, f called at the end * given what would normally be the return value plus the next function

9 of 12

9 of 12

Main Characteristics Functions take one additional parameter, f called at the end * given what would normally be the return value plus the next function

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Exercises in Style

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Programming Styles Ways of expressing tasks Exist at all scales Recur in multiple scales Codified in PLS
  3. 3 Why Are Styles Important? Many Common vocabularies Basic frames of reference Some better than others Depending on many things!
  4. 4 Why Are Styles Important? Many Common vocabularies Basic frames of reference Some better than others - Depending on many things!
  5. 5 Main Characteristics No abstractions Heavy control flow
  6. 6 Main Characteristics No [named] abstractions Very few [long] lines of code Advanced libraries / constructs
  7. 7 Main Characteristics Procedural abstractions maybe input, no output Shared state Commands
  8. 8 Main Characteristics Function abstractions f: Input → Output No shared state Function composition fºg
  9. 9 Main Characteristics Functions take one additional parameter, f called at the end * given what would normally be the return value plus the next function
  10. 10 Main Characteristics Things, things and more things! Capsules of data and procedures Data is never accessed directly Capsules say "I do the same things as that one, and more!"
  11. 11 Main Characteristics (Similar to #6) Capsules receive messages via single receiving procedure
  12. 12 Main Characteristics Two key abstractions: map(f, chunks) and reduce(g, results)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.