{"id":6596,"date":"2026-04-13T11:50:41","date_gmt":"2026-04-13T11:50:41","guid":{"rendered":"http:\/\/the-codest.localhost\/dictionary\/hungarian-notation\/"},"modified":"2026-04-13T11:50:50","modified_gmt":"2026-04-13T11:50:50","slug":"ungaru-valodas-notacija","status":"publish","type":"dictionary","link":"https:\/\/thecodest.co\/lv\/dictionary\/hungarian-notation\/","title":{"rendered":"Ung\u0101ru valodas not\u0101cija"},"content":{"rendered":"<h1>Ung\u0101ru valodas not\u0101cija: Defin\u012bcija<\/h1>\n<p>Ung\u0101ru not\u0101cija ir datorprogramm\u0113\u0161an\u0101 izmantota nosaukumu pie\u0161\u0137ir\u0161anas konvencija, lai nor\u0101d\u012btu <a href=\"https:\/\/thecodest.co\/lv\/blog\/app-data-collection-security-risks-value-and-types-explored\/\">dati<\/a> main\u012bg\u0101 tips. \u0160o konvenciju izgudroja ung\u0101ru izcelsmes \u010c\u0101rlzs Simonijs (Charles Simonyi). <a href=\"https:\/\/thecodest.co\/lv\/blog\/whats-the-difference-between-software-engineer-and-software-architect\/\">programmat\u016bras in\u017eenieris<\/a> kur\u0161 80. gados str\u0101d\u0101ja Microsoft Corporation. S\u0101kotn\u0113ji \u0161\u012b not\u0101cija tika izstr\u0101d\u0101ta, lai pal\u012bdz\u0113tu Simonijam un vi\u0146a kol\u0113\u0123iem rakst\u012bt <a href=\"https:\/\/thecodest.co\/lv\/dictionary\/what-is-code-refactoring\/\">kods<\/a> pirmaj\u0101m Microsoft Word versij\u0101m.<\/p>\n<p>Ung\u0101ru valodas not\u0101cijas pamatideja ir pievienot main\u012bg\u0101 nosaukumam prefiksu, kas nor\u0101da t\u0101 datu tipu. Piem\u0113ram, main\u012bgo, kas glab\u0101 veselu skaitli, var nosaukt par \u201ciCount\u201d, bet main\u012bgo, kas glab\u0101 virkni, var nosaukt par \u201cstrName\u201d. Prefikss \u201ci\u201d nor\u0101da, ka main\u012bgais ir vesels skaitlis, bet prefikss \u201cstr\u201d nor\u0101da, ka main\u012bgais ir virkne.<\/p>\n<p>Lai gan s\u0101kotn\u0113ji ung\u0101ru not\u0101cija tika izstr\u0101d\u0101ta izmanto\u0161anai kop\u0101 ar programm\u0113\u0161anas valodu C, kop\u0161 t\u0101 laika to ir p\u0101r\u0146\u0113mu\u0161as ar\u012b citas programm\u0113\u0161anas valodas. <a href=\"https:\/\/thecodest.co\/lv\/blog\/top-programming-languages-to-build-e-commerce\/\">programm\u0113\u0161anas valodas<\/a>, tostarp C++, <a href=\"https:\/\/thecodest.co\/lv\/blog\/find-the-right-java-developer-now\/\">Java<\/a>, un C#. Laika gait\u0101 ir att\u012bst\u012bjusies ar\u012b not\u0101cija, un da\u017e\u0101diem datu tipiem tiek izmantoti da\u017e\u0101di prefiksi.<\/p>\n<p>Neraugoties uz t\u0101s popularit\u0101ti, da\u017ei programm\u0113t\u0101ji ir kritiz\u0113ju\u0161i ung\u0101ru not\u0101ciju par to, ka t\u0101 ir p\u0101r\u0101k daudzrun\u012bga un apgr\u016btina kodu. Citi apgalvo, ka t\u0101 var b\u016bt mulsino\u0161a, jo \u012bpa\u0161i tad, ja vienam un tam pa\u0161am datu tipam da\u017e\u0101d\u0101s programmas da\u013c\u0101s tiek izmantoti da\u017e\u0101di prefiksi.<\/p>\n<p>Neraugoties uz \u0161o kritiku, ung\u0101ru not\u0101cija joproj\u0101m ir popul\u0101ra nosauk\u0161anas konvencija daudz\u0101s programm\u0113t\u0101ju kopien\u0101s. T\u0101 var b\u016bt \u012bpa\u0161i noder\u012bga lielos programm\u0113\u0161anas projektos, kur t\u0101 var pal\u012bdz\u0113t programm\u0113t\u0101jiem \u0101tri noteikt main\u012bg\u0101 datu tipu, nemekl\u0113jot kodu.<\/p>\n<p>Kopum\u0101 ung\u0101ru not\u0101cija ir noder\u012bgs r\u012bks tiem programm\u0113t\u0101jiem, kuri v\u0113las rakst\u012bt skaidru un viegli las\u0101mu kodu. Lai gan tas var neb\u016bt piem\u0113rots visiem programm\u0113\u0161anas <a href=\"https:\/\/thecodest.co\/lv\/dictionary\/why-do-projects-fail\/\">projekts<\/a>, t\u0101 var b\u016bt v\u0113rt\u012bgs papildin\u0101jums programm\u0113t\u0101ja r\u012bku komplekt\u0101.<\/p>","protected":false},"excerpt":{"rendered":"<p>Uzziniet vair\u0101k par ung\u0101ru not\u0101ciju - programm\u0113\u0161an\u0101 izmantoto nosaukumu konvenciju, lai nor\u0101d\u012btu main\u012bgo datu tipus. Izgudroja \u010c\u0101rlzs Simonijs 80. gados.<\/p>","protected":false},"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-6596","dictionary","type-dictionary","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Hungarian Notation - The Codest<\/title>\n<meta name=\"description\" content=\"Learn about Hungarian Notation, a naming convention used in programming to indicate variable data types. Invented by Charles Simonyi in the 1980s.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecodest.co\/lv\/vardnica\/ungaru-valodas-notacija\/\" \/>\n<meta property=\"og:locale\" content=\"lv_LV\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hungarian Notation\" \/>\n<meta property=\"og:description\" content=\"Learn about Hungarian Notation, a naming convention used in programming to indicate variable data types. Invented by Charles Simonyi in the 1980s.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecodest.co\/lv\/vardnica\/ungaru-valodas-notacija\/\" \/>\n<meta property=\"og:site_name\" content=\"The Codest\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-13T11:50:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecodest.co\/app\/uploads\/2024\/06\/cover-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/dictionary\\\/hungarian-notation\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/dictionary\\\/hungarian-notation\\\/\",\"name\":\"Hungarian Notation - The Codest\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\"},\"datePublished\":\"2026-04-13T11:50:41+00:00\",\"dateModified\":\"2026-04-13T11:50:50+00:00\",\"description\":\"Learn about Hungarian Notation, a naming convention used in programming to indicate variable data types. Invented by Charles Simonyi in the 1980s.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/dictionary\\\/hungarian-notation\\\/#breadcrumb\"},\"inLanguage\":\"lv\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/dictionary\\\/hungarian-notation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/dictionary\\\/hungarian-notation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thecodest.co\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dictionary\",\"item\":\"https:\\\/\\\/thecodest.co\\\/sv\\\/ordbok\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Hungarian Notation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"name\":\"The Codest\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thecodest.co\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"lv\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"lv\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"width\":144,\"height\":36,\"caption\":\"The Codest\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/pl.linkedin.com\\\/company\\\/codest\",\"https:\\\/\\\/clutch.co\\\/profile\\\/codest\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ung\u0101ru valodas not\u0101cija - The Codest","description":"Uzziniet vair\u0101k par ung\u0101ru not\u0101ciju - programm\u0113\u0161an\u0101 izmantoto nosaukumu konvenciju, lai nor\u0101d\u012btu main\u012bgo datu tipus. Izgudroja \u010c\u0101rlzs Simonijs 80. gados.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thecodest.co\/lv\/vardnica\/ungaru-valodas-notacija\/","og_locale":"lv_LV","og_type":"article","og_title":"Hungarian Notation","og_description":"Learn about Hungarian Notation, a naming convention used in programming to indicate variable data types. Invented by Charles Simonyi in the 1980s.","og_url":"https:\/\/thecodest.co\/lv\/vardnica\/ungaru-valodas-notacija\/","og_site_name":"The Codest","article_modified_time":"2026-04-13T11:50:50+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/thecodest.co\/app\/uploads\/2024\/06\/cover-image.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/thecodest.co\/dictionary\/hungarian-notation\/","url":"https:\/\/thecodest.co\/dictionary\/hungarian-notation\/","name":"Ung\u0101ru valodas not\u0101cija - The Codest","isPartOf":{"@id":"https:\/\/thecodest.co\/#website"},"datePublished":"2026-04-13T11:50:41+00:00","dateModified":"2026-04-13T11:50:50+00:00","description":"Uzziniet vair\u0101k par ung\u0101ru not\u0101ciju - programm\u0113\u0161an\u0101 izmantoto nosaukumu konvenciju, lai nor\u0101d\u012btu main\u012bgo datu tipus. Izgudroja \u010c\u0101rlzs Simonijs 80. gados.","breadcrumb":{"@id":"https:\/\/thecodest.co\/dictionary\/hungarian-notation\/#breadcrumb"},"inLanguage":"lv","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thecodest.co\/dictionary\/hungarian-notation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/thecodest.co\/dictionary\/hungarian-notation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thecodest.co\/"},{"@type":"ListItem","position":2,"name":"Dictionary","item":"https:\/\/thecodest.co\/sv\/ordbok\/"},{"@type":"ListItem","position":3,"name":"Hungarian Notation"}]},{"@type":"WebSite","@id":"https:\/\/thecodest.co\/#website","url":"https:\/\/thecodest.co\/","name":"The Codest","description":"","publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thecodest.co\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"lv"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"lv","@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","width":144,"height":36,"caption":"The Codest"},"image":{"@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/pl.linkedin.com\/company\/codest","https:\/\/clutch.co\/profile\/codest"]}]}},"_links":{"self":[{"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/dictionary\/6596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/dictionary"}],"about":[{"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/types\/dictionary"}],"version-history":[{"count":1,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/dictionary\/6596\/revisions"}],"predecessor-version":[{"id":11001,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/dictionary\/6596\/revisions\/11001"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/media?parent=6596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}