<?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: Andrey Weber</title>
    <description>The latest articles on Forem by Andrey Weber (@andreyweber).</description>
    <link>https://forem.com/andreyweber</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%2F246940%2F6a82e287-a5c2-446e-bc38-c429c4fbf88f.jpeg</url>
      <title>Forem: Andrey Weber</title>
      <link>https://forem.com/andreyweber</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/andreyweber"/>
    <language>en</language>
    <item>
      <title>Was it fair coding task assessment?</title>
      <dc:creator>Andrey Weber</dc:creator>
      <pubDate>Thu, 10 Oct 2019 14:01:08 +0000</pubDate>
      <link>https://forem.com/andreyweber/was-it-fair-coding-task-assessment-137l</link>
      <guid>https://forem.com/andreyweber/was-it-fair-coding-task-assessment-137l</guid>
      <description>&lt;p&gt;Warm greetings to community of &lt;a href="https://dev.to"&gt;dev.to&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Recently I tried to apply on a job in a software development company (what a surprise :))&lt;/p&gt;

&lt;p&gt;I've got coding task description and a deadline date from them and started to work. Task was implemented and sent back for assessment, but I've got negative feedback and they decided not to proceed further with me.&lt;/p&gt;

&lt;p&gt;I understand that my solution is not optimal and can be improved significantly in a different ways, that's for sure. I just tried to be pragmatic and followed Occam's razor principle.&lt;/p&gt;

&lt;p&gt;But... could anyone from community be so kind and please tell me if company assessment was fair enough comparing &lt;strong&gt;initial task description&lt;/strong&gt; and &lt;strong&gt;assessment notes&lt;/strong&gt;?&lt;/p&gt;

&lt;p&gt;I would be very grateful for you opinions.&lt;/p&gt;

&lt;h5&gt;
  
  
  Here is assessment notes:
&lt;/h5&gt;

&lt;blockquote&gt;
&lt;p&gt;After review of the task I cannot evaluate it with positive outcome. The task is simple and very small but still should be done according to the latest coding standards.&lt;/p&gt;

&lt;p&gt;Positives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Convertion of numbers was well tested&lt;/li&gt;
&lt;li&gt;Detailed input validation with error handling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Negatives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Everything is static in whole project, no dependency injection, no interfaces
Hepler methods in region in Main class&lt;/li&gt;
&lt;li&gt;No unit tests for the supporting methods as there is only one static that gives output&lt;/li&gt;
&lt;li&gt;Inline function with logic in one big switch case that cannot be tested out&lt;/li&gt;
&lt;li&gt;Even if it wasn’t specified it would be good to close the convertion functionality in as service to be able to use it in different apps&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To summarize I cannot recommend such task and candidate for client verification.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here is repo with the task description and sources written on C#: &lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vJ70wriM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/AndreyWeber"&gt;
        AndreyWeber
      &lt;/a&gt; / &lt;a href="https://github.com/AndreyWeber/NumberToWords"&gt;
        NumberToWords
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Convert digital number representation to word number representation
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
Number to words&lt;/h1&gt;
&lt;p&gt;Convert digital number representation to word number representation&lt;/p&gt;
&lt;h3&gt;
Task&lt;/h3&gt;
&lt;p&gt;Write a console program which converts currency (dollars) from numbers into word presentation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The maximum number is 999 999 999.&lt;/li&gt;
&lt;li&gt;The maximum number of cents is 99.&lt;/li&gt;
&lt;li&gt;The separator between dollars and cents is ',' (comma).&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
Examples:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Input: 0 Output: zero dollars&lt;/li&gt;
&lt;li&gt;Input: 1 Output: one dollar&lt;/li&gt;
&lt;li&gt;Input: 25,1 Output: twenty-five dollars and ten cents&lt;/li&gt;
&lt;li&gt;Input: 0,01 Output: zero dollars and one cent&lt;/li&gt;
&lt;li&gt;Input: 45 100 Output: forty-five thousand one hundred dollars&lt;/li&gt;
&lt;li&gt;Input: 999 999 999,99 Output: nine hundred ninety-nine million nine hundred
ninety-nine thousand nine hundred ninety-nine dollars and ninety-nine cents&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;
Requirements:&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Use .NET framework 4.5 or higher.&lt;/li&gt;
&lt;li&gt;Implement the conversion algorithm by yourself.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/AndreyWeber/NumberToWords"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


</description>
      <category>csharp</category>
      <category>career</category>
      <category>discuss</category>
      <category>codequality</category>
    </item>
  </channel>
</rss>
