<?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>DEV Community: Justin J</title>
    <description>The latest articles on DEV Community by Justin J (@jsanddotnet).</description>
    <link>https://dev.to/jsanddotnet</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%2F151939%2Fd048d85b-a025-4b6a-90d5-892f315d12c9.jpg</url>
      <title>DEV Community: Justin J</title>
      <link>https://dev.to/jsanddotnet</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jsanddotnet"/>
    <language>en</language>
    <item>
      <title>Create An Angular Library And Consume it locally (with debugging)</title>
      <dc:creator>Justin J</dc:creator>
      <pubDate>Fri, 17 Sep 2021 08:20:48 +0000</pubDate>
      <link>https://dev.to/jsanddotnet/create-an-angular-library-and-consume-it-locally-with-debugging-cma</link>
      <guid>https://dev.to/jsanddotnet/create-an-angular-library-and-consume-it-locally-with-debugging-cma</guid>
      <description>&lt;p&gt;Angular project calling a library project. To View the code, here's the &lt;a href="https://github.com/HockeyJustin/AngularLibraryAndConumerApp"&gt;github repo&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This tutorial will detail how to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create an angular library&lt;/li&gt;
&lt;li&gt;Create a component in that library&lt;/li&gt;
&lt;li&gt;Export that component for use in an application&lt;/li&gt;
&lt;li&gt;Create an angular application&lt;/li&gt;
&lt;li&gt;Import the local component library&lt;/li&gt;
&lt;li&gt;Access debugging for the library from the main application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This tutorial assumes a basic understanding of Angular/ web development and using the command prompt. &lt;/p&gt;

&lt;p&gt;If there is just a code snippet, that assumes you are in the console.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating the shared library
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Create a folder called 'AngularTutorial', then a folder in that called 'code' somewhere on your file system.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;cd to the starting folder code. e.g. &lt;code&gt;cd C:/AngularTutorial/code&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;ng new ngx-my-shared-libs --create-application=false&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;cd ngx-my-shared-libs&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;ng generate library my-shared-components&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;cd projects\my-shared-components\src\lib&lt;/code&gt; (full path {repo}\code\ngx-my-shared-libs\projects\my-shared-components\src\lib)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;ng g c TestView&lt;/code&gt; (creates new component called TestView)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Find &lt;code&gt;public-api.ts&lt;/code&gt; under code\ngx-my-shared-libs\projects\my-shared-components\src\lib&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add a line for the new component (see final line of example below), so the file now looks like the following&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/*
 * Public API Surface of my-shared-components
 */

export * from './lib/my-shared-components.service';
export * from './lib/my-shared-components.component';
export * from './lib/my-shared-components.module';


export * from './lib/test-view/test-view.component';

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;[10]. Export the view component in the module (code\ngx-my-shared-libs\projects\my-shared-components\src\lib\my-shared-components.component.ts):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { NgModule } from '@angular/core';
import { MySharedComponentsComponent } from './my-shared-components.component';
import { TestViewComponent } from './test-view/test-view.component';



@NgModule({
  declarations: [
    MySharedComponentsComponent,
    TestViewComponent
  ],
  imports: [
  ],
  exports: [
    MySharedComponentsComponent,
    TestViewComponent /* NEW! */
  ]
})
export class MySharedComponentsModule { }


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;[11]. Open command prompt at code\ngx-my-shared-libs and run &lt;code&gt;ng build --watch&lt;/code&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Importing Into The Angular Project
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;In a new command prompt, cd back to the top level i.e. {repo}/code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;create a new sample app using &lt;code&gt;ng new ngx-sample-app --skip-tests&lt;/code&gt; . Answer the init questions as you wish (I said yes to routing, then CSS for style).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;cd ngx-sample-app&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;now we need to reference the local library using npm install with a local link. Remember to link to the dist folder.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;npm install "file://../ngx-my-shared-libs//dist//my-shared-components"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;[5]. Import the component into your application module (code\ngx-sample-app\src\app\app.module.ts)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { MySharedComponentsModule } from 'my-shared-components';


@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    MySharedComponentsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;[6]. Open up code\ngx-sample-app\src\app\app.component.html&lt;/p&gt;

&lt;p&gt;Delete the default contents and update like so:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;App Component

&amp;lt;lib-test-view&amp;gt;&amp;lt;/lib-test-view&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;[7]. Go to the angular.json in ngx-sample-app (code\ngx-sample-app\angular.json) and add preserveSymLinks to the biuld options &lt;/p&gt;

&lt;p&gt;Sample below shortened for brevity.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
"architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "preserveSymlinks": true,
            "outputPath": "dist/ngx-sample-app",
            "index": "src/index.html",
            "main": "src/main.ts",

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;[8]. To this point, we can actually build everything, but we can't actually debug those libraries, so let's go ahead and fix that. In angular.json (code\ngx-sample-app\angular.json), update serve to include options for debugging libs too.&lt;/p&gt;

&lt;p&gt;Again, shortened for brevity - starting at line 89 in my sample $projects.ngx-sample-app.architect.serve:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "sourceMap": {
              "scripts": true,
              "styles": true,
              "vendor": true
            }
          },


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;[9]. In the command prompt for the app ({repo/code\ngx-sample-app&amp;gt;}) run &lt;code&gt;ng serve&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;[10]. Visit &lt;a href="https://localhost:4200"&gt;https://localhost:4200&lt;/a&gt; to view the results.&lt;/p&gt;

&lt;p&gt;[11]. In chrome, you can now press F12, then go to sources, Ctrl+P to search files and type 'test-view' to get to the test-view component.&lt;/p&gt;

</description>
      <category>angular</category>
    </item>
    <item>
      <title>Could I be a 10x-er?</title>
      <dc:creator>Justin J</dc:creator>
      <pubDate>Wed, 14 Aug 2019 14:09:43 +0000</pubDate>
      <link>https://dev.to/jsanddotnet/could-i-be-a-10x-er-4ejl</link>
      <guid>https://dev.to/jsanddotnet/could-i-be-a-10x-er-4ejl</guid>
      <description>&lt;p&gt;A while ago, the following tweet bought up the old conversation about 10x &lt;br&gt;
developers. Devs so good, they're worth 10 of the "poor class" regular developers. &lt;/p&gt;


&lt;blockquote class="twitter-tweet"&gt;
&lt;p&gt;10x engineers&lt;br&gt;&lt;br&gt;Founders if you ever come across this rare breed of engineers, grab them. If you have a 10x engineer as part of your first few engineers, you increase the odds of your startup success significantly.&lt;br&gt;&lt;br&gt;OK, here is a tough question.&lt;br&gt;&lt;br&gt;How do you spot a 10x engineer?&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302828420067328?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;I haven't had the chance to write recently so it's not as topical, but this stuck in my mind and I thought I should write.&lt;/p&gt;

&lt;p&gt;As a junior dev. I longed to be one of those "rockstars" that frantically fired away at the keys and only produced gold 🏆. &lt;/p&gt;

&lt;p&gt;10+ years in lets see how it's going?&lt;/p&gt;

&lt;h3&gt;
  
  
  1. 10x Engineers Hate Meetings.
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;1. 10x engineers hate meetings. They think it is a waste of time and obvious things are being discussed. They attend meetings because the manager has called for a "Staff meeting" to discuss the features and status.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302830345248769?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;   

&lt;p&gt;Yes! That's me. I really hate meetings. Especially if they're about "use of the office fridge" or "what should we name our project". &lt;/p&gt;

&lt;p&gt;Except... I like scrum meetings. They can be really handy and I'm convinced they save time overall. Also, it's good to know how we're doing as a team. &lt;/p&gt;

&lt;p&gt;Sometimes other people in the team have found some really smart solutions you could employ yourself later down the line.&lt;/p&gt;

&lt;p&gt;Oh, I like &lt;em&gt;some&lt;/em&gt; client meetings too. Especially ones where the client actually appreciates the effort you put in for them, or work in a constructive way to get requirements right.&lt;/p&gt;

&lt;p&gt;Hmm... Ok. A mixed start. I'll go with his comments being just about the fridge and move on.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Highly irregular timings.
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;2. Timings in the office for 10x engineers is highly irregular. They tend to work when very few folks are around. If there is a crowd or all-hands meeting, they are not visible. Most of them are late-night coders and come late to the office.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302832526286848?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;Errr. I have a kid. Try having irregular timings when you have a school run to sort. Maybe 10x-er's can't be (good) parents too?&lt;/p&gt;

&lt;p&gt;One of the best developers I've ever worked with started work bang on 8am every day. So I'm just going to dismiss this one to keep myself in with a chance.&lt;/p&gt;

&lt;p&gt;Minus points for me here.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Black Backrounds
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;3. 10x engineers laptop screen background color is typically black (they always change defaults). Their keyboard keys such as i, f, x are usually worn out than of a, s, and e (email senders).&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302834619248640?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;Black background = +1 For me. It's much better for your eyes. If you're not doing it, you really should. Also - invest in a good monitor! Look after your eyes! &lt;/p&gt;

&lt;p&gt;Before you white backgrounders start ranting - I used to be a white backgrounder - and now I can't go outside without sunglasses. I look stupid outside in February rain with sunnies on, so why risk it? &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Am I better at coding now I use a black background?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Nope. &lt;/p&gt;

&lt;p&gt;I'd say the biggest improvement has been from getting a good nights sleep, but that doesn't sound very "rockstar", does it?&lt;/p&gt;

&lt;h3&gt;
  
  
  4. 10x engineers know every line of the code that has gone into production
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;4. 10x engineers know every line of the code that has gone into production. If a QA or support folks alert an issue, they know precisely where the fault (or bug) is and can fix the same in hours vs days&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302836808704001?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;Having worked for a near startup (2 coders), I would say once you get to 3 coders, nobody knows everything going into a code base. Usually, you only know immediately "precisely where the fault is" if you created it 🤫. &lt;/p&gt;

&lt;p&gt;There is usually someone who gets to know the product better than everyone else, but that isn't necessarily the 10x-er.&lt;/p&gt;

&lt;p&gt;I made a point of getting to know the orignal product best in that company. The result was; when new cool stuff came along; I was stuck with the old product, because I was "quicker at working on it". I had to fight hard to be allowed onto the new stuff. &lt;/p&gt;

&lt;p&gt;That is not a situation I'd like to be in again any time soon, so until I'm 10 years off retirement, I don't even want a +1 here.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Full Stack + Doesn't do UI
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;5. Most of the 10x engineers are full-stack engineers. For them code is code, they don't care whether it is front-end, back-end, API, database, serverless, etc. I have rarely seen them doing UI work.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302838746464256?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;Full stack = +1 for me. Though pretty much all software is going to need a UI at some point, right? &lt;/p&gt;

&lt;p&gt;In fact, I'd say that's what end users value over almost everything else? If you had amazing software, but the background was green with orange buttons all placed in the middle-right of the screen - people would hate it. Making great UI's is a real skill (one I wish I had) and should not be looked down on IMO.&lt;/p&gt;

&lt;h3&gt;
  
  
  6 Thought into code
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;6. 10x engineers can convert "thought" into "code" in their mind and write it in an iterative fashion. Given a product feature, they can write that entire feature in one or two sittings of 4 to 6 hours with a caffeinated drink without distraction.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302840751378433?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;This just comes with practice and a good requirements breakdown. &lt;/p&gt;

&lt;p&gt;Write an entire feature in 2 sittings - well that just depends on how big the feature is doesn't it? &lt;/p&gt;

&lt;p&gt;If the new feature requirement is "Add a new textbox and save the data to a simple app.", then yes. I could do that with time to play on the interwebs too!&lt;/p&gt;

&lt;p&gt;Another +1 for me (albeit with wiggle room to make it so!)&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Rarely look at help documentation
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;7. 10x engineers rarely look at help documentation of classes or methods. They know it in memory and can recall from memory. They write code at the same ease as writing English. No breaks, no pauce, just type.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302842504540165?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;I'll make a little aside here. When I started my first job, I started trying to work out a problem myself. My boss came in. After explaining what I was doing he yelled "I'M NOT PAYING YOU TO SATISFY YOUR FUCKING EGO! GOOGLE THE FUCKING ANSWER!". &lt;/p&gt;

&lt;p&gt;While his point could have been put a bit nicer, he was right. There's almost nothing you will face that someone else hasn't faced before. I'm sure I can google/stackoverflow some things quicker than I could write them, let alone solve the problem for. So I Google. I Google a lot.&lt;/p&gt;

&lt;p&gt;My thoughts here are learn the basics and google the rest. &lt;/p&gt;

&lt;p&gt;When you need to work out how to find if a double is a prime number or some kind of tricky date function - don't even bother trying to work it out. Google the answer, take the accepted answer on StackOverflow. Copy.Paste. Move on.&lt;/p&gt;

&lt;p&gt;To meet the criteria here, 10x-ers will to have to be in the far end of a normal distribution for A LOT of knowledge.&lt;/p&gt;

&lt;p&gt;Here's about where I am. NOTE: I'm not trying to claim any number of x's anywhere here. My point here is really there's a whole lot of stuff I couldn't do without a lot of Googling!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pSd3jp2U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/frct315isi7fwn7vo45e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pSd3jp2U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/frct315isi7fwn7vo45e.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see, my chances are shot about now, but stick with me - we're near the end.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Always learning.
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;8. 10x engineers are always learning new frameworks, languages ahead of everyone in the company. They are not afraid of anything new. If there is something new (e.g. blockchain) they gobble up, setup, experiment before anyone is getting started.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302844291338240?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;Yes. I love the new stuff.... &lt;/p&gt;

&lt;p&gt;But one thing to remember is that this may change at some point. Nearly every developer gets to a point in life where they just can't be faffed chasing &lt;br&gt;
shiny ways of doing what they already know. The good thing to know is that I've worked with several people like that and they are still &lt;em&gt;very good&lt;/em&gt; developers. &lt;/p&gt;

&lt;p&gt;One is so important to a company, they even have him insured!&lt;/p&gt;

&lt;p&gt;The other thing with "always learning new stuff" is there comes a point where the learning serves no benefit. I've learnt so much over the years that I've either never implemented, or have used but no longer holds any weight. Even valid technologies can become obsolete. I'd really recommend learning what you need to know rather than leaning to "know everything" as I used to.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Forgotten/ Obsolete learning: AngularJS 😭, Knockout JS, Visual Basic, MATLAB, Web Forms, Classic ASP, Flash... the list goes on.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MbYdyr1v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ggy76u9x7jyll83059nj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MbYdyr1v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ggy76u9x7jyll83059nj.jpg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  9. Poor Mentors
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;9. 10x engineers are poor mentors as they can't teach others on what to do OR parcel the work. They always think "It takes too long to teach or discuss with others, I would rather do it myself." They are also poor interviewers.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302845990031365?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;The greatest developer I've ever worked with was also a phenomenal mentor to me. Being a grumpy unsociable arsehole doesn't make you a great developer.&lt;/p&gt;

&lt;p&gt;In fact, one of my greatest satisfactions has been mentoring someone who had zero experience to being a professional developer. I'm immensely proud of it.&lt;/p&gt;

&lt;p&gt;I'm going to class the guy as a tool (as if I handn't already). I'll take the negative points &lt;strong&gt;with pride&lt;/strong&gt; 🏅.&lt;/p&gt;

&lt;h3&gt;
  
  
  10. Don't hack and dont document
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;10. 10x engineers don't hack things. They write quality code and know exactly how the code has to evolve, and have a mental model of overall code structure. They write at most one design document, and the rest is in the code.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302847822974977?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;There's a difference between not knowing you're hacking and knowing how to code, yet still implementing a hack. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Short term&lt;/em&gt; i.e. "Right now" hacks are usually quicker than doing it properly and are sometimes required in a scrape/ Priority 1 bug scenario. &lt;/p&gt;

&lt;p&gt;Of course, it can royally screw you over later, but if your boss threatens to sack you if you dont do a 3 week job in 2 hours, or the system is unusable without fast action, you hack it. Don't be afraid to implement a short term hack/ "fix". To my mind, a good company will let you code it properly later - a bad one won't.&lt;/p&gt;


&lt;blockquote class="twitter-tweet"&gt;
&lt;p&gt;Rather than “git blame” I would like to see “git I did the best I could with the tools and organizational structure available to me so just give me a little space and time and it will get fixed eventually”&lt;/p&gt;— Scott Hanselman (&lt;a class="comment-mentioned-user" href="https://dev.to/shanselman"&gt;@shanselman&lt;/a&gt;
) &lt;a href="https://twitter.com/shanselman/status/1102678644030234624?ref_src=twsrc%5Etfw"&gt;March 4, 2019&lt;/a&gt;
&lt;/blockquote&gt;   

&lt;p&gt;If you really want to screw over your teammates - DONT DOCUMENT. &lt;/p&gt;

&lt;p&gt;The mantra that good code documents itself is complete bollocks. &lt;/p&gt;

&lt;p&gt;Undocumented configs are an accident waiting to happen.&lt;/p&gt;

&lt;p&gt;Also, I have been in the situation of understanding a bit of code completely, but not understanding WHY it is as it is. The why is important, because when it comes to changing it you are risking damaging the scenario it works for. I think every developer has at some point changed code, only to find they've broken another scenario. &lt;/p&gt;

&lt;p&gt;Almost nobody has 100% code coverage on their unit/ integration tests.&lt;/p&gt;

&lt;p&gt;Also, if you document, when people ask, you can just politely say "Read the document", so you get to spend more time coding and less time telling people stuff you've already told them.&lt;/p&gt;

&lt;p&gt;Yet again - the guy's a tool. I document where possible.&lt;/p&gt;

&lt;h3&gt;
  
  
  11. Move around?
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;11. 10x engineers rarely job hunt or move out of the company. They move out because you make their life miserable with the process, meetings, training, and other non-value-added activities. If you come across them, hold on to them. Celebrate them.&lt;/p&gt;— Shekhar Kirani (@skirani) &lt;a href="https://twitter.com/skirani/status/1149302849555189761?ref_src=twsrc%5Etfw"&gt;July 11, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;People who are that good are ambitious tend to move regardless imo. There can be a big mistake in thinking committed people are loyal.&lt;/p&gt;

&lt;p&gt;I used to think you had to move companies every 3 years. I was told it when I started and I stuck to it for a while. &lt;/p&gt;

&lt;p&gt;I've been at my current company 5 years and am really happy. I'd have been happy at my previous company if I hadn't moved and just matured a little. I know some great developers who have stayed with a company from their first job.&lt;/p&gt;

&lt;h3&gt;
  
  
  12. One of the comments which I'll add as I feel it sums up a stereotype.
&lt;/h3&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;Great thread! Some more pointers:&lt;br&gt;&lt;br&gt;- They know vi and use vi keys everywhere&lt;br&gt;- They don't use default browsers or IDEs (they would always be experimenting)&lt;br&gt;- They would talk hours and try to convince you about their choice of browser or IDE&lt;br&gt;- Prefer to do things from command line&lt;/p&gt;— Sarang Lakare (@SarangLakare) &lt;a href="https://twitter.com/SarangLakare/status/1149878295590137858?ref_src=twsrc%5Etfw"&gt;July 13, 2019&lt;/a&gt;
&lt;/blockquote&gt;   

&lt;p&gt;Heck, Just like over 2 million people, &lt;a href="https://stackoverflow.com/questions/11828270/how-do-i-exit-the-vim-editor"&gt;I CAN'T EVEN EXIT THE DAMN THING&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;-10 points for me.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;When I was a junior dev, I longed to be "great". &lt;/p&gt;

&lt;p&gt;I worked with a colleague in my first job who "acted 10x". Managers loved him but, in fact, his code was a big steamy pile of horse shit and was always late. As one of my friends/colleagues put it "If there's regions in your methods, your methods are too long". Still, because he put on a good show, people believed his own hype. &lt;/p&gt;

&lt;p&gt;For a while, I tried to act in a similar way as I thought you had to act like that to be respected.&lt;/p&gt;

&lt;p&gt;These days I don't care. Clearly, I fail this chaps criteria quite comprehensively.&lt;/p&gt;

&lt;p&gt;I am what I am. I'm a nice person, who likes being in a team, who would like to think he is "good at his job". &lt;/p&gt;

&lt;p&gt;That describes millions of us coders and theres &lt;strong&gt;nothing wrong with that&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In a world where the media makes out that Elon Musk is single handedly writing all the ML on Tesla's while making rockets and 10 years olds are writing all the stuff you do &lt;em&gt;but better&lt;/em&gt;, it's easy to feel inferior. &lt;/p&gt;

&lt;p&gt;Unlike some people, I'm not in denial that 10x-ers exist. I think there probably are a &lt;em&gt;very small&lt;/em&gt; number of people who can be &lt;em&gt;that&lt;/em&gt; great.&lt;/p&gt;

&lt;p&gt;If their attitude fits this persons sterotype though, don't look up to them. Pick people who can be great, but not make you feel inferior as a result.&lt;/p&gt;


&lt;blockquote class="twitter-tweet" data-conversation="none"&gt;
&lt;p&gt;Go do it, people. &lt;a href="https://twitter.com/hashtag/BeTheLuck?src=hash&amp;amp;ref_src=twsrc%5Etfw"&gt;#BeTheLuck&lt;/a&gt; for someone right now. I'm lucky my 5th grade teacher thought to loan me the Apple ][ that day. That my dad sold our van to get me a C64 later that year. That I bumped into &lt;a href="https://twitter.com/scottgu?ref_src=twsrc%5Etfw"&gt;@scottgu&lt;/a&gt; 11 years ago and he offered me a job. Go &lt;a href="https://twitter.com/hashtag/BeTheLuck?src=hash&amp;amp;ref_src=twsrc%5Etfw"&gt;#BeTheLuck&lt;/a&gt;.&lt;/p&gt;— Scott Hanselman (&lt;a class="comment-mentioned-user" href="https://dev.to/shanselman"&gt;@shanselman&lt;/a&gt;
) &lt;a href="https://twitter.com/shanselman/status/1100609008728125440?ref_src=twsrc%5Etfw"&gt;February 27, 2019&lt;/a&gt;
&lt;/blockquote&gt;  

&lt;p&gt;I hope if you've got this far you feel this has given you hope. It's completely OK not to be some sort of "superhuman coder" and you really don't need to fit these misguided stereotypes. &lt;/p&gt;

&lt;p&gt;As long as you enjoy what you do, that's all that matters IMO. &lt;/p&gt;

&lt;p&gt;I wake up every day looking forward to going to work. I hope it stays like that for years to come.&lt;/p&gt;



&lt;blockquote class="twitter-tweet"&gt;
&lt;br&gt;
&lt;p&gt;"How did you learn everything you know about Kubernetes?"&lt;br&gt;Me: &lt;a href="https://t.co/Tfz3FjBqU1"&gt;pic.twitter.com/Tfz3FjBqU1&lt;/a&gt;&lt;/p&gt;— Daniele Polencic (&lt;a class="comment-mentioned-user" href="https://dev.to/danielepolencic"&gt;@danielepolencic&lt;/a&gt;
) &lt;a href="https://twitter.com/danielepolencic/status/1158737805557686277?ref_src=twsrc%5Etfw"&gt;August 6, 2019&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;  

</description>
      <category>discuss</category>
      <category>productivity</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>I changed career to software development without a CS degree, Ask Me Anything!</title>
      <dc:creator>Justin J</dc:creator>
      <pubDate>Wed, 01 May 2019 07:57:57 +0000</pubDate>
      <link>https://dev.to/jsanddotnet/i-changed-career-to-software-development-without-a-cs-degree-ask-me-anything-2m4</link>
      <guid>https://dev.to/jsanddotnet/i-changed-career-to-software-development-without-a-cs-degree-ask-me-anything-2m4</guid>
      <description>&lt;p&gt;Creating this in hope I can help someone (you?) thinking of making the jump to Software Development. Go ahead, ask me anything :).&lt;/p&gt;

</description>
      <category>ama</category>
      <category>sofwaredevelopment</category>
      <category>career</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
