<?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: juliamwangi123</title>
    <description>The latest articles on DEV Community by juliamwangi123 (@juliamwangi).</description>
    <link>https://dev.to/juliamwangi</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%2F810768%2F9181a41c-f36a-418f-8d5c-a9eee32ba30b.jpg</url>
      <title>DEV Community: juliamwangi123</title>
      <link>https://dev.to/juliamwangi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/juliamwangi"/>
    <language>en</language>
    <item>
      <title>Difference Between Compiled Languages and Interpreted Languages</title>
      <dc:creator>juliamwangi123</dc:creator>
      <pubDate>Sat, 01 Oct 2022 10:31:05 +0000</pubDate>
      <link>https://dev.to/juliamwangi/difference-compiled-languages-and-interpreted-compiled-languages-bp6</link>
      <guid>https://dev.to/juliamwangi/difference-compiled-languages-and-interpreted-compiled-languages-bp6</guid>
      <description>&lt;h2&gt;
  
  
  Difference between Compiled Languages and Interpreted  Languages
&lt;/h2&gt;

&lt;p&gt;Any program is written using human readable code that the machine cannot understand , but for the program to be executed by the processor it has to be converted into a language that the machine can understand and this where interpreters and compilers come in.&lt;/p&gt;

&lt;p&gt;Some languages are converted directly into the machine language and these are &lt;strong&gt;compiled languages&lt;/strong&gt;  while others need a intermediate software   to convert them into  machine language and these are &lt;strong&gt;interpreted languages&lt;/strong&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Examples of compiled languages
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;C&lt;/li&gt;
&lt;li&gt;C++ &lt;/li&gt;
&lt;li&gt;Go &lt;/li&gt;
&lt;li&gt;Rust&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Examples of interpreted languages
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;PHP&lt;/li&gt;
&lt;li&gt;Ruby&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Getting Started With Modern JavaScript</title>
      <dc:creator>juliamwangi123</dc:creator>
      <pubDate>Mon, 14 Feb 2022 19:50:57 +0000</pubDate>
      <link>https://dev.to/juliamwangi/getting-started-with-modern-javascript-m6h</link>
      <guid>https://dev.to/juliamwangi/getting-started-with-modern-javascript-m6h</guid>
      <description>&lt;h2&gt;
  
  
  Introduction to modern JavaScript_
&lt;/h2&gt;

&lt;h3&gt;
  
  
  A Brief History On Javascript
&lt;/h3&gt;

&lt;p&gt;JavaScript was created  by  Brendan Eich  in 1995 it was initially known as LiveScript but later on changed to JavaScript so as to position it as a companion to java programming language. &lt;/p&gt;

&lt;h3&gt;
  
  
  What is JavaScript?
&lt;/h3&gt;

&lt;p&gt;JavaScript is a scripting language, its one of the popular programming languages. Initially js was mainly used  for making webpages interactive such as form validation, animation, etc. Nowadays, JavaScript is also used in many other areas such as server-side development, mobile app development and so on.&lt;/p&gt;

&lt;h3&gt;
  
  
  Basics in JavaScript
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Variables&lt;/li&gt;
&lt;li&gt;Datatypes&lt;/li&gt;
&lt;li&gt;comments&lt;/li&gt;
&lt;li&gt;Functions&lt;/li&gt;
&lt;li&gt;Objects&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Variables
&lt;/h4&gt;

&lt;p&gt;variables are containers that store data values,in JavaScript you can declare variables using 3 keyword var, let  or  const .JavaScript is a loosely -typed language you don't have to  specify datatype when declaring variables .&lt;/p&gt;

&lt;p&gt;&lt;code&gt;var name ='jules'&lt;/code&gt;&lt;br&gt;
&lt;code&gt;const nationality = 'Kenyan'&lt;/code&gt;&lt;br&gt;
&lt;code&gt;let age = 12&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;
  
  
  Datatypes
&lt;/h4&gt;

&lt;p&gt;The term datatypes refers to the type of values a program can work with.JavaScript variables can hold a number of data types&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let year = 1995; // datatype is a number
let name = 'jules is a kenyan '; // datatype is a string 
let isAHoliday= true // datatype boolean ,takes true or false
const price  = 45.55 // datatype float ,a number with decimals
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Comments
&lt;/h4&gt;

&lt;p&gt;comments are block of statements that don't get executed.They make our code more readable to others so be kind and comment*smiles&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// this a single line comment
/* 
   this is
   a mutiple-line 
   comment

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

&lt;/div&gt;



&lt;p&gt;*&lt;/p&gt;

&lt;h4&gt;
  
  
  Functions
&lt;/h4&gt;

&lt;p&gt;A function is block of code that performs a specific task.&lt;br&gt;
Advantages of using functions is &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Can be reused- define a code once use it many times.&lt;/li&gt;
&lt;li&gt;Can use the same code many times with different arguments
to produce different results
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function name (){

//code to be executed
}

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

&lt;/div&gt;

&lt;h4&gt;
  
  
  Objects
&lt;/h4&gt;

&lt;p&gt;JavaScript objects are  variables that contain many values written in form of &lt;code&gt;key:values&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let student ={
    name :'jules',
    age: 12;
    height: 153
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Arrays
&lt;/h4&gt;

&lt;p&gt;JavaScript arrays stores multiple values in a single variable&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// empty array
const myList = [ ];

// array of numbers
const numberArray = [ 2, 4, 6, 8];

// array of strings
const stringArray = [ 'eat', 'work', 'sleep'];

// array with mixed data types
const newData = ['work', 'exercise', 1, true];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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