Functional Python in 100 seconds

Veröffentlicht am: 30 Dezember 2022
auf dem Kanal: Luke Wilson
8,191
207

Python supports functional programming such as functions as first-class objects. Functions are considered to be objects with arguments and return values. This is in contrast to most other programming languages where functions are treated as "code blocks" or "procedures".

Most programming languages are procedural: programs are lists of instructions that tell the computer what to do with the program's input.

Functional programming simplifies problems into individual functions. Ideally, functions are pure, which means they don’t have any state that affects the output. Functions can also be impure, which means they do retain state.

Some programming languages are multi-paradigm, which allow you to write either procedural, object-oriented, or functional code depending on the problem. Python is one of these languages.

CHAPTERS

0:00 Definitions
0:25 Procedural function
0:44 Generator / pure function
1:02 Higher-order function


Auf dieser Seite können Sie das Online-Video Functional Python in 100 seconds mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Luke Wilson 30 Dezember 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8,191 Mal angesehen und es wurde von 207 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!