32 - Functional#

How to Tackle Assignment #7#

  • How to represent an employee and how to represent a list of employees?

  • How to read employees from a file and put them into the designed data structure?

  • How to perform an operation requested on the designed data structure?

Bottom Up or Top Down#

  • Bottom up

    • str-split

    • get-earning

    • print

    • test

    • read-file (recursive, readline and str-split)

  • Top down

    • Perform (read-file, filter, apply)