www.wikidata.uk-ua.nina.az
Avtovivifikaciya angl autovivification avtomatichne stvorennya novih masiviv ta heshiv shorazu koli zvertayutsya do neopisanogo znachennya vseredini nih Z yavilas v movi Perl i dozvolyaye programistu zvertatis do strukturi danih ta dovilnih yiyi pidelementiv bez yavnogo stvorennya strukturi danih pered zvertannyam 1 Zmist 1 Emulyaciya v inshih movah programuvannya 1 1 Python 2 Div takozh 3 Znoski 4 PosilannyaEmulyaciya v inshih movah programuvannya RedaguvatiPython Redaguvati Modul collections mistit klas defaultdict 2 yakij mozhna vikoristati dlya realizaciyi avtovivifikovnih slovnikiv za dopomogoyu prostoyi rekursivnoyi funkciyi 3 from collections import defaultdict Tree lambda defaultdict Tree common name Tree common name Mammalia Primates Homo H sapiens human being Vidomi citati za p yesoyu aktom ta scenoyu quotes Tree quotes Hamlet 1 3 0 This above all to thine own self be true Div takozh RedaguvatiStrategiyi obchislennya Zminna programuvannya VivifikaciyaZnoski Redaguvati Schwartz Randal L Phoenix Tom 2003 Learning Perl Objects O Reilly Media Inc s 42 ISBN 9780596004781 This process is called autovivification Any nonexisting variable or a variable containing undef which is dereferenced while looking for a variable location technically called an lvalue context is automatically stuffed with the appropriate reference to an empty item collections High performance container datatypes Python v2 documentation Arhiv originalu za 14 serpnya 2014 Procitovano 14 serpnya 2013 What is the best way to implement nested dictionaries in Python Procitovano 14 serpnya 2013 Posilannya Redaguvatiperl561delta File and directory handles can be autovivified Arhivovano 18 listopada 2010 u Wayback Machine Autovivification in Perl An In Depth Tutorial Arhivovano 26 grudnya 2013 u Wayback Machine A Use of the Y Combinator in Ruby Arhivovano 27 kvitnya 2012 u Wayback Machine Implements autovivification in Ruby with the Y Combinator Hash autonew in the Ruby gem facets adds autovivification on hash reads Arhivovano 14 serpnya 2014 u Wayback Machine The Ruby gem xkeys facilitates nested structure traversal and autovivifies on array or hash writes Arhivovano 14 serpnya 2014 u Wayback Machine Otrimano z https uk wikipedia org w index php title Avtovivifikaciya amp oldid 35829061