<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Programming on mellowd.co.uk</title>
    <link>https://mellowd.co.uk/tags/programming/</link>
    <description>Recent content in Programming on mellowd.co.uk</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Mon, 05 Oct 2015 17:38:39 +0000</lastBuildDate>
    <atom:link href="https://mellowd.co.uk/tags/programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Visualising Big O notation</title>
      <link>https://mellowd.co.uk/post/visualising-big-o-notation/</link>
      <pubDate>Mon, 05 Oct 2015 17:38:39 +0000</pubDate>
      <guid>https://mellowd.co.uk/post/visualising-big-o-notation/</guid>
      <description>&lt;p&gt;I’m currently learning as much computer science as I can on the side. I’ve come across &lt;a href=&#34;https://en.wikipedia.org/wiki/Big_O_notation&#34;&gt;Big O notation&lt;/a&gt; a few times already, and while I understand it, I’m much more of a visual guy.&lt;/p&gt;
&lt;p&gt;It’s rather easy to use Python and matplotlib to graph out how a function’s execution time grows as the size of the input grows. The important things to note is not total execution time, but rather how the runtime of that function grows in relation to the input size. This can be plotted onto a graph which should give us a nice representation of Big O notations.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Linked lists</title>
      <link>https://mellowd.co.uk/post/linked-lists/</link>
      <pubDate>Thu, 14 May 2015 17:28:16 +0000</pubDate>
      <guid>https://mellowd.co.uk/post/linked-lists/</guid>
      <description>&lt;p&gt;Python has a rather handy list method. It allows you to add and remove items at will. &lt;a href=&#34;http://www.laurentluce.com/posts/python-list-implementation/&#34;&gt;How it actually does this is rather elaborate and you can read all about it over here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;C doesn’t give you the same flexibility. When you create an array, it is of X size. That size cannot change as there is no guarantee that memory on either side of the existing array space is even free for you. For this reason there is a handy data structure called the linked list.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Structs in C</title>
      <link>https://mellowd.co.uk/post/structs-in-c/</link>
      <pubDate>Tue, 05 May 2015 20:53:04 +0000</pubDate>
      <guid>https://mellowd.co.uk/post/structs-in-c/</guid>
      <description>&lt;p&gt;Back in March 2014 &lt;a href=&#34;https://github.com/mellowdrifter/Cisco-OSPF-Checker&#34;&gt;I wrote an app in Python that would log in and check various OSPF properties.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When putting the data into a structure, I was limited both by knowledge and Python at the time. I ended up using a &lt;a href=&#34;https://docs.python.org/2/tutorial/datastructures.html#dictionaries&#34;&gt;dictionary&lt;/a&gt; which worked rather well, but I was never 100% happy with it.&lt;/p&gt;
&lt;p&gt;Recently I’ve stumbled across structs in C, in which I can make pretty much any data structure I would like.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Basic OOP Python</title>
      <link>https://mellowd.co.uk/post/basic-oop-python/</link>
      <pubDate>Tue, 28 Oct 2014 13:43:30 +0000</pubDate>
      <guid>https://mellowd.co.uk/post/basic-oop-python/</guid>
      <description>&lt;p&gt;I’ve just started with object oriented programming in Python so I thought I’d cover some of the basics here. Please don’t assume this is a thorough tutorial on OOP!&lt;/p&gt;
&lt;p&gt;The beauty of OOP is that it allows me to create a template with which I can create objects. The building blocks of the object sit in the class, while the object itself is created from that blueprint with various properties. I can then make as many of these objects as I desire from that single class. I can see this being very beneficial for certain types of programming (games especially)&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
