JCL

FEUP/DEI & INESC TEC

User Tools

Site Tools


teach:fpro:lectures:15

LE15: 07/12/2020

Master in Informatics and Computing Engineering
Programming Fundamentals
Instance: 2020/2021


Lecture #15 :: 07/12/2020

Goals

By the end of this class, the student should be able to:

  • Describe the use of pure functions, immutable datatypes and Functional Programming
  • Describe advanced collection concepts using Lists of Tuples
  • Simplify list processing using Sequence Processing Functions: map(), filter() and reduce()
  • Describe advanced list sorting
  • Clarify code using lambda forms

Content

  • Functional programming with collections
    • Introduction
    • Functional Programming
    • Lists of Tuples
    • Sequence Processing Functions: map(), filter() and reduce()
    • Advanced List Sorting
    • The Lambda

Bibliography

  • A. M. Kuchling, Functional Programming HOWTO, Python 3.8 documentation, Release 0.32 HTML

Materials

Summary

  • Functional Programming. Pure functions. Advanced collection concepts using Lists of Tuples. Sequence Processing Functions: map(), filter(), reduce(). Advanced list sorting. Lambda forms.

FPRO, 2020/21

« Previous | Index | Next »

teach/fpro/lectures/15.txt · Last modified: 03/01/2021 17:43 by Correia Lopes