Skip to content

Instantly share code, notes, and snippets.

@bkyrlach
Forked from anonymous/Imperative.scala
Created April 7, 2014 20:42
Show Gist options
  • Save bkyrlach/10048612 to your computer and use it in GitHub Desktop.
Save bkyrlach/10048612 to your computer and use it in GitHub Desktop.
// result is never used, can this line be removed?
val result = calculate(input)
update(input)
save(input.child)
foo()
// can the above four lines be re-arranged in a different order?
// can foo even be deleted?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment