{"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":"unkarilainen-notaatio","status":"publish","type":"dictionary","link":"https:\/\/thecodest.co\/fi\/dictionary\/hungarian-notation\/","title":{"rendered":"Unkarilainen merkint\u00e4tapa"},"content":{"rendered":"<h1>Unkarilainen merkint\u00e4tapa: M\u00e4\u00e4ritelm\u00e4<\/h1>\n<p>Unkarilainen merkint\u00e4tapa on tietokoneohjelmoinnissa k\u00e4ytetty nime\u00e4misk\u00e4yt\u00e4nt\u00f6, jolla ilmaistaan <a href=\"https:\/\/thecodest.co\/fi\/blog\/app-data-collection-security-risks-value-and-types-explored\/\">tiedot<\/a> muuttujan tyyppi. Konvention keksi unkarilaissyntyinen Charles Simonyi, joka on unkarilaissyntyinen <a href=\"https:\/\/thecodest.co\/fi\/blog\/whats-the-difference-between-software-engineer-and-software-architect\/\">ohjelmistosuunnittelija<\/a> joka ty\u00f6skenteli Microsoft Corporationissa 1980-luvulla. Merkint\u00e4tapa kehitettiin alun perin auttamaan Simonyita ja h\u00e4nen kollegoitaan kirjoittamaan <a href=\"https:\/\/thecodest.co\/fi\/dictionary\/what-is-code-refactoring\/\">koodi<\/a> Microsoft Wordin ensimm\u00e4isiin versioihin.<\/p>\n<p>Unkarilaisen merkint\u00e4tavan perusajatuksena on lis\u00e4t\u00e4 muuttujan nimeen etuliite, joka ilmaisee sen tietotyypin. Esimerkiksi kokonaislukua tallentavan muuttujan nimi voi olla \"iCount\", kun taas merkkijonoa tallentavan muuttujan nimi voi olla \"strName\". Etuliite \"i\" osoittaa, ett\u00e4 muuttuja on kokonaisluku, kun taas etuliite \"str\" osoittaa, ett\u00e4 muuttuja on merkkijono.<\/p>\n<p>Unkarilainen merkint\u00e4tapa kehitettiin alun perin k\u00e4ytett\u00e4v\u00e4ksi C-ohjelmointikielen kanssa, mutta sittemmin se on otettu k\u00e4ytt\u00f6\u00f6n my\u00f6s muissa ohjelmointikieliss\u00e4. <a href=\"https:\/\/thecodest.co\/fi\/blog\/top-programming-languages-to-build-e-commerce\/\">ohjelmointikielet<\/a>, mukaan lukien C++, <a href=\"https:\/\/thecodest.co\/fi\/blog\/find-the-right-java-developer-now\/\">Java<\/a>ja C#. Merkint\u00e4tapa on my\u00f6s kehittynyt ajan my\u00f6t\u00e4, ja eri tietotyypeille on k\u00e4ytetty eri etuliitteit\u00e4.<\/p>\n<p>Suosiostaan huolimatta jotkut ohjelmoijat ovat kritisoineet unkarilaista merkint\u00e4tapaa siit\u00e4, ett\u00e4 se on liian pitk\u00e4lukuinen ja sotkee koodia. Toiset taas v\u00e4itt\u00e4v\u00e4t, ett\u00e4 se voi olla h\u00e4mment\u00e4v\u00e4, varsinkin kun samalle tietotyypille k\u00e4ytet\u00e4\u00e4n eri etuliitteit\u00e4 ohjelman eri osissa.<\/p>\n<p>T\u00e4st\u00e4 kritiikist\u00e4 huolimatta unkarilainen merkint\u00e4tapa on edelleen suosittu nime\u00e4misk\u00e4yt\u00e4nt\u00f6 monissa ohjelmointiyhteis\u00f6iss\u00e4. Se voi olla erityisen hy\u00f6dyllinen suurissa ohjelmointiprojekteissa, joissa se auttaa ohjelmoijia tunnistamaan nopeasti muuttujan tietotyypin ilman, ett\u00e4 heid\u00e4n tarvitsee etsi\u00e4 koodia l\u00e4pi.<\/p>\n<p>Kaiken kaikkiaan unkarilainen merkint\u00e4tapa on hy\u00f6dyllinen ty\u00f6kalu ohjelmoijille, jotka haluavat kirjoittaa selke\u00e4\u00e4 ja luettavaa koodia. Vaikka se ei ehk\u00e4 sovellukaan kaikkiin ohjelmointitapoihin <a href=\"https:\/\/thecodest.co\/fi\/dictionary\/why-do-projects-fail\/\">projekti<\/a>se voi olla arvokas lis\u00e4 ohjelmoijan ty\u00f6kalupakkiin.<\/p>","protected":false},"excerpt":{"rendered":"<p>Tutustu unkarilaiseen merkint\u00e4tapaan, jota k\u00e4ytet\u00e4\u00e4n ohjelmoinnissa muuttujien tietotyyppien nime\u00e4miseen. Keksi Charles Simonyi 1980-luvulla.<\/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\/fi\/sanakirja\/unkarilainen-notaatio\/\" \/>\n<meta property=\"og:locale\" content=\"fi_FI\" \/>\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\/fi\/sanakirja\/unkarilainen-notaatio\/\" \/>\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\":\"fi\",\"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\":\"fi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fi\",\"@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":"Unkarilainen merkint\u00e4tapa - The Codest","description":"Tutustu unkarilaiseen merkint\u00e4tapaan, jota k\u00e4ytet\u00e4\u00e4n ohjelmoinnissa muuttujien tietotyyppien nime\u00e4miseen. Keksi Charles Simonyi 1980-luvulla.","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\/fi\/sanakirja\/unkarilainen-notaatio\/","og_locale":"fi_FI","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\/fi\/sanakirja\/unkarilainen-notaatio\/","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":"Unkarilainen merkint\u00e4tapa - 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":"Tutustu unkarilaiseen merkint\u00e4tapaan, jota k\u00e4ytet\u00e4\u00e4n ohjelmoinnissa muuttujien tietotyyppien nime\u00e4miseen. Keksi Charles Simonyi 1980-luvulla.","breadcrumb":{"@id":"https:\/\/thecodest.co\/dictionary\/hungarian-notation\/#breadcrumb"},"inLanguage":"fi","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":"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":"fi"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"fi","@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\/fi\/wp-json\/wp\/v2\/dictionary\/6596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/fi\/wp-json\/wp\/v2\/dictionary"}],"about":[{"href":"https:\/\/thecodest.co\/fi\/wp-json\/wp\/v2\/types\/dictionary"}],"version-history":[{"count":1,"href":"https:\/\/thecodest.co\/fi\/wp-json\/wp\/v2\/dictionary\/6596\/revisions"}],"predecessor-version":[{"id":11001,"href":"https:\/\/thecodest.co\/fi\/wp-json\/wp\/v2\/dictionary\/6596\/revisions\/11001"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/fi\/wp-json\/wp\/v2\/media?parent=6596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}