Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lightning Talk - Call Graphs

Lightning Talk - Call Graphs

Gain insights into how behaviour is being invoked and avoid common pitfalls through Call Graph Diagrams.

F1cc70c45ba7c0ef2af982701e71fdd5?s=128

James Moriarty

April 12, 2019
Tweet

Transcript

  1. FUTURE MEDIA LAB

  2. James Moriarty

  3. class A def self.z B.y end end class B def

    self.y puts "hello world" end end A.z # => "hello world" “message passing is a technique for invoking behavior” A -- y -> B • A is the sender • B is the receiver • y is the message
  4. “a set of vertices and edges”

  5. class A def self.x B.new.y end end class B def

    y 1 + C.z do 1 end end end class C def self.z yield end end
  6. None
  7. None
  8. None
  9. module Poto module FileRepository module AWS class S3 def all(prefix:,

    page:, per_page:) objects = client.objects( page: page, per_page: per_page, prefix: prefix ) FileCollectionMapper.new(objects).call end end end end end
  10. None