<?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: Kamrul Haider Chowdhury</title>
    <description>The latest articles on DEV Community by Kamrul Haider Chowdhury (@kamrulhaider).</description>
    <link>https://dev.to/kamrulhaider</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%2F847220%2Fec85f460-a433-4aeb-8397-c67efacb3362.jpg</url>
      <title>DEV Community: Kamrul Haider Chowdhury</title>
      <link>https://dev.to/kamrulhaider</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kamrulhaider"/>
    <language>en</language>
    <item>
      <title>Learning typescript for the first time - 2</title>
      <dc:creator>Kamrul Haider Chowdhury</dc:creator>
      <pubDate>Sun, 24 Apr 2022 20:08:58 +0000</pubDate>
      <link>https://dev.to/kamrulhaider/learning-typescript-for-the-first-time-2-5c0n</link>
      <guid>https://dev.to/kamrulhaider/learning-typescript-for-the-first-time-2-5c0n</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Why typescript?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Let's first talk about JavaScript. JavaScript is an awesome object-oriented language that dynamically set the types of your variables. It is so helpful when you are writing less code. but nowadays JavaScript is so popular that it is being used both frontend and backend. For a large-scale app, you need to write a huge amount of code. So In JS, the most common error that we face is a type error. Typescript solves this issue for us. &lt;/p&gt;

&lt;p&gt;Typescript set the variable types statically.  it will check your code in the code editor and help you to solve it fast.  typescript simplifies JavaScript code for you.  with typescript we can make a huge improvement over plain JavaScript script. It gives us more productivity. It will save us time because it will stop execution immediately after getting an error. TypeScript can help us to avoid painful bugs that developers commonly run into when writing JavaScript by type-checking the code.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Thoughts of Learning typescript for the past few weeks</title>
      <dc:creator>Kamrul Haider Chowdhury</dc:creator>
      <pubDate>Thu, 14 Apr 2022 11:40:19 +0000</pubDate>
      <link>https://dev.to/kamrulhaider/thoughts-of-learning-typescript-for-the-past-few-weeks-3966</link>
      <guid>https://dev.to/kamrulhaider/thoughts-of-learning-typescript-for-the-past-few-weeks-3966</guid>
      <description>&lt;p&gt;For the past few weeks, I have been learning Typescript. So, just to understand my learning I want to answer a question about typescripts.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is typescript?
&lt;/h2&gt;

&lt;p&gt;According to their &lt;a href="https://www.typescriptlang.org/"&gt;website&lt;/a&gt;, “TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.” &lt;/p&gt;

&lt;p&gt;Through my learning what I understand is that typescript is an extension of JavaScript. It helps you validate your variables and functions in a better way with faster implementation. Also with typescript, we can handle our errors faster and can detect them very easily. It increases our productivity by adding some additional syntax and by catching errors earlier by our editor. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7pZ-zObj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/puijdu5b45io9v5zvviz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7pZ-zObj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/puijdu5b45io9v5zvviz.png" alt="It is JavaScript Code" width="800" height="505"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the above screenshot, we can see two-variable declared with the let keyword. later it was changed into different types as "a" to number and "b" to string. Which is completely okay in JS. But in typescript, you need to declare the types so that further changes of value can remain in the same type. Like below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oflql7X4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yd6mu6lt3nti41lyjcqf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oflql7X4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yd6mu6lt3nti41lyjcqf.png" alt="Typescript code" width="800" height="475"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Although in typescript there are some syntax and methods that can convert a variable to multiple types.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
