<?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 Olivia on Medium]]></title>
        <description><![CDATA[Stories by Olivia on Medium]]></description>
        <link>https://medium.com/@oliviacodes?source=rss-ac7a7e0b34b8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WZOVctv8_Wu1-UId4s0v1A.jpeg</url>
            <title>Stories by Olivia on Medium</title>
            <link>https://medium.com/@oliviacodes?source=rss-ac7a7e0b34b8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 00:05:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oliviacodes/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[Celebrating Three Years at Capital On Tap: Volunteering, AI & Letting Go of Worry]]></title>
            <link>https://oliviacodes.medium.com/celebrating-three-years-at-capital-on-tap-volunteering-ai-letting-go-of-worry-9b80ff3c50a9?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b80ff3c50a9</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 11:30:19 GMT</pubDate>
            <atom:updated>2025-02-13T11:30:19.902Z</atom:updated>
            <content:encoded><![CDATA[<p>Before joining Capital On Tap, I had an entirely different career path in mind. I started out studying law, with no idea I would one day transition into tech. My entry into software engineering began with YouTube tutorials and bootcamps, where I learned the basics of coding and discovered my passion for problem-solving through technology.</p><p>It wasn’t an easy shift but it led me to move from Wolverhampton to London to pursue my career in software engineering. Fast forward to today, and I’m now a mid-level developer at Capital On Tap, recently celebrating my<strong><em> 3-year (insane!) </em></strong>anniversary and reflecting on how far I’ve come.</p><h3><strong>Volunteering and a Full Circle Moment</strong></h3><p>One of the most fulfilling experiences I’ve had recently was volunteering with FutureCoders at a local school. On February 3rd, I joined FutureCoders to help Year 12 and 13 students prepare for their digital/IT exams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U0uL-8lSrczsbpczgaVkew.jpeg" /></figure><p>I initially planned to go alone, but my CTO was really enthusiastic opening the offer up to my colleagues, and thankfully six of them were happy to join me. Together we provided mentorship and shared our knowledge with the students. It was a great way to give back and encourage the next generation of tech talent. (<em>Thanks guys!)</em></p><p>The most heartwarming part of the day came when I had a full-circle moment. Walking through the school corridors, I spotted a row of framed pictures of inspiring women in tech — and one of them was Charlene Hunter MBE, the founder of Coding Black Females and co-founder of the Black Codher bootcamp. Black Codher was where I took my first steps into tech, learning HTML, CSS, JavaScript, and everything I needed to begin my coding journey. Seeing Charlene’s picture was surreal — she had once shared her knowledge with me, and now, six years later, I was in a position to do the same for others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WhDBk40Uoy9AtNVFD3B7wA.jpeg" /></figure><p>That moment reinforced the importance of paying it forward. If not for Black Codher, I wouldn’t be writing this article, living in London, or working as a software engineer. That bootcamp was my gateway into tech, and I’ll always be grateful for the opportunity it provided.</p><h3>Worry Is the Most Useless Emotion</h3><p>I celebrated three years in October, feeling both shocked and grateful. When I joined as a graduate — an absolute beginner — I was filled with imposter syndrome and worry about how much room I’d <em>really </em>have to learn on the job. Here’s something I wish I’d known sooner, not just for my career but for life in general:<strong> 91% of worries never come true</strong>, and for the 9% that do, people handle them better than expected (LaFreniere &amp; Newman, 2020).</p><p>The fact that I’m still here — and significantly improved, if I do say so myself — proves that I handled my worries better than expected. Growth came from learning from mistakes, practicing, asking for help, and having a supportive team. This 3 year journey at Capital on Tap helped me grow both professionally and personally.</p><h3>AI, Revisiting Python, and the Importance of Side Projects</h3><p>Just as I was getting comfortable, AI surged forward. Am I worried? A little. It’s not far-fetched to think AI could replace graduates, juniors, and maybe even mid-level developers. It’s faster and, in some cases, better — which is a little intimidating. I only just got here!</p><p>Being proactive, I’ve spent my weekends re-learning Python and exploring machine learning. I say “re-learning” because before joining Capital On Tap, I knew Python and Ruby, but since I didn’t use them at work, I forgot them. If I could give my younger self advice, it would be to keep up with side projects and maintain all my skills — even the ones I didn’t use at work. Python is one of the easiest languages to learn, but I’d be much further along if I had kept practicing.</p><p>As for the Machine Learning side of things, currently I don’t love it and I haven’t fully wrapped my head around it, but I am enjoying the challenge. It’s unfortunate some of this is being pursued out of slight fear. In todays world, it feels like not keeping up with AI would backfire on me career wise, so I’m hoping the more I pick it up, my pursuit comes from a place of enjoyment and curiosity rather than necessity.</p><h3>New things &amp; what’s next</h3><p>Outside of coding, I’ve picked up new hobbies — bouldering, horse riding, travel and food content creation, and Reformer Pilates. Staying active is important to me. I never want to feel glued to my chair, especially since I can get fixated on work. If I’m stuck on a bug or project, I tend to sit for hours without moving, sometimes skipping meals or social interactions. This year, I’m making a conscious effort to stay active and balance work with movement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LLI5SoGsr0KhImA-zkuB_w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6RX-3auC1yaFQh8WCo9jwg.jpeg" /></figure><p>As for what’s next: growing my confidence in coding (a never-ending journey), diving deeper into AI, building Python side projects, staying active (and becoming a Pilates expert without injuries), and taking my travel and food content more seriously — it’s been getting great feedback so far.</p><p>Thanks for reading — see you at year four!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b80ff3c50a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One Year of Being A Software Engineer at Capital On Tap: A Retrospective]]></title>
            <link>https://oliviacodes.medium.com/one-year-of-being-a-software-engineer-at-capital-on-tap-a-retrospective-21c77f75d653?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/21c77f75d653</guid>
            <category><![CDATA[capitalontap]]></category>
            <category><![CDATA[london]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Tue, 04 Oct 2022 13:40:58 GMT</pubDate>
            <atom:updated>2022-10-04T14:57:12.410Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*G9mQwINQWOu7JFZXvbd9kg.jpeg" /></figure><p>Last year, October 4th 2021 I made my way over to Capital On Tap’s London office for my first ever day as a Junior Software Engineer. I’d also moved to London for the job, so I was following maps on how to get there yet somehow ended up being about 35 mins early, just awkwardly sat by the front door petting the office dogs until 9.</p><p>That day I remember feeling more excited than nervous. I already knew how great of a company Capital On Tap was due to speaking to them prior, and the office was so lively. At the time I thought it looked like the ideal work environment — cute dogs, loads of greenery, a kitchen, kind people, snacks &amp; a terrace. I was right. I genuinely love being in the office <em>(minus the commute, I’ll admit getting used to the tube and fast paced streets of London still make me anxious sometimes).</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fE8Q5Wg84ij0R4z31oRrjA.jpeg" /></figure><p>Any nervousness I once felt surrounding my new role stemmed purely from imposter syndrome. For some context, I’m a Law Graduate from Lancaster University, so ‘I really don’t belong here’ crossed my mind more than a couple thousand times at the start, especially in those early days of picking up something new for the very first time, or having it explained to you and it doesn’t click. To be in this position, whilst already in my new job, would put panic levels on100. I told myself that I needed to be a good developer, know everything and not make any mistakes right now. The pressure was on.</p><p>I can still recall what felt like my worst day (but in hindsight it wasn’t). I’d never done unit testing before, and C# was a new language to me that I needed to learn on the job. I’d been assigned two amazing Buddies to help me get started (<em>and I cant thank them enough, Alok &amp; Brandon, if you read this, you helped with my development so much — thank you</em>). One of my unit tests was going horribly wrong, but I’d already asked for help like 30 seconds prior so decided to figure it out myself. Overwhelming mistake, I went home and sat on the train absolutely wailing over the phone to my mother about whether I’m smart enough for this.</p><p>When I think back to this day, I could never <strong><em>ever</em></strong> be in the same position now. With the team/co-workers I have, and my increased confidence around asking questions and for help, its literally impossible. Which leads me to say, I am super lucky.</p><p>Capital on Tap is one of those companies where they are exactly what they say on the tin. When they say they’re here to support you, there are no stupid questions, and the learning curves I’m having as a junior are completely normal — they really mean it. At any given point, there is a multitude of people I could turn to, from my Engineering team, my previous &amp; current manager, managers of other teams, the People Team to the Product Managers.</p><p>Over the year, I most definitely feel more integrated into the company and more confident about a lot of things. It’s actually perfect timing that I joined the company in October because thats Black History Month in the UK, and so far I’ve had a blast helping to organise this years, everyone’s been really engaging and receptive which is nice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j2fcOVD3Mz2ih-xa04wHXg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u6qbNircCDRBasTbylQyxw.jpeg" /></figure><p>As for my technical skills, this day last year I quite literally did not know C#. Nothing, nada. The only C# I knew was a musical note. Now, I’d say I’m getting there. It’s another area where my confidence has increased <em>(and unit tests make a lot more sense to me now, in fact, sometimes I enjoy writing them once I get the hang of it). </em>On average I tend to use React, and I knew that pretty well prior to joining the team, or so I thought. The members of my team inspire me, they’re just so good and I’ve lost count of how many practices they’ve taught me on the frontend and how many times I’ve thought ‘I can’t wait to be at that level’ when one of them implements a new feature.</p><p>When starting out I would see comments on my PR as a list of things I did wrong but really they’re tips, and helpful things to remember going forward. They help me not make the same mistake twice, because now I know what the ideal syntax is or what the ideal way to write certain code is. This better POV I had about things increased the more my imposter syndrome went away, juniors are supposed to make mistakes and learn from them so it’s really ok. — It just took some time to internalise this, and I think that’s normal too.</p><p>Recently, I started writing some documentation for my team and I’ve been enjoying that, plus I’m able to ensure its what I call, ‘Junior Friendly’. I’ve been told a few times that the questions I ask do prompt others to remember the answer themselves, find out something new, or put them in a position where they need to break down the answer in a non-highly technical way, and I think that’s an important skill for all developers to have. Once again, I’m lucky that my team were amazing at doing this from the get-go. I’m sure I’ve only stared at them in utter confusion less than 10 times throughout the <strong>whole year</strong>. Big achievement in my opinion.</p><p>I don’t regret doing Law. I’m not sure if I would’ve crossed paths with tech if I didn’t do it. I’m also grateful it gave me a career path &amp; switching into tech story. I get asked a lot about that and I’ve even delivered a few talks about my journey. I think anyone can break into tech no matter the background, I don’t think its ever ‘too late’ either. There’s no deadline for picking up a new skill, you just have to be patient and consistent, and really listen to the advice of others who have come before you. — This is where I’d like to give a huge thank you to my mentor, Isabel Costa, who also became a friend because of how much she’s inspired, helped and checked in on me.</p><p>Funnily enough, I hadn’t spoke to Isabel for awhile and we had a catch up call today of all days, my one year anniversary. So it was really nice to reminisce with her about both our developments and where we are now. Just two black women thriving in tech supporting each other. Love to see it.</p><p>A lot has happened in the past year, and you might be losing concentration on this 13th paragraph. So I’ll wrap it up. It’s been a great year. I switched from Law to tech, I moved out of my home town to London by myself, I made new friends, explored new places, hit gold by working at Capital on Tap because my co-workers really are great, and I’m learning more on a daily basis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WC1ZlCtkqAjPH73hnv1gpA.jpeg" /></figure><p>Thats it, thats my whole year as a Software Engineer at Capital on Tap. I’m excited for the 2nd and my continued growth.</p><p><em>Ah, final note. Huge Ed Sheeran fan. A few months ago I went to Wembley by myself to go see him live, prior to that I hadn’t seen him since 2014. Wonderful experience, might’ve cried, theres no photo evidence anyway. Another main highlight of my year in London for sure.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IxzLAP88NnY3rIyp6Z1GRQ.jpeg" /><figcaption>+ is my favourite Ed album, hard to accept we’ll never get another like it.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KLcR9s51sB6RLYlWh-qx7A.jpeg" /><figcaption>At the very very top row of Wembley, not recommended for a fear of hights but I had the time of my life anyway.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21c77f75d653" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Create a Class In C# — Beginner Friendly]]></title>
            <link>https://oliviacodes.medium.com/how-to-create-a-class-in-c-beginner-friendly-9760e2623487?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9760e2623487</guid>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[object-oriented]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Thu, 14 Oct 2021 09:48:33 GMT</pubDate>
            <atom:updated>2021-10-14T09:48:33.454Z</atom:updated>
            <content:encoded><![CDATA[<h3>How To Create a Class In C# — Beginner Friendly</h3><p>A beginner friendly breakdown of creating classes and objects in C#</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*gx7_IVAbo3dkHKXp.jpeg" /></figure><h4><strong>What is a class?</strong></h4><p>A class is a blueprint for a data-type (data-types such as string, integer, Boolean .etc). By creating a class, you are creating your own data-type.</p><h4>View the example of a class below, lets work through it.</h4><pre>class Box {</pre><pre>   public double Length { get; set; }</pre><pre>   public double Breadth { get; set; }</pre><pre>   public double Height { get; set; }<br></pre><pre>   public double getVolume(){</pre><pre>    return Length * Breadth * Height;</pre><pre>   }</pre><pre>   public double getArea() {</pre><pre>    return Length * Breadth;</pre><pre>}</pre><pre>}</pre><p>Here we are creating a <strong>data-type </strong>that will represent a Box, using the <strong>class </strong>keyword</p><pre>class Box</pre><p>Next, we add the properties (or fields) we want our Box class to have. As best practice, properties of classes should have capital letters e.g. Height</p><pre>public double Height{ get; set; }</pre><h4>What is get and set?</h4><p>The <strong>get </strong>allows you to retrieve/get the value (such as being able to write it in the Console), <strong>set </strong>allows you to assign a value to the field, like if you wanted Length to equal 10cm.</p><pre>public double Length { get; set; }</pre><p>If you remove <strong>get</strong>:</p><pre>public double Length { set; }</pre><p>You will get an error when doing Console.WriteLine(Length) — you do not have permission to ‘get’ the property. It is <strong>read-only, </strong>but you can still set it equal to 10cm or any other value.</p><p>If you remove <strong>set</strong>:</p><pre>public double Length { get; }</pre><p>You only have permission to get the value. You can not assign anything to it.</p><h4>How to add a method to a class.</h4><p>In our example we have a method that calculates the volume of our box.</p><p>This method will return a <strong>double</strong>, we stated that after the public keyword on the first line.</p><p>We don’t need to pass Length, Breadth or Height as parameters since they were all crated in the Box class alongside with this method <em>(view example above as reminder)</em>, and therefore the method has access to these properties.</p><pre>public <strong>double</strong> getVolume(){</pre><pre>return Length * Breadth * Height;</pre><pre>}</pre><h3>Congratulations! You have created a class. Now, let’s put it to some use.</h3><p>Take a look at this code which will be utilising our Box class, by creating a new instance of the class — an object.</p><pre>namespace Example {</pre><pre>class Program {<br></pre><pre>static void Main(string[] args) { <br></pre><pre>   Box boxObject = new Box();<br></pre><pre>   Console.WriteLine(&quot;Enter a length: &quot;);</pre><pre>   double n1 = double.Parse(Console.ReadLine());</pre><pre>   Console.WriteLine(&quot;Enter a breadth: &quot;);</pre><pre>   double n2 = double.Parse(Console.ReadLine());</pre><pre>   Console.WriteLine(&quot;Enter a Height: &quot;);</pre><pre>   double n3 = double.Parse(Console.ReadLine());<br></pre><pre>   boxObject.Length = n1;</pre><pre>   boxObject.Breadth = n2;</pre><pre>   boxObject.Height = n3;</pre><pre>   double volume = boxObject.getVolume();</pre><pre>   double area = boxObject.getArea();</pre><pre>Console.WriteLine($&quot;Box dimensions are:  {boxObject.Length}, {boxObject.Breadth}, {boxObject.Height}. The volume is {volume} and The area is {area}&quot;);</pre><pre>}}}</pre><h4>How to use the Box class</h4><p>To use the Box class, we want to initialize an object of class type Box. The code below is initializing an <strong>object </strong>called boxObject<strong>, </strong>not a variable as such</p><pre>Box boxObject = new Box();</pre><h4>User input and type-casting</h4><p>This one is simple. We’re asking the user to entre values for each of the Box properties we created. The answer will be in the format of a string, so before we use it, we must parse it into an integer/double</p><pre>Console.WriteLine(&quot;Enter a length: &quot;);</pre><pre>double n1 = double.Parse(Console.ReadLine());</pre><p>Thanks to the { set; } we used earlier, we can assign a value to Length. We access length by using dot notation (literally a full stop) on our boxObject object and assign it the user input we turned into a double.</p><pre>boxObject.Length = n1;</pre><p>Similar is done for assigning a value to volume and area. Those are calculated from the values chosen</p><pre>double volume = boxObject.getVolume();</pre><p>Now we can view everything and write it to Console! Here’s an example out if you gave Length 5, Breadth 10, and Height 10:</p><pre>Enter a length:<br>5</pre><pre>Enter a breadth:<br>10</pre><pre>Enter a Height:<br>15</pre><pre>Box dimensions are:  5, 10, 15<br>the volume is 750<br>the area is 50</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9760e2623487" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[C# and the Beginners Basics]]></title>
            <link>https://oliviacodes.medium.com/c-and-the-beginners-basics-f91a5795ab32?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f91a5795ab32</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[c]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Mon, 11 Oct 2021 09:42:36 GMT</pubDate>
            <atom:updated>2021-10-11T17:01:43.060Z</atom:updated>
            <content:encoded><![CDATA[<h3>Variables</h3><blockquote>type variableName = assignedValue</blockquote><p>int — numbers / integers <strong>without decimals</strong></p><p>double — integers with decimals</p><p>char — single characters ‘A’ with <strong>single quotes</strong></p><p>string — text, with <strong>double quotes:</strong></p><ul><li>string: .Length, .ToUpper, .ToLower, .Concat</li><li>string interpolation: don’t need to include spaces in the variable — <strong>$</strong>&quot;My full name is: <strong>{</strong>firstName<strong>} {</strong>lastName<strong>}</strong>&quot;</li></ul><p>bool/Boolean — true or false</p><p><strong>Constants: </strong>Prevents overwriting existing values, unchangeable and read-only</p><p><strong>Declare many: </strong>if of the same type;</p><pre>int x = 1, y = 2, z = 3</pre><h3>Type Casting</h3><blockquote>changing one type to another.</blockquote><p>Explicit type casting is done <strong><em>after </em></strong>the assignment operator</p><pre><strong>double</strong> myDouble = 11.05;<br><strong>int </strong>myInt = <strong>(int) myDouble</strong>; <br><br>Console.WriteLine(myDouble);   // Outputs 11.05<br>Console.WriteLine(myInt);      // Outputs 11</pre><p><strong>Built-in Methods</strong></p><pre>Convert.ToString(variable name to cast);<br>Convert.ToDouble(variable name to cast);<br>Convert.ToInt32(variable name to cast);<br>Convert<strong>.</strong>ToBool(variable name to cast);</pre><pre>string birthdayMonth = &quot;5&quot;</pre><pre>Console.WriteLine(Convert.ToInt32(birthdayMonth));</pre><h3>User Input</h3><blockquote>Console.<strong>ReadLine</strong>(); to get the users input</blockquote><pre>Console.WriteLine(&quot;What&#39;s your name?&quot;);</pre><pre><br>string yourName = Console.ReadLine();<br><br><br>Console.WriteLine(&quot;Hello there, &quot; &quot; + yourName);</pre><p>Note: <strong>ReadLine(); </strong>returns a string, if using non string types, you will have to cast them</p><h3>If Statement Structure</h3><pre>if (<em>condition1</em>)<br>{<br>  <em>// block of code to be executed if condition1 is True</em><br>} <br>else if (<em>condition2</em>) <br>{<br>  <em>// block of code to be executed if the condition1 is false and condition2 is True</em><br>} <br>else<br>{<br>  <em>// block of code to be executed if the condition1 is false and condition2 is False</em><br>}</pre><h3>Ternary Operator</h3><pre><em>variable = (condition) ? expressionTrue :  expressionFalse;</em></pre><h3>Switch statement</h3><pre>int day = 4;<br>switch (day) </pre><pre>{<br>  case 6:<br>    Console.WriteLine(&quot;Today is Saturday.&quot;);<br>    break;</pre><pre>  case 7:<br>    Console.WriteLine(&quot;Today is Sunday.&quot;);<br>    break;</pre><pre>  default:<br>    Console.WriteLine(&quot;Looking forward to the Weekend.&quot;);<br>    break;<br>}</pre><pre>// Outputs &quot;Looking forward to the Weekend.&quot;</pre><h3>Foreach</h3><p>foreach (<em>type</em> <em>variableName</em> in <em>arrayName</em>) <br>{<br> <em>// code block to be executed</em><br>}</p><h3>Arrays</h3><blockquote>{} instead of []</blockquote><p>Define the var type with [], store elements in{}</p><pre>string[] cars = {&quot;Volvo&quot;, &quot;BMW&quot;, &quot;Ford&quot;, &quot;Mazda&quot;};</pre><h3>Reference type</h3><blockquote>will not store the actual data but will store the reference of the variable</blockquote><p>Provided the reference, data and data type unknown, its just storing.</p><pre>object obj; // create instance</pre><pre>obj = 100; // called boxing</pre><pre><br>Console.WriteLine(&quot;value of obj {0}&quot;, obj)</pre><h3>String manipulation</h3><p>string string = “Hello World World World”;</p><p>Replace</p><pre>string.Replace(&quot;hello&quot;, &quot;hi&quot;);</pre><p>Insert</p><pre>String.Insert(5, &quot;C#&quot;)</pre><p>AppendFormat</p><pre>string.AppendFormat( &quot;{0}&quot;, 25);</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f91a5795ab32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[C# : Summary Guide with Anime Examples]]></title>
            <link>https://oliviacodes.medium.com/c-summary-guide-with-anime-examples-b0f502078a30?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0f502078a30</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[anime]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[c]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Thu, 07 Oct 2021 13:25:26 GMT</pubDate>
            <atom:updated>2021-10-07T13:25:26.362Z</atom:updated>
            <content:encoded><![CDATA[<h3>C# : Summary Guide with Anime Examples</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/0*HVQH5B2grS0355zr.jpg" /></figure><h3>Guess who’s back with the Anime x Coding examples!</h3><p>OOP (object-oriented programming) is about creating <strong>objects </strong>that contain:</p><ul><li>Data (v<em>ariable defined directly in the class? =&gt; </em><strong><em>Field)</em></strong></li><li>Methods (functions, block of code that runs only when called, can accept parameters)</li></ul><h3><strong>OOP core concepts:</strong></h3><ul><li>Encapsulation</li><li>Inheritance</li><li>Abstraction</li><li>Polymorphism</li></ul><h3><strong><em>Methods</em></strong></h3><p>Methods in C# =&gt; name of method capitalised with parentheses the end. To run method include semi-colon at the end.</p><ul><li>Access with the . syntax</li><li>public methods can only be accessed by objects — public also an <em>access modifier</em></li><li>static methods can be accessed <strong>without creating an object </strong>of the class</li></ul><p>Example: A class called Ichigo might have a method called Bankai, which shouts / writes the iconic line:</p><pre>Ichigo.Bankai(); // Console.WriteLine(&quot;BANKAI&quot;);</pre><h3>Classes</h3><ul><li>Template for objects</li><li>use class keyword to create</li><li>Example 1: FaveAnimes</li></ul><pre><strong>class</strong> FaveAnime<br>{</pre><pre>// code</pre><pre>}</pre><h3><strong>Objects</strong></h3><ul><li>An instance of a class, created from a class</li><li>keyword: new is to create new object</li></ul><pre>class FaveAnime<br>{<br>  int rating;<br>  string genre;<br><br><br>  static void Main(string[] args)<br>{</pre><pre>    FaveAnime Gintama = new FaveAnime();<br>    Gintamma.rating = 8;<br>    Gintama.genre = &quot;comedy&quot;</pre><pre>    FaveAnime Jujutsu_Kaisen = new FaveAnime();<br>    Jujutsu_Kaisen.rating = 9;<br>    Jujutsu_Kaisen.genre = &quot;Supernatural battle Shonen&quot;</pre><pre>    Console.WriteLine(Gintama.genre);<br>    Console.WriteLine(Jujutsu_Kaisen.rating);</pre><pre>}<br>}</pre><pre>// outputs: &quot;comedy&quot; <br>// outputs: 9</pre><h3>Constructors</h3><ul><li>method to initialize objects, called when an object of a class is created and can set initial values for fields</li></ul><p>class Avatar<br>{<br> public string tribe;<br><br><br> public Avatar() // this is the <strong>constructor</strong><br> {<br> tribe = &quot;water&quot;; // Set the initial value for model<br> }<br><br> static void Main(string[] args)<br> {<br> Avatar Katara = new Avatar(); <br> Console. WriteLine(Katara.tribe); // Print the value of model<br> }<br>}<br><br>// Outputs &quot;water&quot;</p><h3>Constructors with parameters</h3><ul><li>Used to initialise fields / set values. Saves time.</li></ul><pre>class Avatar<br>{<br>  public string tribe;<br>  public string colour;<br><br><br>  public Avatar (string tribeName, string tribeColour)<br>  {<br>    tribe = tribeName;<br>    colour = tribeColour;<br>  }<br><br>  static void Main(string[] args)<br>  {<br>    Avatar Katara = new Avatar(&quot;water&quot;, &quot;blue&quot;);<br>    Console.WriteLine(Katara.tribe + &quot; &quot; + Katara.colour);<br>  }<br>}<br><br><br>// Outputs: water blue</pre><h3>Access Modifiers</h3><ul><li><strong>public: </strong><em>code is accessible for all classes</em></li><li><strong>private: </strong><em>accessible within the same class</em></li><li><strong>protected: </strong><em>accessible within the same class, or in class that is inherited</em></li></ul><h4>Private</h4><ul><li>Here, the <strong>private </strong>string ‘<strong>TechniqueName</strong>’ can only be accessed inside the class <strong>CursedTechnique</strong></li></ul><pre>class CursedTechnique</pre><pre>{<br>  private string TechniqueName = &quot;Straw Doll&quot;;<br><br>  static void Main(string[] args)<br>  {<br>    CursedTechniques Nobara = new CursedTechnique();<br>    Console.WriteLine(Nobara.TechniqueName);<br>  }<br>}</pre><pre>// outputs &quot;Straw Doll&quot;</pre><ul><li>If I had an entirely new class called SailorMoon, I could not access ‘<strong>TechniqueName</strong>’ inside it</li><li>There’s no cursed techniques in the anime Sailor Moon, just Jujutsu Kaisen, this should help with visualising why its private.</li><li>You should get an error similar to:</li></ul><pre>&#39;SailorMoon.TechniqueName&#39; is inaccessible due to its <strong>protection level</strong><br>The field &#39;SailorMoon.TechniqueName&#39; is assigned but its value is never used</pre><h4>Public</h4><p>Forget what I just said, there&#39;s going to be a Sailor Moon x Jujutsu Kaisen cross over episode! The characters in Sailor Moon will have access to cursed TechniqueName‘s now and will not flag any errors since its been made <strong>public</strong></p><pre>class CursedTechnique</pre><pre>{<br>  <strong>public </strong>string TechniqueName = &quot;Straw Doll&quot;;<br>}</pre><pre>class SailorMoon<br>{<br>  static void Main(string[] args)<br>  {<br>    SailorMoon SailorLiv = new SailorMoon();<br>    Console.WriteLine(SailorLiv.TechniqueName);<br>  }<br>}</pre><p>And now a new character Sailor Liv (me!) has access to cursed techniques from a totally different show!</p><h3>Properties: get &amp; set</h3><p>Sometimes we need to access private fields in different classes without getting the errors discussed above. One way to do this, without changing them to public, is through <strong>properties.</strong></p><p>Property: combo of variable and method, 2 methods- get &amp; set.</p><pre>class MHAClass1A<br>{<br>  private string student; // lowercase field<br><br>  public string Student // uppercase <strong>property, </strong>both associated<br>  {<br>    get { return student; }   // returns value of student<br>    set { student = value; }  // set method<br>  }<br>}</pre><p>Can now use the Student property (the uppercase public string) to access and update a new class!</p><pre>class MHAFavourites<br>{<br>  static void Main(string[] args)<br>  {<br>    MHAFavourites bestBoy = new MHAFavourites();<br>    bestBoy.Student = &quot;Shoto<strong> </strong>Todoroki&quot;;<br>    Console.WriteLine(bestBoy.Student);<br>  }<br>}</pre><pre>// output: &quot;Shoto<strong> </strong>Todoroki&quot;</pre><h3>Inheritance</h3><ul><li>Derived Class — (child)</li><li>Base Class — (parent)</li><li>Inherit using a colon derived : parent</li></ul><p>I have a great My Hero Academia example for this, since Deku <strong><em>inherits </em></strong>(kind of)<strong><em> </em></strong>his Quirk from All Might</p><pre>class AllMight // base class (parent) <br>{<br>  public string name = &quot;Toshinori Yagi&quot;; <br>  public void OneForAll() <br>  {                    <br>    Console.WriteLine(&quot;Super strength&quot;);<br>  }<br>}</pre><pre>class Deku : AllMight <br>{<br>  public string name = &quot;Izuku Midoriya&quot;;  <br>}</pre><p>What this means that you can now run lines of code similar to Deku.OneForAll or Deku.name which should output &quot;Toshinori Yagi&quot;</p><p>This is because the fields and methods from one parent/base class (All Might) were inherited by a child/derived class (Deku) when we did class Deku : AllMight</p><h4>Sealed &amp; Inheritance</h4><p>If you don’t like My Hero Academia and wanted to render the whole plot redundant, you could <strong><em>seal </em></strong>the All Might class, so that no one can inherit from him</p><pre><strong>sealed </strong>class AllMight <br>{<br>   // code<br>}</pre><pre>class Deku : AllMight<br>{<br>  // code<br>}</pre><p>Will produce the error:</p><pre> ‘Deku’: cannot derive from sealed type ‘AllMight’</pre><h3>Polymorphism &amp; Overriding</h3><p>Polymorphism = ‘many forms’ and occurs when classes have inherited from one another.</p><p><em>Anime example:</em> Deku inherits One For All, but in the nature of Polymorphism, he uses it a different way to perform different tasks.</p><p>Here, AllMight is the Base / Parent class with a method called OneForAll();</p><pre>class AllMight // base class (parent) <br>{<br>  public void OneForAll() <br>  {                    <br>    Console.WriteLine(&quot;Super strength!&quot;);<br>  }<br>}</pre><p>If we had 3 other classes named Deku, Todoroki and Bakugo, and each of them inherited from the class AllMight to also use OneForAll, but in a slightly modified way, this would fail.</p><pre>class Todoroki : AllMight<br>{<br>  public void OneForAll() <br>  {<br>    Console.WriteLine(&quot;Super icy hot!&quot;);<br>  }<br>}</pre><pre>class Bakugo: AllMight<br>{<br>  public void OneForAll()<br>  {<br>    Console.WriteLine(&quot;Super angry!&quot;);<br>  }<br>}</pre><p>We’re not going to get ‘Super icy hot!” and “Super angry!” despite editing (polymorphing) the OneForAll method, we’re going to get the original “super strength” output. — Why? <strong>All Might is superior. </strong>The base class methods will always <strong>override </strong>derived (child) classes if using the same name, so despite our edits to OneForAll() we are stuck with “Super strength”.</p><p><strong>How to overcome this: </strong>use the keyword<strong> </strong><strong>virtual </strong>in the base class, and keyword <strong>override </strong>for each derived class</p><pre>class AllMight // base class (parent) <br>{<br>  public <strong>virtual </strong>void OneForAll() <br>  {                    <br>    Console.WriteLine(&quot;Super strength!&quot;);<br>  }<br>}</pre><pre>class Todoroki : AllMight<br>{<br>  public <strong>override </strong>void OneForAll() <br>  {<br>    Console.WriteLine(&quot;Super icy hot!&quot;);<br>  }<br>}</pre><p>Now this code will work, and we will have the output ‘Super icy hot!’</p><h3>Abstraction</h3><h4>Abstract classes and methods</h4><p>Abstraction = hiding certain details / information from the user and only showing what they <strong><em>need </em></strong>to know.</p><p><strong>Abstract classes:</strong> cannot use them to create new objects, can only be used through inheritance</p><p><strong>Abstract method: </strong>can <em>only </em>be used in an abstract class, does not have a body of code, body is provided by the derived (inherited / parent) class</p><h3>Enums</h3><p>A group of constants — unchangeable.</p><pre>enum Quint_Quintuplets {</pre><pre><strong>Ichika,<br>Nino,<br>Miku,<br>Yotsuba,<br>Itsuki</strong></pre><pre>}<br></pre><p>use <strong>enum </strong>keyword, seperate the enum items with a comma. Use the <strong>.</strong>syntax to access the enum items</p><pre>Quintessential_Quintuplets bestGirl = Quint_Quintuplets.Miku</pre><pre>Console.WriteLine(bestGirl)</pre><pre>// outputs the truth: Miku.</pre><h4>Enum values</h4><p>First item = value 0.</p><p>To get an integer value from an item, convert the item to an <strong>int</strong></p><pre>static void Main(string[] args)<br>{<br>  int numberedQuint = (int) Quint_Quintuplets.<strong>Nino</strong>;<br>  Console.WriteLine(numberedQuint);<br>}</pre><pre>// outputs 1</pre><p>Assign your own value to enum items and the following items will update accordingly</p><pre>enum Quint_Quintuplets {</pre><pre><strong>Ichika,<br>Nino,<br>Miku = 6,<br>Yotsuba, // will be 7<br>Itsuki,  // will be 8</strong></pre><pre>}</pre><h4>Enum Switch Statement</h4><pre>enum Quint_Quintuplets {</pre><pre><strong>Ichika,<br>Nino,<br>Miku,<br>Yotsuba,<br>Itsuki</strong></pre><pre>}</pre><pre>static void Main(string[] args) <br>{</pre><pre>  Quint_Quintuplets name = Quint_Quintuplets.Miku;<br>  switch(name) </pre><pre>  {<br>    case Quint_Quintuplets.Miku:<br>      Console.WriteLine(&quot;Best girl&quot;);<br>      break;<br>    case Quint_Quintuplets.Ichika:<br>       Console.WriteLine(&quot;Worst girl&quot;);<br>      break;<br>    case Quint_Quintuplets.Yotsuba:<br>      Console.WriteLine(&quot;3rd best girl&quot;);<br>      break;<br>  }</pre><pre>}</pre><pre><br>// output will be: &quot;Best girl&quot;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0f502078a30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Sort a Integer and Reverse it: Python vs JavaScript.]]></title>
            <link>https://oliviacodes.medium.com/how-to-sort-a-integer-and-reverse-it-python-vs-javascript-c3f3fcaf9b17?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3f3fcaf9b17</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Fri, 04 Jun 2021 11:00:09 GMT</pubDate>
            <atom:updated>2021-06-04T13:40:22.771Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Sort an Integer and Reverse it: Python vs JavaScript.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*mw46G41fkplI9v6P.jpg" /></figure><p><em>Beginner friendly: Sorting a string and then reversing it to return the highest possible int.</em></p><p>If we had the integer 1105198, we would want to sort it to 0111589, then reverse it in order to make the highest integer possible, which would be 9851110.</p><h4>In JavaScript</h4><ul><li>Define your function with a parameter for the integer</li><li>Cast the integer into a String data-type and split the string on each character</li><li>On the string, chain the sort method and the reverse method</li><li>To change the string back to an integer, use the <em>Number() </em>object. Inside use the join method to bring each individual character back together without spaces</li><li>return your final result!</li></ul><blockquote>function reverseNum(num) {</blockquote><blockquote>const numToString = String(num).split(“”);</blockquote><blockquote>numToString.sort().reverse();</blockquote><blockquote>const backToNum = Number(numToString.join(“”));</blockquote><blockquote>return backToNum;</blockquote><blockquote>}</blockquote><p>A condensed version would look like this:</p><blockquote>function reverseNum2(num) {</blockquote><blockquote>result = String(num).split(“”).sort().reverse().join(“”);</blockquote><blockquote>return result;</blockquote><blockquote>}</blockquote><p>Short code isn’t always ‘best code’. What’s best is that <strong>you understand</strong> what’s happening line by line.</p><p>Don’t forget to call your function with the argument (the integer) you want to sort and reverse.</p><h4>In Python</h4><ul><li>Define your function with the parameter for the integer</li><li>Assigned to a variable, cast the parameter into a String</li><li>Assigned to a variable, take the above variable and run the sorted method</li><li>Assigned to a variable, take the above variable and reverse it using [::-1]</li><li>Join the above variable together using the join method</li><li>Print your result!</li></ul><blockquote>def reverse_number(num):</blockquote><blockquote>num1 = str(num)</blockquote><blockquote>num2 = sorted(num1)</blockquote><blockquote>reverse_num2 = num2[::-1]</blockquote><blockquote>joined_nums = int(“”.join(reverse_num2))</blockquote><blockquote>print(joined_nums)</blockquote><p>Don’t forget to call your function with the argument (the integer) you want to sort and reverse.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3f3fcaf9b17" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reverse an Array in JavaScript using a For Loop]]></title>
            <link>https://oliviacodes.medium.com/reverse-an-array-in-javascript-using-a-for-loop-27f709ea3c4a?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/27f709ea3c4a</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Thu, 03 Jun 2021 16:05:52 GMT</pubDate>
            <atom:updated>2021-06-03T16:06:57.346Z</atom:updated>
            <content:encoded><![CDATA[<h4>A breakdown of how to reverse an array of numbers using a for loop in JavaScript.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/0*H-Ro972s4UOWhAY9.png" /><figcaption>For loop diagram</figcaption></figure><p>Lets take the array: [11, 5, 19, 98]for example. We want the reverse: [98, 19, 5, 11]</p><h4><strong>1. Define the function and parameter for the array of numbers</strong></h4><p>function reverseArrayOfNumbers(arr){</p><p>*code body*</p><p>}</p><h4>2. Create an empty array</h4><p>This is to store the numbers in once they’ve been reversed</p><p>let reverseArray = [];</p><h4>3. Create a for loop</h4><p>for (let i = arr.length — 1 ; i &gt;=0 ; i--){</p><p>*for loop code body*</p><p>}</p><p><strong><em>Why </em></strong><strong><em>i = arr.length — 1?</em></strong></p><ul><li>i will be our index when iterating through the array</li><li>[11, 5, 19, 98]has a <strong>length </strong>of 4 elements inside the array but<strong> indexes start from 0, </strong>so its index is <strong>0, 1, 2, 3 </strong>— we minus 1 from the length to account for the fact array indexes start at<strong> 0</strong></li></ul><p><strong><em>Why </em></strong><strong><em>i &gt; = 0?</em></strong></p><ul><li>whilst i is greater than or equal to 0 continue to run the loop!</li><li>there will be no element / number at index [-1], but there is one at index[0], so don’t need to go into negative numbers. stop at 0.</li></ul><p><strong><em>Why </em></strong><strong><em>i — -?</em></strong></p><ul><li>This is a way of decrementing i on each iteration, if 3 is starting at 3, on iteration it will go: 3, 2, 1, 0. Remember our loop will not get to -1! (<em>see above</em>)</li></ul><p>function reverseArrayOfNumbers(arr){</p><p>let reverseArray = [];</p><p>for (let i = arr.length — 1 ; i &gt;=0 ; i--){</p><p>*for loop code body*</p><p>}</p><p>}</p><h4>4. What happens inside the for loop</h4><p>(array reminder: [11, 5, 19, 98])</p><p>let numberFromArray = arr[i]</p><p>reverseArray.push(numberFromArray)</p><p>On the first iteration i = 3, so numberFromArray will be arr[3], which is 98! We then push this number into our empty array which now looks like this</p><p>reverseArray = [98]</p><p>That loop ran successfully, we now minus 1 from i and start again.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Second iteration: i = 2, so numberFromArray will be arr[2], which is 19! We then push this number into our empty array which now looks like this</p><p>reverseArray = [98, 19]</p><p>— — — — — — — — — — — — — — — — — — — — — — — — —</p><p>That loop ran successfully, we now minus 1 from i and start again.</p><p>Third iteration: i = 1, so numberFromArray will be arr[1], which is 5! We then push this number into our empty array which now looks like this</p><p>reverseArray = [98, 19, 5]</p><p>— — — — — — — — — — — — — — — — — — — — — — — — —</p><p>That loop ran successfully, we now minus 1 from i and start again.</p><p>Fourth iteration: i = 0, so numberFromArray will be arr[0], which is 11! We then push this number into our empty array which now looks like this</p><p>reverseArray = [98, 19, 5, 11]</p><p>— — — — — — — — — — — — — — — — — — — — — — — — —</p><p>We have reversed our original array!</p><p>The fifth iteration would see i = -1, but -1 is not greater than 0, nor is it equal to 0, so the loop is terminated.</p><p>Final code:</p><p>function reverseArrayOfNumbers(arr){</p><p>let reverseArray = [];</p><p>for (let i = arr.length — 1 ; i &gt;= 0 ; i--){</p><p>let numberFromArray = arr[i]</p><p>reverseArray.push(numberFromArray);</p><p>}</p><p>return reverseArray</p><p>}</p><p>Don’t forget to call your function at the end!</p><p>Happy coding / reversing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27f709ea3c4a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Python in 2021]]></title>
            <link>https://oliviacodes.medium.com/learning-python-in-2021-f2cb3ca8403b?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2cb3ca8403b</guid>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Thu, 03 Jun 2021 09:25:19 GMT</pubDate>
            <atom:updated>2021-06-03T09:25:19.846Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Alexa, play “Do It” by Chloe x Halle.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/0*48NxPHU7snpszqmW" /></figure><p>Most people familiar with coding know about Python, either what it is or how it works. Someone who is new and wanting to learn how to code might even consider learning Python as their first language. Here’s my take on that:</p><p>Do it.</p><p>It’s been roughly 8 months since I learnt to code and become a full-stack developer, and in that space I’ve become proficient in a multitude of things, mainly focussing on JavaScript and my favourite JS library, React.</p><p>However — last month, I learnt Python for the first time. I’ve heard before that <strong><em>python is arguably the easiest coding language to learn….</em></strong></p><p>This is 100% true, in my opinion and experience.</p><p>Knowing a bit of JavaScript did allow me to pick Python up quicker than most, because the syntax and how it works under the hood is generally similar, but aside from that, Python is easy on its own without prior coding knowledge.</p><p>Its code, unlike JavaScript most of the time, reads <strong>exactly </strong>like plain English with its highly descriptive and straightforward keywords. I would recommend learning it to everyone and anyone. It’s a brilliant language that becomes fun once you get the hang of it.</p><p>Apart from some fussy rules around indenting your code perfectly, there is nothing about Python designed to trip you up or be difficult, it is completely beginner friendly, and I wish I had started out with it. If you’re thinking about learning it — take the leap and <strong>do it</strong>.</p><p>As for learning Python in 2021 specifically, there is no massive difference. As usual there are plenty of amazing resources online if you plan to teach yourself. My recommendations would be YouTube tutorials, FreeCodeCamp and Codecademy. All brilliant, all free.</p><p>Happy coding! (in Python)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2cb3ca8403b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 Core Concepts of Object Oriented Programming]]></title>
            <link>https://oliviacodes.medium.com/junior-devs-object-oriented-programming-bcf45d0d7adf?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcf45d0d7adf</guid>
            <category><![CDATA[object-oriented]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[oop]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Wed, 10 Feb 2021 18:22:13 GMT</pubDate>
            <atom:updated>2021-10-05T14:11:27.249Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*_VcKRxlNube75UBLPmEYZw.png" /><figcaption>Object-oriented programming</figcaption></figure><p>At the moment everyone’s favourite question for me seems to be:</p><blockquote>‘Do you know what object oriented programming is?’</blockquote><p>The first time I was asked, I didn’t know. The second time I was asked, I knew slightly, but that wasn’t good enough for me. The next person to ask me will receive a fully detailed answer, an essay even. So buckle up for my official answer…</p><h3>someone: What is Object Oriented Programming?</h3><p>me: What a great question! Object Oriented Programming (OOP) is a programming paradigm that makes developing large projects easier and has four core concepts:</p><ul><li>Encapsulation</li><li>Inheritance</li><li>Abstraction</li><li>Polymorphism</li></ul><p>OOP differs a little per language, for example in Ruby, C#, JavaScript and Python, but the overall concept is the same.</p><h3>Encapsulation</h3><p>OOP centres around ‘objects’, common examples are to imagine a cat, a dog or a person. Each of these objects will have their own individual attributes and their own individual methods/behaviours like walk, talk, meow, bark, and so on. To stop these objects from interacting with each other when they shouldn’t, they need to be encapsulated.</p><p>Encapsulation refers to holding each object inside a defined boundary, this limiting interference from other objects. A bonus of this is data hiding and security measures.</p><p>Class names are a way of encapsulating and producing objects that are alike. Cats and dogs can be stored under the class of ‘Animal’, but not a person. If you had a class called ‘Language’ you could produce objects called Ruby, Python and JavaScript!</p><p>In Ruby, if we wanted to create a class like the above, it would look like this:</p><pre>class Language</pre><pre> def initialize(name, creator)</pre><pre>    @name = name</pre><pre>    @creator = creator</pre><pre> end</pre><pre><br> def description</pre><pre>    puts &quot;I&#39;m #{@name} and I was created by #{@creator}!&quot;</pre><pre> end</pre><pre>end</pre><pre>ruby = Language.new(&quot;Ruby&quot;, &quot;Yukihiro Matsumoto&quot;)</pre><pre>python = Language.new(&quot;Python&quot;, &quot;Guido van Rossum&quot;)</pre><pre>javascript = Language.new(&quot;JavaScript&quot;, &quot;Brendan Eich&quot;)<br></pre><pre>ruby.description</pre><pre>python.description</pre><pre>javascript.description</pre><p>What we’ve done here is defined the class name, and give it two variables (name, creator) unique to that class and its objects. Whatever object we produce from this class will use those variables.</p><p>The def is a method (function) that each object we create under Language will have access to.</p><p>The lines referring to Language.new()are filling out the parameters for name &amp; creator, for example “Python” was created by “Guido van Rossum” — there’s your fun fact for the day. So when we call javascript.description we are calling the method defined above, and we will get an output of</p><p><em>“I’m JavaScript and I was created by Brendan Eich!”</em></p><p>instead of<em> “I’m #{@name} and I was created by #{@creator}!”.</em></p><h3>Inheritance</h3><p>Now we move on to inheritance, which is when the classes essentially share (inherit) from each other. A vague example of this is a class called Computers and class called Phones could inherit from each other for a method call send_email, rather than having to type it all out again for every object you have that can send an email.</p><h3>Abstraction</h3><p>Abstraction is a bit like a cover blanket. It hides what isn’t relevant for the use of other objects and only exposes high methods that are public. When you turn your phone on, it’s done at the click of a button, and a click of a button is all we see on the surface, but inside your phone much more than that happened underneath the hood, especially for mobiles that have finger-ID. Abstraction hides all the details and technical pieces. This is also a security measure against exposing personal data.</p><h3>Polymorphism</h3><p>Polymorphism is what it sounds like. Morphing, different shapes, different forms. Objects can ‘morph’ when necessary and take on many forms in a parent — child relationship. There are two types of polymorphism: static and dynamic. But that’s an explanation for part two.</p><p>Happy coding!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcf45d0d7adf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coding Articles for Junior Developers You’ve Been “Meaning” to Read…]]></title>
            <link>https://oliviacodes.medium.com/coding-articles-for-junior-developers-youve-been-meaning-to-read-f075be02dd81?source=rss-ac7a7e0b34b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f075be02dd81</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[articles]]></category>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Olivia]]></dc:creator>
            <pubDate>Mon, 21 Dec 2020 15:40:31 GMT</pubDate>
            <atom:updated>2020-12-21T15:40:31.425Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the last few months, I’ve built up a stock pile of coding articles that I want to read. Sometimes I scroll past interesting articles on LinkedIn, or Medium sends me great suggestions through newsletters. I always open the articles and say, “<em>I’ll read them soon”.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*uGSOsabtJxASXMJPBKbrWw.jpeg" /></figure><p>Well today is the day I finally mean it. I have a whooping 37 (yeah, thirty-seven) open tabs of articles just sitting ready for me. I’m taking a break from coding today and I think reading through these coding articles will be a break well spent. I’ve come to a stale-mate on a project I’m working on, maybe I’ll find some inspiration through the things I learn today.</p><p>I’m going to leave this Medium tab open and jot down a few of my favourites with the links attached so I can come back to them any time. Enjoy!</p><h4><a href="https://medium.com/poka-techblog/simplify-your-javascript-use-map-reduce-and-filter-bd02c593cc2d"><strong>1) Simplify your JavaScript — Use .map(), .reduce(), and .filter()</strong></a></h4><p>I really liked this article. As a newbie methods like these can go over my head. I’m familiar with map and filter, but terrible at reduce (and maths, so..). Great read for solidifying understanding.</p><h4><a href="http://How to Use URL Parameters and Query Strings With React Router"><strong>2) How to Use URL Parameters and Query Strings With React Router</strong></a></h4><p>I should’ve mentioned earlier, I love React. Prepare for a lot of React articles.</p><h4><a href="https://medium.com/strands-tech-corner/react-state-management-without-redux-d39c7087039d"><strong>3) React State Management without Redux</strong></a></h4><p>I learnt about Redux very recently, the set up was a nightmare but the end result was worth it. This article explores state management without using Redux, but by using Hooks instead. Interesting read.</p><h4><a href="https://medium.com/javascript-in-plain-english/understanding-react-components-with-practical-examples-d4642dbb589c"><strong>4) Understanding React Components With Practical Examples</strong></a></h4><p>Simple reminder of the basics.</p><h4><a href="https://medium.com/@dieudonneawa7/how-to-create-a-responsive-hamburger-navigation-menu-reactjs-and-styled-components-59ce167ed543?source=email-ac7a7e0b34b8-1606448145125-digest.reader------1-59------------------1ba15c3a_c42d_4990_9a76_2f0d5254c293-16-----&amp;sectionName=recommended">5) How to create a responsive hamburger navigation menu — ReactJS and Styled Components</a></h4><p>I love articles based on user experience and a bit of CSS. This would be great to implement in future projects.</p><h4><a href="https://medium.com/bb-tutorials-and-thoughts/how-to-develop-and-build-react-app-with-nodejs-bc06fa1c18f3"><strong>6) How To Develop and Build React App With NodeJS</strong></a></h4><p>I’m using NodeJS in my current project, and getting there was a struggle. This is an article I wish I read beforehand.</p><h4><a href="https://medium.com/javascript-in-plain-english/a-javascript-cheatsheet-you-need-in-2020-d81b3dd89e09"><strong>7) The JavaScript Cheat Sheet you need in 2021</strong></a></h4><p>Probably the most useful article so far, really breaks a lot of things down.</p><h4><a href="https://medium.com/javascript-in-plain-english/6-technologies-that-will-make-you-a-wanted-front-end-developer-in-2021-ebe44e9245ee"><strong>8) 6 Technologies That Will Make You a Wanted Front-end Developer in 2021</strong></a></h4><p>This says to master Vanilla JS inside out. Whew. A challenge I might just set for myself.</p><h4><a href="https://medium.com/better-programming/10-fun-facts-about-create-react-app-eb7124aa3785"><strong>9) 10 Fun Facts About Create React App</strong></a></h4><p>Not sure I’d use the word “fun”, but fact #2 was definitely new to me. I’ll be looking into that.</p><h4><a href="https://medium.com/before-semicolon/10-things-to-master-about-javascript-before-you-call-yourself-a-pro-2a5fe237e6ac"><strong>10) 10 Things to Master About Javascript Before You Call Yourself a Pro</strong></a></h4><p>I like these kinds of articles. JavaScript is something I really want to master. Will I defeat it or will it defeat me.</p><h4><a href="https://medium.com/before-semicolon/15-css-things-to-master-and-become-a-better-web-developer-a18f370a8bc5#"><strong>11) 15 CSS Things to Master and Become a Better Web Developer</strong></a></h4><p>You can never have too much CSS.</p><h4><a href="https://medium.com/before-semicolon/10-nodejs-things-you-should-know-master-to-be-a-pro-bdfdb5620c0b"><strong>12) 10 NodeJs Things You Should Know &amp; Master to be a Pro</strong></a></h4><p>I’m not as confident as I’d like to be with Node. I would say I know the basics. This is an article I’ll come back to in future to see if my knowledge has expanded.</p><h4><a href="https://medium.com/before-semicolon/how-to-be-a-good-junior-on-your-first-job-and-succeed-ab957be4fea6"><strong>13) How to be a Good Junior on Your First Job and Succeed…</strong></a></h4><p>Some really great career advice in this article. I would recommend this to all.</p><h4><a href="https://medium.com/javascript-in-plain-english/how-to-pass-data-from-one-component-to-other-component-in-react-cbbafc755995"><strong>14) Passing Data From One Component to Another Component in React</strong></a></h4><p>I needed this article. Passing data is something I think I can do so well, and then suddenly its just brain freeze.</p><h4><a href="https://uxdesign.cc/a-guide-of-ui-design-trends-for-2021-637ac038cb99"><strong>15) A guide of UI design trends for 2021</strong></a></h4><p>Excuse me whilst I try and cram all of these amazing trends into my current project.</p><p>I’ll cap this list at #15, I started reading at 11am, and it’s now 3:30pm, but I can say that it’s been an insightful day, a break from coding well spent. I still have a whole bunch of articles left to read, but I shall save those for another day, perhaps a part 2.</p><p>Taking days out to catch up on something other than Netflix is about to become a new norm for me.</p><p>Podcasts next, maybe?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f075be02dd81" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>