{"id":5282,"date":"2024-11-20T06:54:35","date_gmt":"2024-11-20T05:54:35","guid":{"rendered":"https:\/\/rock-the-prototype.com\/uncategorized\/variables\/"},"modified":"2024-11-20T08:10:23","modified_gmt":"2024-11-20T07:10:23","slug":"variables","status":"publish","type":"encyclopedia","link":"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/","title":{"rendered":"Variables"},"content":{"rendered":"<p><\/p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\"><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1144px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-1\"><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Inhaltsverzeichnis<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ffffff;color:#ffffff\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ffffff;color:#ffffff\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#What_are_variables\" >What are variables?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#You_should_remember_this_as_a_variable\" >You should remember this as a variable:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#What_are_program_variables_for\" >What are program variables for?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#How_do_variables_work\" >How do variables work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#Assignment_of_values_to_variables\" >Assignment of values to variables<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#Variable_properties\" >Variable properties:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#Examples_of_the_use_of_variables_in_a_program\" >Examples of the use of variables in a program<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#Everything_you_need_to_know_about_variables_in_programming\" >Everything you need to know about variables in programming<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#The_meaning_of_data_types\" >The meaning of data types<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_are_variables\"><\/span>What are variables?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong><a href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/\" target=\"_blank\" title=\"Variables are data values that software developers use when values can change in the course of a computer program.\" class=\"encyclopedia\">Variables<\/a><\/strong> are data values that software developers use when values can change during the course of a computer program. You are certainly familiar with variables from <a href=\"https:\/\/pubs.nctm.org\/view\/journals\/mt\/85\/7\/article-p557.xml\">mathematics<\/a>; the basic variable concept is identical to the use of variables in <a href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/programming\/\" target=\"_blank\" title=\"What is programming? When programming, a programmer creates a software program that can run on a machine. The code is created in one of the formally defined computer languages - which are countless, such as Java, PHP, C++ or C#, Perl and many many more.\" class=\"encyclopedia\">programming<\/a>. Programming has added a few more properties to the variable concept, which we will explain here.<\/p>\n\n<h3><span class=\"ez-toc-section\" id=\"You_should_remember_this_as_a_variable\"><\/span>You should remember this as a variable:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The main difference between a variable and a constant is that the value associated with a variable name can change during program execution.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_are_program_variables_for\"><\/span>What are program variables for?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Variables<\/strong> are indispensable tools in programming. Program variables are used as abstract concepts at different levels of abstraction in computer programs. One such <strong>variable concept<\/strong> is the notion of variable plans, which represent stereotypical uses of variables. A frequently used concept is the <a href=\"https:\/\/rock-the-prototype.com\/wiki\/bedingter-ausdruck\/\">conditional expression<\/a>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_variables_work\"><\/span>How do variables work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Variables are always used by programmers to store information that is referenced in a computer program. The value of a variable can be manipulated using a function or an instruction. The program variables naturally also offer the option of assigning a descriptive name to data via the <strong>variable name<\/strong>. With the individual <strong>variable name<\/strong>, our programs are easier to understand for the programmer and any other reader. It is helpful to think of variables as containers for information. Their sole purpose is to identify and store data in memory. This data can then be used throughout the program. This has the advantage that the variable values can be accessed and worked with at any time.<\/p>\n<\/div><a class=\"fusion-modal-text-link\" data-toggle=\"modal\" data-target=\".fusion-modal.Podcast Software Development - Idea generation and creativity in software development\" href=\"#\"><iframe class=\"lazyload\" style=\"border-radius: 12px;\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27100%27%20height%3D%27352%27%20viewBox%3D%270%200%20100%20352%27%3E%3Crect%20width%3D%27100%27%20height%3D%27352%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-orig-src=\"https:\/\/open.spotify.com\/embed\/episode\/54PtfzZlt3gTfrxDcx4wrC?utm_source=generator\" width=\"100%\" height=\"352\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/a>\n<div class=\"fusion-text fusion-text-2\"><h2><span class=\"ez-toc-section\" id=\"Assignment_of_values_to_variables\"><\/span>Assignment of values to variables<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Naming variables is one of the most difficult tasks in computer programming. When naming a variable, you should think carefully about the variable name. Do your best to make sure that the name you assign to your variable accurately describes and is easily understood by others. Very often you are the one in the role of program reader when you look at a program you wrote several months or even years ago&hellip; When you assign something to a variable, you use the <strong>equal sign &ldquo;=&rdquo;<\/strong> as a symbol. On the left side is always the name of the variable, on the right side the value you want to store in the variable.<\/p>\n<pre>vorname = 'Sascha'<\/pre>\n<p>Here we have assigned the value &ldquo;Sascha&rdquo; to the variable firstname, this value is a string. Therefore, this variable assignment is only valid if we have previously defined this variable as a string. Some programming languages also use variable variable value concepts, but such dynamic reference variables also have their pitfalls&hellip;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Variable_properties\"><\/span>Variable properties:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Variables can change during program execution.<\/li>\n<li>the variable is the most frequently used tool in programming<\/li>\n<li>a variable has a variable name assigned by the programmer<\/li>\n<li>Variable concepts exist in every programming language<\/li>\n<li>Variables can have different properties from programming language to programming language<\/li>\n<\/ul>\n<p>Although variables have slightly different properties from programming language to programming language, the basic concepts are always very similar.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Examples_of_the_use_of_variables_in_a_program\"><\/span>Examples of the use of variables in a program<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If a program is to accept input from a user, then the variable is the classic concept for recording these values and storing them in a data type. If you want to ask the user a question in a program, the variable can record the answer.<\/p>\n<\/div><a class=\"fusion-modal-text-link\" data-toggle=\"modal\" data-target=\".fusion-modal.Podcast Episode 1 - Idea generation and creativity in software development - Rock the Prototype - Software Development\" href=\"#\"><iframe style=\"width: 100%; max-width: 660px; overflow: hidden; border-radius: 10px;\" src=\"https:\/\/embed.podcasts.apple.com\/us\/podcast\/episode-1-idea-generation-and-creativity-in-software\/id1684835330?i=1000611051749\" height=\"175\" frameborder=\"0\" sandbox=\"allow-forms allow-popups allow-same-origin allow-scripts allow-storage-access-by-user-activation allow-top-navigation-by-user-activation\"><\/iframe><\/a>\n<div class=\"fusion-text fusion-text-3\"><div class=\"flex max-w-full flex-col flex-grow\">\n<div class=\"min-h-8 text-message flex w-full flex-col items-end gap-2 whitespace-normal break-words [.text-message+&amp;]:mt-5\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"74783775-460c-40a6-b67b-623044ccb914\" data-message-model-slug=\"gpt-4o\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden first:pt-[3px]\">\n<div class=\"markdown prose w-full break-words dark:prose-invert dark\">\n<h3><span class=\"ez-toc-section\" id=\"Everything_you_need_to_know_about_variables_in_programming\"><\/span>Everything you need to know about variables in programming<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Variables are the foundation of every computer program. They allow data to be flexibly stored, manipulated and shared between different parts of the program.<\/p>\n<p><strong>Why variables are so important<\/strong><\/p>\n<p>Whether you are just starting out with programming or implementing a complex project, understanding variables and their properties is essential for clean, effective code.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"The_meaning_of_data_types\"><\/span><strong>The meaning of data types<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Variables have a close relationship to data types in every programming language. A data type defines what kind of values a variable can store and which operations can be applied to these values. The most common data types are<\/p>\n<ul>\n<li><strong>Integer (whole numbers)<\/strong>: Numbers without decimal places such as <code>42<\/code> or <code>-7<\/code>.<\/li>\n<li><strong>Float (floating point numbers)<\/strong>: Numbers with decimal places such as <code>3.14<\/code> or <code>-0.001<\/code>.<\/li>\n<li><strong>String (character strings)<\/strong>: Texts such as <code>\"Hallo Welt\"<\/code><\/li>\n<li><strong>Boolean (truth values)<\/strong>: Values such as <code>true<\/code> or <code>false<\/code>.<\/li>\n<\/ul>\n<p>Choosing the right data type for a variable is crucial to ensure that your program works efficiently and correctly.<\/p>\n<p><strong>Variable scope (scope of validity of variables)<\/strong><\/p>\n<p>The scope of a variable indicates where in the program it can be accessed:<\/p>\n<ul>\n<li><strong>Global variables<\/strong>: These variables are available throughout the entire program. They are declared outside of functions.<\/li>\n<li><strong>Local variables<\/strong>: These variables are only available within the function or block in which they were declared.<\/li>\n<li><strong>Block scope<\/strong>: Some programming languages such as JavaScript support variables with block validity (e.g. with <code>let<\/code> or <code>const<\/code>), which are only accessible within a specific code block.<\/li>\n<\/ul>\n<p>Understanding scopes helps you to avoid collisions of variable names and to make the code clearer.<\/p>\n<p><strong>Best practices for naming variables<\/strong><\/p>\n<p>Good naming of variables is essential to keep the code understandable and maintainable. Note the following tips:<\/p>\n<ul>\n<li><strong>Choose descriptive names<\/strong>: Instead of <code>x<\/code> or <code>y<\/code>, you should use descriptive names such as <code>benutzerName<\/code> or <code>artikelPreis<\/code>.<\/li>\n<li><strong>Avoid abbreviations<\/strong>: Abbreviations such as <code>usrNm<\/code> or <code>prc<\/code> can make the code incomprehensible.<\/li>\n<li><strong>Follow conventions<\/strong>: Many languages have certain naming standards, such as CamelCase (<code>benutzerName<\/code>) or Snake_Case (<code>benutzer_name<\/code>).<\/li>\n<li><strong>Avoid overloaded names<\/strong>: Do not use names that are already defined as keywords in the programming language (e.g. <code>int<\/code>, <code>for<\/code> or <code>class<\/code>).<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"mb-2 flex gap-3 empty:hidden -ml-2\">\n<div class=\"items-center justify-start rounded-xl p-1 flex\">\n<div class=\"flex items-center\">\n<div class=\"flex items-center pb-0\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div><a class=\"fusion-modal-text-link\" data-toggle=\"modal\" data-target=\".fusion-modal.Podcast Episode 8 - IT Security in Software Development - Podcast Interview with Vladyslav Cherednychenko \" href=\"#\"><iframe class=\"lazyload\" style=\"border-radius: 12px;\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27100%27%20height%3D%27352%27%20viewBox%3D%270%200%20100%20352%27%3E%3Crect%20width%3D%27100%27%20height%3D%27352%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-orig-src=\"https:\/\/open.spotify.com\/embed\/episode\/3N5fbURvWubB8SJreJU5A5?utm_source=generator\" width=\"100%\" height=\"352\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/a>\n<div class=\"fusion-text fusion-text-4\"><h3>Rock the Prototype Podcast<\/h3>\n<p>The <strong>Rock the Prototype Podcast<\/strong> and the <strong>Rock the Prototype YouTube channel<\/strong> are the perfect place to go if you want to delve deeper into the world of web development, <a href=\"https:\/\/rock-the-prototype.com\/en\/prototyping-en\/prototyping\/\" target=\"_blank\" title=\"What is prototyping? Prototyping is both a process and a strategy for realizing ideas as quickly as possible.\" class=\"encyclopedia\">prototyping<\/a> and technology.<\/p>\n<p class=\"p1\"><strong>&#127911; Listen on Spotify: &#128073; Spotify Podcast: <a href=\"https:\/\/bit.ly\/41pm8rL\">https:\/\/bit.ly\/41pm8rL<\/a><\/strong><\/p>\n<p class=\"p1\"><strong><span class=\"s1\">&#127822;<\/span> Enjoy on Apple Podcasts: <span class=\"s1\">&#128073;<\/span>&nbsp;<a href=\"https:\/\/bit.ly\/4aiQf8t\">https:\/\/bit.ly\/4aiQf8t<\/a><\/strong><\/p>\n<p>In the podcast, you can expect exciting discussions and valuable insights into current trends, tools and best practices &ndash; ideal for staying on the ball and gaining fresh perspectives for your own projects. On the YouTube channel, you&rsquo;ll find practical tutorials and step-by-step instructions that clearly explain technical concepts and help you get straight into implementation.<\/p>\n<p><strong>Rock the Prototype YouTube Channel<\/strong><\/p>\n<p>&#128640; Rock the Prototype is &#128073; Your format for exciting topics such as software development, prototyping, software architecture, <a href=\"https:\/\/rock-the-prototype.com\/en\/cloud-computing-cloud-technology\/cloud\/\" target=\"_blank\" title=\"What is cloud? Cloud or cloud computing moves data and programs from desktop PCs or servers in a company to remote cloud servers. Cloud storage therefore consists of a standard server network in a cloud data center or distributed across several cloud server locations.\" class=\"encyclopedia\">cloud<\/a>, DevOps &amp; much more.<\/p>\n<p>&#128250; &#128075;&nbsp;<strong><a href=\"https:\/\/www.youtube.com\/@Rock-the-Prototype\" target=\"_blank\" rel=\"noopener\">Rock the Prototype YouTube Channel<\/a>&nbsp;&#128072;&nbsp; &#128064;&nbsp;<\/strong><\/p>\n<p style=\"padding-left: 40px;\">&#9989; Software development &amp; prototyping<\/p>\n<p style=\"padding-left: 40px;\">&#9989; Learning to program<\/p>\n<p style=\"padding-left: 40px;\">&#9989; Understanding software architecture<\/p>\n<p style=\"padding-left: 40px;\">&#9989; Agile teamwork<\/p>\n<p style=\"padding-left: 40px;\">&#9989; Test prototypes together<\/p>\n<p><strong>THINK PROTOTYPING &ndash; PROTOTYPE DESIGN &ndash; PROGRAM &amp; GET STARTED &ndash; JOIN IN NOW!<\/strong><\/p>\n<h4>Why is it worth checking back regularly?<\/h4>\n<p>Both formats complement each other perfectly: in the podcast, you can learn new things in a relaxed way and get inspiring food for thought, while on YouTube you can see what you have learned directly in action and receive valuable tips for practical application.<\/p>\n<p>Whether you&rsquo;re just starting out in software development or are passionate about prototyping, UX design or IT security. We offer you new technology trends that are really relevant &ndash; and with the Rock the Prototype format, you&rsquo;ll always find relevant content to expand your knowledge and take your skills to the next level!<\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\"><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1144px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><a class=\"fusion-modal-text-link\" data-toggle=\"modal\" data-target=\".fusion-modal.Rock the Prototype - Software development &amp; Prototyping Podcast iTunes\" href=\"#\"><iframe id=\"embedPlayer\" style=\"width: 100%; max-width: 660px; overflow: hidden; border-radius: 10px; transform: translateZ(0px); animation: 2s ease 0s 6 normal none running loading-indicator; background-color: #e4e4e4;\" src=\"https:\/\/embed.podcasts.apple.com\/us\/podcast\/rock-the-prototype-software-development-prototyping\/id1684835330?itsct=podcast_box_player&amp;itscg=30200&amp;ls=1&amp;theme=auto\" height=\"450px\" frameborder=\"0\" sandbox=\"allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation\"><\/iframe><\/a><\/div><\/div><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Variables are data values that software developers use when values can change in the course of a computer program.<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"categories":[1258],"tags":[2092,3427,1142,2093,3430,3431,3433,3432,3434],"class_list":["post-5282","encyclopedia","type-encyclopedia","status-publish","hentry","category-learn-programming","tag-program-variable","tag-program-variables","tag-programming","tag-variable-en","tag-variable-concept","tag-variable-concepts","tag-variable-name","tag-variable-names","tag-variable-properties"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Variables - Rock the Prototype - Softwareentwicklung &amp; Prototyping<\/title>\n<meta name=\"description\" content=\"What are variables? \u2705 What are program variables for? \u2705 How does a variable work? \u2705 Assigning values to variables \u2705\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Variables - Rock the Prototype - Softwareentwicklung &amp; Prototyping\" \/>\n<meta property=\"og:description\" content=\"What are variables? \u2705 What are program variables for? \u2705 How does a variable work? \u2705 Assigning values to variables \u2705\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/\" \/>\n<meta property=\"og:site_name\" content=\"Rock the Prototype - Softwareentwicklung &amp; Prototyping\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-20T07:10:23+00:00\" \/>\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=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/learn-programming\\\/variables\\\/\",\"url\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/learn-programming\\\/variables\\\/\",\"name\":\"Variables - Rock the Prototype - Softwareentwicklung &amp; Prototyping\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/#website\"},\"datePublished\":\"2024-11-20T05:54:35+00:00\",\"dateModified\":\"2024-11-20T07:10:23+00:00\",\"description\":\"What are variables? \u2705 What are program variables for? \u2705 How does a variable work? \u2705 Assigning values to variables \u2705\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/learn-programming\\\/variables\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/learn-programming\\\/variables\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/learn-programming\\\/variables\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/rock-the-prototype\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prototyping Wiki\",\"item\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/wiki\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Variables\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/\",\"name\":\"Rock the Prototype - Softwareentwicklung &amp; Prototyping\",\"description\":\"Prototyping: Software Prototypen, Software entwickeln &amp; Programmieren im Team\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Variables - Rock the Prototype - Softwareentwicklung &amp; Prototyping","description":"What are variables? \u2705 What are program variables for? \u2705 How does a variable work? \u2705 Assigning values to variables \u2705","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:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/","og_locale":"en_US","og_type":"article","og_title":"Variables - Rock the Prototype - Softwareentwicklung &amp; Prototyping","og_description":"What are variables? \u2705 What are program variables for? \u2705 How does a variable work? \u2705 Assigning values to variables \u2705","og_url":"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/","og_site_name":"Rock the Prototype - Softwareentwicklung &amp; Prototyping","article_modified_time":"2024-11-20T07:10:23+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/","url":"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/","name":"Variables - Rock the Prototype - Softwareentwicklung &amp; Prototyping","isPartOf":{"@id":"https:\/\/rock-the-prototype.com\/en\/#website"},"datePublished":"2024-11-20T05:54:35+00:00","dateModified":"2024-11-20T07:10:23+00:00","description":"What are variables? \u2705 What are program variables for? \u2705 How does a variable work? \u2705 Assigning values to variables \u2705","breadcrumb":{"@id":"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rock-the-prototype.com\/en\/learn-programming\/variables\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/rock-the-prototype.com\/en\/rock-the-prototype\/"},{"@type":"ListItem","position":2,"name":"Prototyping Wiki","item":"https:\/\/rock-the-prototype.com\/en\/wiki\/"},{"@type":"ListItem","position":3,"name":"Variables"}]},{"@type":"WebSite","@id":"https:\/\/rock-the-prototype.com\/en\/#website","url":"https:\/\/rock-the-prototype.com\/en\/","name":"Rock the Prototype - Softwareentwicklung &amp; Prototyping","description":"Prototyping: Software Prototypen, Software entwickeln &amp; Programmieren im Team","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rock-the-prototype.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/encyclopedia\/5282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/encyclopedia"}],"about":[{"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/types\/encyclopedia"}],"author":[{"embeddable":true,"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/media?parent=5282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/categories?post=5282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/tags?post=5282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}