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

Writing Python like it's Rust - more robust code with type hints

00:00

Formal Metadata

Title
Writing Python like it's Rust - more robust code with type hints
Title of Series
Number of Parts
131
Author
Contributors
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
Using type hints in Python has many advantages, some of which might not be obvious at first. We will see that it allows us to explicitly encode invariants in our code, which reduces the amount of tests that we need to write, it improves development speed and maintainability, and perhaps most importantly, it can give us more confidence that our code does what we expect it to do. We will also go through code examples that will show us how to leverage typing in Python to design APIs that cannot be easily misused, to create robust programs that we can trust. Audience members are expected to be able to read and understand Python code.
CodeDesign of experimentsBlogStudent's t-testSupercomputerBlogOpen sourceProjective planeStudent's t-testUniverse (mathematics)Computer scienceComputer animationLecture/Conference
Student's t-testSource codeCompilerMetric systemSuccessive over-relaxationType theoryInterior (topology)CompilerContinuous integrationProgramming languageData typeType theoryBoolean algebraIntegrated development environmentCodeRun time (program lifecycle phase)Web browserPresentation of a groupSlide ruleModule (mathematics)Electronic signatureRight angleFunctional (mathematics)String (computer science)Complete metric spaceData dictionaryPatch (Unix)Dynamical systemWritingSoftware bugBitCrash (computing)Computer programmingOnline helpLibrary (computing)Latent heatParameter (computer programming)Bookmark (World Wide Web)CASE <Informatik>Programmer (hardware)Flow separationForm (programming)Fluid staticsError messagePhysical systemSoftware frameworkIntegerInformationBoundary value problemPower (physics)Confidence intervalRevision controlInterface (computing)Configuration spaceFormal language1 (number)HypothesisNoise (electronics)ExpressionSynchronizationAdditionSoftware testingField (computer science)Software maintenanceVariable (mathematics)Social classMultiplication signFeedbackPrimitive (album)Electronic mailing listMathematicsMappingWeb pageSimilarity (geometry)Computer animation
CodeString (computer science)Run time (program lifecycle phase)Ordinary differential equationDesign of experimentsBit rateEnterprise resource planningPrototypeInformation securityIntegrated development environmentType theoryDatabaseCodeInformationBitComplete metric spaceFunctional (mathematics)Social classError messageDomain nameString (computer science)TupleData dictionaryRandomizationField (computer science)WordSummierbarkeitPhysical systemCode refactoringQuicksortPrototypeSoftware bugNormal (geometry)Information securityAuthorizationRun time (program lifecycle phase)Interactive televisionProduct (business)Radical (chemistry)Loop (music)Fiber bundleFeedbackDevice driverScripting languageTypprüfungConfidence intervalLevel (video gaming)Formal languageHacker (term)Functional programmingSuite (music)Software testing2 (number)LaptopOnline helpLibrary (computing)Dynamical systemRepository (publishing)NumberSynchronizationPersonal identification number (Denmark)Line (geometry)Invariant (mathematics)Computer programmingRight angleIntegerBenchmarkComputer animation
Device driverOrdinary differential equationAreaPattern languageClient (computing)Design of experimentsString (computer science)State of matterPasswordBuildingType theoryFinite-state machineType theoryMessage passingClient (computing)Invariant (mathematics)Software bugCodeIntrusion detection systemSocial classDevice driverIntegerMultiplication signComplex (psychology)WritingQuicksortRadio-frequency identificationPasswordFunctional (mathematics)Variable (mathematics)Finite-state machineData structureAuthenticationToken ringParameter (computer programming)Block (periodic table)Run time (program lifecycle phase)Right angleFlow separationQR codeSet (mathematics)Connected spaceSoftware testingState of matterError messageBlogElectronic visual display2 (number)BitAttribute grammarRepresentation (politics)Closed setContext awarenessData managementConfidence interval1 (number)Computer programmingDatabaseSlide ruleMachine codePhysical systemCASE <Informatik>Different (Kate Ryan album)RandomizationSelectivity (electronic)Row (database)CuboidComputer animation
Slide ruleMultiplication signLibrary (computing)Right angleFormal languageLecture/Conference
Type theoryLibrary (computing)Software developerLevel (video gaming)Machine learningInterpreter (computing)Formal languageCore dumpPhysical systemMultiplication signSound effectCodePrime idealOnline helpRaster graphicsContext awarenessLecture/ConferenceComputer animation
Transcript: English(auto-generated)