<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Kostas Sar</title>
    <description>The latest articles on Forem by Kostas Sar (@kostassar).</description>
    <link>https://forem.com/kostassar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F72469%2F6a7b69b6-767e-47f4-866f-e59644ff8392.jpg</url>
      <title>Forem: Kostas Sar</title>
      <link>https://forem.com/kostassar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/kostassar"/>
    <language>en</language>
    <item>
      <title>Code price-tag</title>
      <dc:creator>Kostas Sar</dc:creator>
      <pubDate>Sun, 02 Sep 2018 23:38:00 +0000</pubDate>
      <link>https://forem.com/kostassar/code-price-tag--52b9</link>
      <guid>https://forem.com/kostassar/code-price-tag--52b9</guid>
      <description>&lt;h1&gt;
  
  
  How much should a dev charge his client for a project?
&lt;/h1&gt;

&lt;p&gt;First things that come to mind are questions like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How big is the project?&lt;/li&gt;
&lt;li&gt;How long will it take?&lt;/li&gt;
&lt;li&gt;Can one person complete it alone or there is a need for a team?&lt;/li&gt;
&lt;li&gt;What infrastructure is needed?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;and many many more.&lt;/p&gt;

&lt;h3&gt;
  
  
  So recently I was asked to take on a small project.
&lt;/h3&gt;

&lt;p&gt;This person found out I am a programmer and asked if I would be able to develop an automation process he had in mind. I was happy to hear that he had a clear end-product in mind so there will be much less confusion during the development process.&lt;/p&gt;

&lt;h3&gt;
  
  
  The immediate next question was about the cost.
&lt;/h3&gt;

&lt;p&gt;I am not going to go into details about the project because I want your answers to be general and not case specific.&lt;/p&gt;

&lt;p&gt;Having never sold my own code / product I have no idea on how cost is estimated. The interwebs, sadly, do not provide a clear formula and everyone gives vague directions.&lt;/p&gt;

&lt;p&gt;I know lines of code or time spent working on the project are not valid options but maybe they could be taken into account.&lt;/p&gt;

&lt;h2&gt;
  
  
  The big Questions
&lt;/h2&gt;

&lt;p&gt;How do you not get underpaid for your working hours?&lt;br&gt;
How do you not get overpaid at the expence of your customer?&lt;br&gt;
How do you personally calculate cost and agree on a price?&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>career</category>
      <category>help</category>
      <category>development</category>
    </item>
    <item>
      <title>Python 2 VS Python 3</title>
      <dc:creator>Kostas Sar</dc:creator>
      <pubDate>Fri, 27 Jul 2018 06:34:29 +0000</pubDate>
      <link>https://forem.com/kostassar/python-2-vs-python-3-2f03</link>
      <guid>https://forem.com/kostassar/python-2-vs-python-3-2f03</guid>
      <description>&lt;p&gt;This time we visit the topic "Should I use Python 3 as it is the latest version or should I stick to Python 2 because most of the internet says so?"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disclaimer: I am quite Python 3 sided and looking for more of its drawbacks, so feel free to disagree with anything.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Differences from Python 2 to Python 3
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Syntactical, best shown by the print function. &lt;/li&gt;
&lt;li&gt;Division with integers now outputs decimals if needed&lt;/li&gt;
&lt;li&gt;Unicode as default character encoding&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And with the technical stuff out of the way, let's see what divides the community.&lt;/p&gt;

&lt;h3&gt;
  
  
  Libraries
&lt;/h3&gt;

&lt;p&gt;The main pro Python 2 argument is that every library ever is written for it and if one switches to Python 3 won't be able to find and use any of them. I believe this argument is quite outdated as Python 3 is now 10 years old and many libraries are now updated and functional. Some teams even start a project and in case the needed library is missing they code it, document and upload it. Very kind of them, isn't it?&lt;br&gt;
Right now the only libs you can't find are the really obscure and unpopular ones. But if you are lucky one of the teams mentioned above will stumble on them and make it available to the rest of us!&lt;/p&gt;

&lt;h3&gt;
  
  
  Dev Support
&lt;/h3&gt;

&lt;p&gt;Python 2.7 is no longer under development and in 2020 will even be discontinued. In contrary Python 3 will have new features, active support and stable releases.&lt;/p&gt;

&lt;h3&gt;
  
  
  Reasons to stick with Python 2
&lt;/h3&gt;

&lt;p&gt;The only reason I thought was not outdated about sticking with Python 2 is the following.&lt;br&gt;
One might be in a large company and all the code is written in Py2. Refactoring to Py3 will not only halt the development but also cost money as the engineers tampering with the code must get paid.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;As quoted by the Python team:&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;"Python 2.x is legacy, Python 3.x is the present and future of the language."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is your opinion on the matter?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>python</category>
    </item>
    <item>
      <title>Books vs Online Courses</title>
      <dc:creator>Kostas Sar</dc:creator>
      <pubDate>Tue, 26 Jun 2018 07:06:40 +0000</pubDate>
      <link>https://forem.com/kostassar/books-vs-online-courses-1iik</link>
      <guid>https://forem.com/kostassar/books-vs-online-courses-1iik</guid>
      <description>&lt;p&gt;I'm about to start a project on data mining and statistics and the recommended tools are Python and R. As I have never before used R I want to learn about the language before tampering with any of the project code. Also the main structure is already made by someone else and I was asked to add more features.&lt;/p&gt;

&lt;p&gt;So that's when this question came to me. Should I get a couple of books on the topic? Am I going to be fine after taking an online course (free or paid) plus some tests and exercises in hackerrank for example? Or do these methods compliment each other so it's best to do both?&lt;/p&gt;

&lt;p&gt;What is your opinion? How do you usually get started with programming languages and new concepts?&lt;/p&gt;

&lt;p&gt;P.S: If you have any good recommendations on where to start with R it would be much appreciated! But the main topic of the post is still the comparison of the two methods. &lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>learning</category>
      <category>programming</category>
      <category>books</category>
    </item>
  </channel>
</rss>
