{"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":"ungversk-tonsetning","status":"publish","type":"dictionary","link":"https:\/\/thecodest.co\/is\/dictionary\/hungarian-notation\/","title":{"rendered":"Ungversk t\u00e1knsetning"},"content":{"rendered":"<h1>Ungversk t\u00e1knasetning: skilgreining<\/h1>\n<p>Ungversk t\u00e1knsetning er nafngiftarregla sem notu\u00f0 er \u00ed t\u00f6lvuforritun til a\u00f0 gefa til kynna <a href=\"https:\/\/thecodest.co\/is\/blog\/app-data-collection-security-risks-value-and-types-explored\/\">g\u00f6gn<\/a> tegund breytu. Venjan var fundin upp af Charles Simonyi, ungverskf\u00e6ddan <a href=\"https:\/\/thecodest.co\/is\/blog\/whats-the-difference-between-software-engineer-and-software-architect\/\">hugb\u00fana\u00f0arverkfr\u00e6\u00f0ingur<\/a> sem vann hj\u00e1 Microsoft Corporation \u00e1 \u00e1ttunda \u00e1ratugnum. T\u00e1knakerfi\u00f0 var upphaflega \u00fer\u00f3a\u00f0 til a\u00f0 hj\u00e1lpa Simonyi og samstarfsm\u00f6nnum hans a\u00f0 skrifa <a href=\"https:\/\/thecodest.co\/is\/dictionary\/what-is-code-refactoring\/\">k\u00f3\u00f0i<\/a> fyrir fyrstu \u00fatg\u00e1furnar af Microsoft Word.<\/p>\n<p>Grunnmyndin \u00e1 bak vi\u00f0 ungverska t\u00e1knafr\u00e6\u00f0i er a\u00f0 b\u00e6ta forli\u00f0 vi\u00f0 nafni\u00f0 \u00e1 breytunni sem gefur til kynna g\u00f6gnategund hennar. Til d\u00e6mis g\u00e6ti breyta sem geymir heilt\u00f6lugildi heiti\u00f0 \u201ciCount\u201d, \u00e1 me\u00f0an breyta sem geymir streng g\u00e6ti heiti\u00f0 \u201cstrName\u201d. Forli\u00f0urinn \u201ci\u201d gefur til kynna a\u00f0 breytan s\u00e9 heiltala, en forli\u00f0urinn \u201cstr\u201d gefur til kynna a\u00f0 breytan s\u00e9 strengur.<\/p>\n<p>\u00de\u00f3 a\u00f0 Ungversk t\u00e1knsetning hafi upphaflega veri\u00f0 \u00fer\u00f3u\u00f0 til notkunar me\u00f0 C forritunarm\u00e1linu, hefur h\u00fan s\u00ed\u00f0an veri\u00f0 tekin upp af \u00f6\u00f0rum <a href=\"https:\/\/thecodest.co\/is\/blog\/top-programming-languages-to-build-e-commerce\/\">forritunarm\u00e1l<\/a>, \u00fear \u00e1 me\u00f0al C++, <a href=\"https:\/\/thecodest.co\/is\/blog\/find-the-right-java-developer-now\/\">Java<\/a>, og C#. T\u00e1knahef\u00f0in hefur einnig \u00fer\u00f3ast me\u00f0 t\u00edmanum, \u00fear sem mismunandi forskot eru notu\u00f0 fyrir mismunandi gagnategundir.<\/p>\n<p>\u00der\u00e1tt fyrir vins\u00e6ldir s\u00ednar hefur Ungversk t\u00e1knsetning veri\u00f0 gagnr\u00fdnd af sumum forriturum fyrir a\u00f0 vera of or\u00f0l\u00f6g\u00f0 og a\u00f0 fl\u00e6kja k\u00f3\u00f0ann. A\u00f0rir halda \u00fev\u00ed fram a\u00f0 h\u00fan geti veri\u00f0 ruglingsleg, s\u00e9rstaklega \u00feegar mismunandi forskeytir eru notu\u00f0 fyrir sama gagnager\u00f0 \u00ed mismunandi hlutum forrits.<\/p>\n<p>\u00der\u00e1tt fyrir \u00feessar gagnr\u00fdni er Ungversk t\u00e1knsetning enn vins\u00e6l nafngiftara\u00f0fer\u00f0 \u00ed m\u00f6rgum forritunarsamf\u00e9l\u00f6gum. H\u00fan getur veri\u00f0 s\u00e9rstaklega gagnleg \u00ed st\u00f3rum forritunarverkefnum, \u00fear sem h\u00fan hj\u00e1lpar forriturum a\u00f0 bera kennsl \u00e1 g\u00f6gnategund breytu flj\u00f3tt \u00e1n \u00feess a\u00f0 \u00feurfa a\u00f0 leita \u00ed k\u00f3\u00f0anum.<\/p>\n<p>Almennt er Ungversk t\u00e1knsetning gagnlegt t\u00e6ki fyrir forritara sem vilja skrifa sk\u00fdran, l\u00e6silegan k\u00f3\u00f0a. \u00de\u00f3 a\u00f0 h\u00fan henti kannski ekki fyrir alla forritun <a href=\"https:\/\/thecodest.co\/is\/dictionary\/why-do-projects-fail\/\">verkefni<\/a>, \u00fea\u00f0 getur veri\u00f0 ver\u00f0m\u00e6t vi\u00f0b\u00f3t vi\u00f0 verkf\u00e6rakistu forritara.<\/p>","protected":false},"excerpt":{"rendered":"<p>Kynntu \u00fe\u00e9r Ungverska t\u00e1knafr\u00e6\u00f0i, nafngiftarreglu sem notu\u00f0 er \u00ed forritun til a\u00f0 gefa til kynna g\u00f6gnategundir breyta. H\u00fan var fundin upp af Charles Simonyi \u00e1 \u00e1ttunda \u00e1ratugnum.<\/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\/is\/ordabok\/ungversk-tonsetning\/\" \/>\n<meta property=\"og:locale\" content=\"is_IS\" \/>\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\/is\/ordabok\/ungversk-tonsetning\/\" \/>\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\":\"is\",\"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\":\"is\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"is\",\"@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":"Ungversk t\u00e1knasetning - The Codest","description":"Kynntu \u00fe\u00e9r Ungverska t\u00e1knafr\u00e6\u00f0i, nafngiftarreglu sem notu\u00f0 er \u00ed forritun til a\u00f0 gefa til kynna g\u00f6gnategundir breyta. H\u00fan var fundin upp af Charles Simonyi \u00e1 \u00e1ttunda \u00e1ratugnum.","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\/is\/ordabok\/ungversk-tonsetning\/","og_locale":"is_IS","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\/is\/ordabok\/ungversk-tonsetning\/","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":"Ungversk t\u00e1knasetning - 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":"Kynntu \u00fe\u00e9r Ungverska t\u00e1knafr\u00e6\u00f0i, nafngiftarreglu sem notu\u00f0 er \u00ed forritun til a\u00f0 gefa til kynna g\u00f6gnategundir breyta. H\u00fan var fundin upp af Charles Simonyi \u00e1 \u00e1ttunda \u00e1ratugnum.","breadcrumb":{"@id":"https:\/\/thecodest.co\/dictionary\/hungarian-notation\/#breadcrumb"},"inLanguage":"is","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":"is"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"is","@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\/is\/wp-json\/wp\/v2\/dictionary\/6596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/dictionary"}],"about":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/types\/dictionary"}],"version-history":[{"count":1,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/dictionary\/6596\/revisions"}],"predecessor-version":[{"id":11001,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/dictionary\/6596\/revisions\/11001"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/media?parent=6596"}],"curies":[{"name":"vp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}