<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Simon on Medium]]></title>
        <description><![CDATA[Stories by Simon on Medium]]></description>
        <link>https://medium.com/@OmisNomis?source=rss-603cb27a7da4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*s0x8rwZ75ANg7oHxSSDsjw.png</url>
            <title>Stories by Simon on Medium</title>
            <link>https://medium.com/@OmisNomis?source=rss-603cb27a7da4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 11:11:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@OmisNomis/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Structs in Go]]></title>
            <link>https://medium.com/@OmisNomis/structs-in-go-15b0267111f2?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/15b0267111f2</guid>
            <category><![CDATA[go]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Mon, 01 Jul 2019 05:58:39 GMT</pubDate>
            <atom:updated>2019-07-02T14:45:54.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E7p7HAXw7J1z2sOOynVnyw.jpeg" /></figure><p>At the end of the <a href="https://www.codetips.co.uk/languages/go/functions-in-go/">Functions in Go</a> article, we removed a good amount of duplicate code, but we still had some duplication to print out the myName and myAge variables.</p><p>We fixed this duplication in the <a href="https://www.codetips.co.uk/languages/go/conditionals-in-go-challenge-answer/">Functions in Go (challenge answer)</a> article, but our code was still a bit messy for two reasons:</p><ol><li>We have to create two new variables for each friend.</li><li>Printing how many friends we have is a manual process, instead of letting our programme work it out for us.</li></ol><p>We’re going to fix both of these problems in this article, with the help of structs!</p><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/languages/go/structs-in-go/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/languages/go/structs-in-go/"><em>https://www.codetips.co.uk</em></a><em> on July 1, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15b0267111f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Translation and Types]]></title>
            <link>https://medium.com/realcodetips/translation-and-types-47607c3e3b53?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/47607c3e3b53</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[programming-tips]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Sat, 18 May 2019 12:17:51 GMT</pubDate>
            <atom:updated>2019-05-23T07:25:39.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N3vevJGQuErue_dcYZcUkg.jpeg" /></figure><p>First, let’s just define some concepts you’ll need to be aware of before reading this article:</p><ul><li><strong>Source Code:</strong> The original code the programmer writes, before any translation.</li><li><strong>Run-time:</strong> The time period in which your application is running.</li></ul><p>You should also have a good understanding of what a <a href="https://codetips.co.uk/beginner/what-is-a-data-type/">type</a> is.</p><p>The following three concepts are all very similar, and people get them mixed up all the time, which leads to many developers getting confused. By the end of this article, we’re hoping that you’ll understand all of these concepts and the differences between them.</p><blockquote><strong><em>Translation:</em></strong><em> Compiled vs Interpreted. When the source code is translated from what the programmer writes, into another language.</em></blockquote><blockquote><strong><em>Type Checking: </em></strong><em>Static vs Dynamic. When the types of the application are checked.</em></blockquote><blockquote><strong><em>Type Safety: </em></strong><em>Strongly-Typed vs Weakly-Typed.</em></blockquote><h3>Compiled vs Interpreted</h3><p>Before you write an application your first job is to choose a language. There are many languages you can choose from, but almost all share one thing in common; your computer can’t understand them.</p><p>The reason I said “almost all” is because there is one language computers can read; machine code.</p><blockquote><em>Machine code is a computer programming language consisting of binary or hexadecimal instructions which a computer can respond to directly.</em></blockquote><p>Although it’s possible for developers to program in machine code, most don’t and instead opt for a high-level language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/0*ONEqZRxuJXYt7Lbk.png" /></figure><p>The differences between low-level languages and high-level languages could be its own article, but the basic summary is:</p><ul><li>A low-level language is written for one type of architecture (Windows, Linux etc) and won’t work on another. It is more difficult to read and understand but has a higher level of performance.</li><li>A high-level language is basically the opposite. You can write it once and it will run on all, or at least most, architectures. It’s a lot easier for people to read and understand but isn’t as performant.</li></ul><p>Which languages are high-level, and which are low-level? Every language sits on a spectrum.</p><p>Those that are less complex for humans to understand and write, but provide less flexibility over what the programmer can do, are considered high-level. A language at the top of this spectrum could look like this ( <strong>note:</strong> a language this high-level has not yet been created):</p><pre>Create an application that accepts two numbers,<br>subtract the second from the first,<br>return the result.</pre><p>Those that are more complex for humans to understand and write, but provide much more flexibility over what the programmer can do, are considered low-level. The language at the bottom of this spectrum is machine code, which looks like this:</p><pre>0x 60 00 00 80<br>0x A4 00 00 00<br>0x 60 01 00 84<br>0x A4 01 01 00<br>0x 60 02 00 00<br>0x 60 03 00 04<br>0x 60 04 00 00<br>0x 60 05 00 01<br>0x 08 00 00 02<br>0x 20 00 00 03<br>0x 20 04 04 05<br>0x 11 20 04 01</pre><p>Somehow the code we write has to be translated into the language that computers can understand (machine code). This is either done using compilation or interpretation.</p><h3>Compiled</h3><p>A language is considered to be compiled if the source code is translated before run-time. The compiler will have an input of the programmers’ source code, in its entirety, and an output of the target language (usually machine code).</p><p>Sometimes there is an intermediary language, called assembly, if the language can’t compile directly to machine code.</p><h3>Interpreted</h3><p>A language is considered to be interpreted if the source code is translated on the fly, during execution. When a piece of source code needs to be executed, the interpreter will translate just that bit of source code into machine code.</p><p>At it’s most basic if you need to run the same piece of source code twice, it will need to be converted to machine code twice; which is a waste of resources. However, most interpreters have optimisations to reduce this resource waste.</p><h3>Why does all this matter?</h3><p>If you opt to use a language that uses an interpreter, the time from writing/editing the source code to running the application is reduced. Not having to wait for your source code to be compiled could save you a significant amount of time (depending on the size of your project, the compiler and the performance of your machine).</p><p>You also won’t need to generate multiple output files, to run on each different architecture. You will be able to run your source code, in the same way, on all architectures and let the interpreter handle the rest.</p><p>If you opt to use a language that uses a compiler, it is generally going to be more performant. It won’t have the additional step of having to translate the source code on the fly, because all of the source code would have already been translated.</p><p>One final note; just because a language uses an interpreter or compiler, doesn’t mean it can’t use the other. Usually, there will be a standard or accepted method to use, but it is possible for someone to write an interpreter and/or compiler for any language.</p><h3>Static vs Dynamic</h3><p>Every programming language has <a href="https://codetips.co.uk/beginner/what-is-a-data-type/">data-types</a>. One reason for this is so computers know what operations can be performed on them.</p><p>Imagine we’re writing a <a href="https://codetips.co.uk/beginner/what-is-a-function/">function</a> that will take two inputs; subtracting one from the other.</p><pre>subtract(input1, input2) {<br> input1 - input2    <br>}</pre><p>Note I said inputs, instead of numbers. Technically, we could pass anything through to this function</p><pre>subtract(5,3) // 2<br>subtract(19,40) // -21<br>subtract(9,3) // 6</pre><pre>subtract(&quot;hello&quot;,&quot;world&quot;) // wait, what?!!</pre><p>What is &quot;hello&quot; - &quot;world&quot; ? No idea? Why not? Because they are both strings, and it doesn&#39;t make any sense. Exactly!</p><p>Computers won’t be able to understand this either, so we need a way of checking to see if we’ve made any of these mistakes.</p><p>This can be done using either Static Typing or Dynamic Typing.</p><p>A statically typed language will check for these errors before run-time and, if any are found, it will report the problem and will usually prevent the application from running, until the issues have been fixed.</p><p>A dynamically typed language will check for these errors on the fly, during execution. Your application could run without ever having a problem, or it could suddenly crash, possibly after days if there is an unexpected error.</p><p>Let’s look at an example. The following is the start of our application; we’ve declared two <a href="https://codetips.co.uk/beginner/what-is-a-function/">functions</a>, one with the same subtraction error we discussed earlier, and the other with a completely valid subtraction.</p><pre>subtractionWithError() {<br>    &quot;hello&quot; - &quot;world&quot;<br>}</pre><pre>validSubtraction() {<br>  9 - 4   <br>}</pre><pre>validSubtraction()</pre><p>Note how only the validSubtraction function is executed.</p><p>If you were using a statically typed language, an error would be shown before the application runs.</p><p>If you were using a dynamically typed language, an error would never be thrown because the code with the error ( subtractionWithError ) will never be executed, and your application would continue to run without any idea there&#39;s an error.</p><p>What if our code called the validSubtraction function, waited for 4 hours, and then called the subtractionWithError function?</p><pre>subtractionWithError() {<br>    &quot;hello&quot; - &quot;world&quot;<br>}</pre><pre>validSubtraction() {<br>  9 - 4   <br>}</pre><pre>validSubtraction()</pre><pre>wait(4 hours) // wait for 4 hours before continuing</pre><pre>subtractionWithError()</pre><p>If you were using a statically typed language, the behaviour would be exactly the same. An error would be shown before the application runs because, executed or not, it knows there’s an error.</p><p>If you were using a dynamically typed language your application would run fine for the first 4 hours but, as soon as the subtractionWithError function is executed, it would then show an error and possibly crash (depending on what the problem is).</p><h3>Why does all this matter?</h3><p>Statically typed languages will have better performance at run-time, because the knowledge of types and the confidence that everything has been checked, allows for optimisations that simply aren’t possible with dynamically typed languages.</p><p>Dynamically typed languages don’t have to go through the overhead of checking everything prior to run-time, so it’s quicker to go from writing/editing the source code to running the application. Like interpreted languages vs compiled languages, this could save you a significant amount of time.</p><p>To summarise:</p><ul><li>Compiled &amp; Statically typed languages — larger overhead to go from writing your source code to running it, but faster at run-time. Different executables for different architectures.</li><li>Interpreted &amp; Dynamically typed languages — much quicker to get your application running from the source code, but slower at run-time. Run the same code for all architectures.</li></ul><h3>Strongly-Typed vs Weakly-Typed</h3><p>A strongly-typed computer language is one where the programmer declares in advance what <a href="https://codetips.co.uk/beginner/what-is-a-data-type/">data-type</a> something is.</p><pre>var x string = &quot;Hello world&quot;</pre><pre>func example(input1 int, input2 int) {<br> input1 - input2<br>}</pre><p>A weakly-typed language is one where the <a href="https://codetips.co.uk/beginner/what-is-a-data-type/">data-type</a> is determined by what is given to it.</p><pre>var x = &quot;Hello World&quot;</pre><pre>func example(input1, input2) {<br>    input1 - input2<br>}</pre><p>Strict typing will help you avoid errors, like the one we saw earlier when trying to subtract strings ( &quot;hello&quot; - &quot;world&quot; ), before we even get to the compilation or run-time stages.</p><p>Weak typing allows you to have more flexibility in what you can do. The most strictly typed languages won’t allow you to add an integer to a floating point number, whereas a weakly typed language would allow you to add a string and an integer.</p><pre>6 + &quot;5&quot; // 65</pre><p>Just be cautious when using weakly typed languages, you might get unexpected results if you don’t handle type checking yourself (e.g. you think you’re adding integers to integers but you’re actually adding integers to strings.)</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/intermediate/translation-and-types/"><em>https://www.codetips.co.uk</em></a><em> on May 18, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47607c3e3b53" width="1" height="1" alt=""><hr><p><a href="https://medium.com/realcodetips/translation-and-types-47607c3e3b53">Translation and Types</a> was originally published in <a href="https://medium.com/realcodetips">RealCodeTips</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a switch statement?]]></title>
            <link>https://medium.com/@OmisNomis/what-is-a-switch-statement-bf521163117c?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf521163117c</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Wed, 08 May 2019 19:30:00 GMT</pubDate>
            <atom:updated>2019-07-12T07:12:21.381Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>A switch statement evaluates a condition and provides multiple decision points, depending on the value.</em></blockquote><p>In previous articles we’ve discussed the <a href="https://codetips.co.uk/beginner/what-is-an-if-statement/">if</a> statement and <a href="https://codetips.co.uk/beginner/what-is-an-else-statement/">if/else</a> statement. The example we discussed, to showcase multiple decision points, was to check the weather and decide what shoes to wear.</p><pre>if (raining) { <br>  // put on wellies<br>} else-if (snowing) { <br>  // put on snow boots <br>} else-if (sunny) { <br>  // put on sandals <br>} else { <br>  // stay indoors<br>}</pre><p>We’re only evaluating three outcomes, raining, snowing and sunny, with an else statement to catch every other type of weather, and it&#39;s already quite hard to read.</p><p>What if we wanted to create a check on something with more possibilities, for example checking the day of the week and performing the appropriate chores?</p><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/beginner/what-is-a-switch-statement/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/beginner/what-is-a-switch-statement/"><em>https://www.codetips.co.uk</em></a><em> on May 8, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf521163117c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are comments?]]></title>
            <link>https://medium.com/@OmisNomis/what-are-comments-2e22de10c120?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e22de10c120</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Tue, 16 Apr 2019 17:24:03 GMT</pubDate>
            <atom:updated>2019-07-12T07:12:06.858Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Comments are just notes for developers</em></blockquote><p>It really is that simple. Developers write comments to help themselves or others understand what the code does in the future.</p><p>Each language specifies the <a href="https://codetips.co.uk/beginner/what-is-syntax/">syntax</a> for comments, like everything else. When your application encounters a comment it will ignore it and find the next line of code that it can execute. So you can write whatever you want in a comment without it affecting your application.</p><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/beginner/what-are-comments/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/beginner/what-are-comments/"><em>https://www.codetips.co.uk</em></a><em> on April 16, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e22de10c120" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is testing?]]></title>
            <link>https://medium.com/@OmisNomis/what-is-testing-f03c48d337c1?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f03c48d337c1</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Fri, 12 Apr 2019 08:15:12 GMT</pubDate>
            <atom:updated>2019-07-12T07:11:54.835Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>It doesn’t matter if you’ve been coding for five minutes, or five decades, you’ll never write software that is perfect.</em></blockquote><p>That doesn’t mean you won’t write good software, but it will have bugs (defects) and it’s important you accept that early on.</p><p>Computers will do what we tell them to but they’re not smart enough (yet) to do what we mean.</p><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/beginner/what-is-testing/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/beginner/what-is-testing/"><em>https://www.codetips.co.uk</em></a><em> on April 12, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f03c48d337c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is an object?]]></title>
            <link>https://medium.com/@OmisNomis/what-is-an-object-86ae77049ddd?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/86ae77049ddd</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Wed, 10 Apr 2019 07:26:28 GMT</pubDate>
            <atom:updated>2019-07-12T07:11:42.476Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Objects are structured collections of data and methods.</em></blockquote><p>Like most things at this stage, we’re not throwing all the information at you, so this is just a basic introduction. We’ve purposefully omitted all the complicated things until a later article.</p><p>Objects are like arrays but instead of indexing the elements by incremental numbers it allows you to assign a key to each value you store, separated by a ,.</p><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/beginner/what-is-an-object/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/beginner/what-is-an-object/"><em>https://www.codetips.co.uk</em></a><em> on April 10, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86ae77049ddd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is an else statement?]]></title>
            <link>https://medium.com/@OmisNomis/what-is-an-else-statement-b82f0acbe978?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b82f0acbe978</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Fri, 05 Apr 2019 14:53:02 GMT</pubDate>
            <atom:updated>2019-07-12T07:11:30.059Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>An else statement is a block of code to run when a condition is </em><strong><em>not</em></strong><em> met</em></blockquote><p>In <a href="https://codetips.co.uk/beginner/what-is-an-if-statement/">What is an if statement?</a> you were introduced to if statements. We posed a question (&quot;<em>Should I go outside and take a walk?&quot;) and wrote some </em><a href="https://codetips.co.uk/beginner/what-is-pseudo-code/"><em>pseudocode</em></a><em> on how this could be represented in an </em>if statement:</p><pre>if (takeWalkOutside) { // put on your shoes }</pre><p>But what if our logic wasn’t as simple as this and instead we want to find out what shoes we should wear, based on the weather?</p><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/beginner/what-is-an-else-statement/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/beginner/what-is-an-else-statement/"><em>https://www.codetips.co.uk</em></a><em> on April 5, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b82f0acbe978" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Version Control?]]></title>
            <link>https://medium.com/@OmisNomis/what-is-version-control-cefc1aea7462?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/cefc1aea7462</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Fri, 05 Apr 2019 08:44:00 GMT</pubDate>
            <atom:updated>2019-07-12T07:11:18.648Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Version Control helps you keep track of your data.</em></blockquote><p>We’re going to assume that you’ve written a CV. How many times have you re-written or updated it?</p><p>What if you wanted to go back to the version you had ten years ago? You could create a brand new version every time you make a change, but you would end up with hundreds of CV’s.</p><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/beginner/what-is-version-control/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/beginner/what-is-version-control/"><em>https://www.codetips.co.uk</em></a><em> on April 5, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cefc1aea7462" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a function?]]></title>
            <link>https://medium.com/@OmisNomis/what-is-a-function-a38db1116e3?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a38db1116e3</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Fri, 29 Mar 2019 08:44:58 GMT</pubDate>
            <atom:updated>2019-07-12T07:11:06.817Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>A function is a predefined block of code that can be executed to perform a specific task</em></blockquote><p>Have you ever completed a task and wished there was a way to automate it so you never have to do it again? We have those same problems in programming.</p><p>Whenever we encounter tasks like this we can write a function once, and have it perform the task as many times as we need.</p><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/beginner/what-is-a-function/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/beginner/what-is-a-function/"><em>https://www.codetips.co.uk</em></a><em> on March 29, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a38db1116e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is pseudocode?]]></title>
            <link>https://medium.com/@OmisNomis/what-is-pseudocode-6ee3bef1bbab?source=rss-603cb27a7da4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ee3bef1bbab</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Simon]]></dc:creator>
            <pubDate>Tue, 26 Mar 2019 09:06:02 GMT</pubDate>
            <atom:updated>2019-07-12T07:10:54.531Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Pseudocode is the representation of code.</em></blockquote><p>Pseudocode is used when you are trying to explain a programming concept, or to describe how you plan on implementing some functionality in your program, without the constraints of making it <a href="https://codetips.co.uk/beginner/what-is-syntax/">syntactically</a> correct.</p><p>Take almost any previous article on this site and you will find pseudocode. In <a href="https://codetips.co.uk/beginner/what-are-loops/">What are loops</a> we introduced the concept of a list and a loop:</p><pre>-- list -- <br>recipients = James, John, Jimmy, Jane, Jake, Jemma, Joanne, Juliet, Jessica, Josh </pre><pre>-- Loop -- for $name in recipients { Dear $name .... body of letter .... }</pre><p>This article has been cross-posted to Medium, in a very cut down version, to reach a wider audience.</p><p>If you’d like to read this article, please visit the following <a href="https://www.codetips.co.uk/beginner/what-is-pseudo-code/">link</a>.</p><p><a href="https://www.codetips.co.uk/">CodeTips</a> strives to help beginners, with zero or very little experience, learn to code.</p><p>Why not <a href="https://mailchi.mp/92cccf7024b2/codetips">subscribe to our newsletter</a> and get the newest articles straight to your mailbox?</p><p>The original source for this content is <a href="https://www.codetips.co.uk/">CodeTips</a>.</p><p><em>Originally published at </em><a href="https://www.codetips.co.uk/beginner/what-is-pseudo-code/"><em>https://www.codetips.co.uk</em></a><em> on March 26, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ee3bef1bbab" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>