We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

A Taxonomy of Decorators: A-E

00:00

Formal Metadata

Title
A Taxonomy of Decorators: A-E
Title of Series
Number of Parts
132
Author
License
CC Attribution - NonCommercial - ShareAlike 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
This talk will briefly go over the various decorator syntaxes before breaking up the common usages of decorators into 5 categories. Effectively, these are design patterns for decorators. The usages to be considered are: A - Argument Changing Decorators -- Decorators that change a function's arguments, including changing its signature B - Binding Decorators -- Decorators that implement the Descriptor Protocol, such as the builtins: @property, @classmethod, and @staticmethod C - Control Flow Decorators -- Decorators that change when or whether the function will be called, such as @retry or @lrucache D - Descriptive Decorators -- Decorators that do not change the function, but create a reference to it elsewhere, like pytest.mark and flask.app.route E - Execution Decorators -- Decorators that retrieve source code and/or AST and alter it.
NP-hardBoom (sailing)ImplementationSocial classFunction (mathematics)CodeSheaf (mathematics)DebuggerHelixParameter (computer programming)Algebraic closureUniformer RaumMetropolitan area networkElectronic signatureSocial classFunctional (mathematics)Algebraic closureString (computer science)Letterpress printingException handlingSoftware testingSinc functionSoftware developerLine (geometry)MathematicsCASE <Informatik>Point (geometry)Multiplication signParameter (computer programming)Web pageSign (mathematics)CodeRevision controlHypermediaMathematical analysisResultantImage warpingComplex (psychology)Type theoryDebuggerVideo gameFuzzy logicBitUniform resource locatorElectronic mailing listQuicksortFluid staticsSet (mathematics)Constructor (object-oriented programming)Reading (process)Category of beingPattern languageSheaf (mathematics)Numerical taxonomyOrder (biology)MultiplicationSoftware design patternWrapper (data mining)System callRight angleComputer animation
ImplementationFunction (mathematics)Communications protocolLibrary (computing)Real numberProgramming languageHybrid computerNormal (geometry)Formal grammarKontrollflussControl flowRandom numberPlug-in (computing)Image registrationNP-hardCodeRule of inferenceSource codeSample (statistics)Boom (sailing)Normal (geometry)Fluid staticsCategory of beingRule of inferenceImplementationParameter (computer programming)InfinityCodeProgramming languageNumber1 (number)Mobile appRun time (program lifecycle phase)Functional (mathematics)Electronic mailing listSource codeCommunications protocolError messageTypprüfungWeb 2.0Pattern languageQuicksortExterior algebraObject (grammar)Instance (computer science)Control flowSocial classAttribute grammarBytecodeAsynchronous Transfer ModeMixed realityFunctional programmingKeyboard shortcutLine (geometry)Query languageCASE <Informatik>Multiplication signLevel (video gaming)NamespaceSpacetimeInheritance (object-oriented programming)Library (computing)Plug-in (computing)Event horizonSoftware frameworkContext awarenessSampling (statistics)SequelEndliche ModelltheorieGreatest elementSoftware testingDataflowAbstract syntax treeComputer animation
Parameter (computer programming)Keyboard shortcutInternetworkingNumerical taxonomyImplementationPlug-in (computing)Image registrationNP-hardAlgebraic closureFunction (mathematics)Control flowParameter (computer programming)Water vaporCache (computing)Structural loadNumerical taxonomyLibrary (computing)BytecodeRight angleMultiplication signUnit testingMereologyStatement (computer science)Term (mathematics)Level (video gaming)WritingDebuggerNamespaceCommunications protocolExecution unitElectronic mailing listCASE <Informatik>Standard deviationMixed realityType theoryFunctional (mathematics)Slide ruleImplementationBlogContext awarenessAsynchronous Transfer ModeData managementSocial classTwitterKey (cryptography)Abstract syntax treeQuicksortDegree (graph theory)Module (mathematics)Hybrid computerPoisson-KlammerCodeInformationCategory of beingGreatest elementCodeMusical ensembleSound effectComputer animation
Computer animation
Transcript: English(auto-generated)