{"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":"madarska-notace","status":"publish","type":"dictionary","link":"https:\/\/thecodest.co\/cs\/dictionary\/hungarian-notation\/","title":{"rendered":"Ma\u010farsk\u00e1 notace"},"content":{"rendered":"<h1>Ma\u010farsk\u00e1 notace: Definice<\/h1>\n<p>Ma\u010farsk\u00e1 notace je pojmenovac\u00ed konvence pou\u017e\u00edvan\u00e1 v po\u010d\u00edta\u010dov\u00e9m programov\u00e1n\u00ed k ozna\u010den\u00ed <a href=\"https:\/\/thecodest.co\/cs\/blog\/app-data-collection-security-risks-value-and-types-explored\/\">data<\/a> typ prom\u011bnn\u00e9. Tuto konvenci vymyslel Charles Simonyi, p\u016fvodem Ma\u010far. <a href=\"https:\/\/thecodest.co\/cs\/blog\/whats-the-difference-between-software-engineer-and-software-architect\/\">softwarov\u00fd in\u017een\u00fdr<\/a> kter\u00fd v 80. letech pracoval ve spole\u010dnosti Microsoft Corporation. Notace byla p\u016fvodn\u011b vyvinuta jako pom\u016fcka pro Simonyiho a jeho kolegy p\u0159i psan\u00ed. <a href=\"https:\/\/thecodest.co\/cs\/dictionary\/what-is-code-refactoring\/\">k\u00f3d<\/a> pro prvn\u00ed verze aplikace Microsoft Word.<\/p>\n<p>Z\u00e1kladn\u00ed my\u0161lenkou ma\u010farsk\u00e9 notace je p\u0159idat k n\u00e1zvu prom\u011bnn\u00e9 p\u0159edponu, kter\u00e1 ozna\u010duje jej\u00ed datov\u00fd typ. Nap\u0159\u00edklad prom\u011bnn\u00e1, kter\u00e1 uchov\u00e1v\u00e1 hodnotu cel\u00e9ho \u010d\u00edsla, se m\u016f\u017ee jmenovat \"iCount\", zat\u00edmco prom\u011bnn\u00e1, kter\u00e1 uchov\u00e1v\u00e1 \u0159et\u011bzec, se m\u016f\u017ee jmenovat \"strName\". P\u0159edpona \"i\" ozna\u010duje, \u017ee prom\u011bnn\u00e1 je cel\u00e9 \u010d\u00edslo, zat\u00edmco p\u0159edpona \"str\" ozna\u010duje, \u017ee prom\u011bnn\u00e1 je \u0159et\u011bzec.<\/p>\n<p>Ma\u010farsk\u00e1 notace byla p\u016fvodn\u011b vyvinuta pro programovac\u00ed jazyk C, ale od t\u00e9 doby ji p\u0159evzaly i jin\u00e9 jazyky. <a href=\"https:\/\/thecodest.co\/cs\/blog\/top-programming-languages-to-build-e-commerce\/\">programovac\u00ed jazyky<\/a>, v\u010detn\u011b jazyka C++, <a href=\"https:\/\/thecodest.co\/cs\/blog\/find-the-right-java-developer-now\/\">Java<\/a>a C#. Z\u00e1pis se tak\u00e9 v pr\u016fb\u011bhu \u010dasu vyv\u00edjel a pro r\u016fzn\u00e9 typy dat se pou\u017e\u00edvaly r\u016fzn\u00e9 p\u0159edpony.<\/p>\n<p>Navzdory sv\u00e9 popularit\u011b je ma\u010farsk\u00e1 notace n\u011bkter\u00fdmi program\u00e1tory kritizov\u00e1na za p\u0159\u00edli\u0161nou rozvl\u00e1\u010dnost a nep\u0159ehlednost k\u00f3du. Jin\u00ed tvrd\u00ed, \u017ee m\u016f\u017ee b\u00fdt matouc\u00ed, zejm\u00e9na kdy\u017e se pro stejn\u00fd datov\u00fd typ v r\u016fzn\u00fdch \u010d\u00e1stech programu pou\u017e\u00edvaj\u00ed r\u016fzn\u00e9 prefixy.<\/p>\n<p>Navzdory t\u00e9to kritice z\u016fst\u00e1v\u00e1 ma\u010farsk\u00e1 notace v mnoha program\u00e1torsk\u00fdch komunit\u00e1ch obl\u00edbenou pojmenovac\u00ed konvenc\u00ed. M\u016f\u017ee b\u00fdt u\u017eite\u010dn\u00e1 zejm\u00e9na v rozs\u00e1hl\u00fdch programovac\u00edch projektech, kde m\u016f\u017ee program\u00e1tor\u016fm pomoci rychle identifikovat datov\u00fd typ prom\u011bnn\u00e9, ani\u017e by museli hledat v k\u00f3du.<\/p>\n<p>Celkov\u011b je ma\u010farsk\u00e1 notace u\u017eite\u010dn\u00fdm n\u00e1strojem pro program\u00e1tory, kte\u0159\u00ed cht\u011bj\u00ed ps\u00e1t p\u0159ehledn\u00fd a \u010diteln\u00fd k\u00f3d. I kdy\u017e nemus\u00ed b\u00fdt vhodn\u00e1 pro ka\u017ed\u00e9 programov\u00e1n\u00ed <a href=\"https:\/\/thecodest.co\/cs\/dictionary\/why-do-projects-fail\/\">projekt<\/a>, m\u016f\u017ee b\u00fdt cenn\u00fdm dopl\u0148kem program\u00e1torsk\u00e9 sady n\u00e1stroj\u016f.<\/p>","protected":false},"excerpt":{"rendered":"<p>Seznamte se s ma\u010farskou notac\u00ed, konvenc\u00ed pro pojmenov\u00e1n\u00ed prom\u011bnn\u00fdch datov\u00fdch typ\u016f pou\u017e\u00edvanou v programov\u00e1n\u00ed. Vymyslel ji Charles Simonyi v 80. letech 20. stolet\u00ed.<\/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\/cs\/slovnik\/madarska-notace\/\" \/>\n<meta property=\"og:locale\" content=\"cs_CZ\" \/>\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\/cs\/slovnik\/madarska-notace\/\" \/>\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\":\"cs-CZ\",\"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\":\"cs-CZ\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"cs-CZ\",\"@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":"Ma\u010farsk\u00e1 notace - The Codest","description":"Seznamte se s ma\u010farskou notac\u00ed, konvenc\u00ed pro pojmenov\u00e1n\u00ed prom\u011bnn\u00fdch datov\u00fdch typ\u016f pou\u017e\u00edvanou v programov\u00e1n\u00ed. Vymyslel ji Charles Simonyi v 80. letech 20. stolet\u00ed.","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\/cs\/slovnik\/madarska-notace\/","og_locale":"cs_CZ","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\/cs\/slovnik\/madarska-notace\/","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":"Ma\u010farsk\u00e1 notace - 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":"Seznamte se s ma\u010farskou notac\u00ed, konvenc\u00ed pro pojmenov\u00e1n\u00ed prom\u011bnn\u00fdch datov\u00fdch typ\u016f pou\u017e\u00edvanou v programov\u00e1n\u00ed. Vymyslel ji Charles Simonyi v 80. letech 20. stolet\u00ed.","breadcrumb":{"@id":"https:\/\/thecodest.co\/dictionary\/hungarian-notation\/#breadcrumb"},"inLanguage":"cs-CZ","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":"cs-CZ"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"cs-CZ","@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\/cs\/wp-json\/wp\/v2\/dictionary\/6596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/cs\/wp-json\/wp\/v2\/dictionary"}],"about":[{"href":"https:\/\/thecodest.co\/cs\/wp-json\/wp\/v2\/types\/dictionary"}],"version-history":[{"count":1,"href":"https:\/\/thecodest.co\/cs\/wp-json\/wp\/v2\/dictionary\/6596\/revisions"}],"predecessor-version":[{"id":11001,"href":"https:\/\/thecodest.co\/cs\/wp-json\/wp\/v2\/dictionary\/6596\/revisions\/11001"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/cs\/wp-json\/wp\/v2\/media?parent=6596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}