<?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: Rupesh-Darimisetti</title>
    <description>The latest articles on DEV Community by Rupesh-Darimisetti (@rupeshdarimisetti).</description>
    <link>https://dev.to/rupeshdarimisetti</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%2F481185%2F972a976a-3196-4470-95f3-2e43b29ebd96.jpg</url>
      <title>DEV Community: Rupesh-Darimisetti</title>
      <link>https://dev.to/rupeshdarimisetti</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rupeshdarimisetti"/>
    <language>en</language>
    <item>
      <title>Git Basic commands and use</title>
      <dc:creator>Rupesh-Darimisetti</dc:creator>
      <pubDate>Sun, 28 Sep 2025 14:50:50 +0000</pubDate>
      <link>https://dev.to/rupeshdarimisetti/git-basic-commands-and-use-1m2k</link>
      <guid>https://dev.to/rupeshdarimisetti/git-basic-commands-and-use-1m2k</guid>
      <description>&lt;p&gt;Every developer in the world has to track their changes in project to easily maintain the code base. &lt;/p&gt;

&lt;p&gt;What is git and it uses? &lt;br&gt;
Git is a &lt;strong&gt;version control system&lt;/strong&gt; used for saving history of project and track the changes that you have done everyday on the projects that you are working. &lt;br&gt;
By using git you can track the changes, &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;who did it? &lt;/li&gt;
&lt;li&gt;When did they done it? &lt;/li&gt;
&lt;li&gt;What did they change it? &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have a existing project you can start using git right now by typing the following command in terminal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command is used to initialize the necessary git files like &lt;strong&gt;.git&lt;/strong&gt; in the current directort of the project which consists all the information that we save using git commads and repository details .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git init project-name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The command is used to create a project with git files in it so that you can directly start using git commands in it and save the changes that you have done.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git add &lt;span class="nb"&gt;.&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The command &lt;strong&gt;git add&lt;/strong&gt; is used to add the files to the staging area of the git from local system, after which you can commit the files to save the history that you have changed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -m "message goes here"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;These command is the most important command of all because these command consists of the meessage of the changes you have done upto now. - Lets break the command "commit" These one commits all your changes that you have made and added to the git. &lt;/li&gt;
&lt;li&gt;"-m" This is the short hand notation of the message that you want to give. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;" "&lt;/strong&gt; in the double quatation the actual meassage goes for the changes you have done upto now, 

&lt;ul&gt;
&lt;li&gt;the message has to been in such a way that you can identify what you have changed even after you are looking the project several days also you can identify&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Intro to programming language and memory management</title>
      <dc:creator>Rupesh-Darimisetti</dc:creator>
      <pubDate>Sun, 27 Feb 2022 16:04:05 +0000</pubDate>
      <link>https://dev.to/rupeshdarimisetti/intro-to-programming-language-and-memory-management-44ne</link>
      <guid>https://dev.to/rupeshdarimisetti/intro-to-programming-language-and-memory-management-44ne</guid>
      <description>&lt;h2&gt;
  
  
  Programming language:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Programming language&lt;/strong&gt; is the language that is in the form of human readable format because computer and smart electronic gadgets can only understand machine language or binary language i.e. which has only 1 and 0.&lt;/p&gt;

&lt;p&gt;If any one want to communicate with the machine, one has to generate machine code, which is difficult to write the application in that language as such it is difficult to understand and consists of several lines of code for normal printing message like "hello world".&lt;/p&gt;

&lt;p&gt;So the people who have found the trouble with that language developed most human readable and understandable programming language like &lt;strong&gt;c, c++, java, python, go, rust, ruby,&lt;/strong&gt; and so many other programming languages. &lt;/p&gt;

&lt;h2&gt;
  
  
  The different types of programming language are:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;procedural language&lt;/li&gt;
&lt;li&gt;functional language&lt;/li&gt;
&lt;li&gt;object oriented programming language&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Procedural Programming Language&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Specifies a series of well structured steps and procedures to compose a program. &lt;/li&gt;
&lt;li&gt;Contains a systematic order of statements functions and commands to complete task. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Functional programming language&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Writing a program only in pure function i.e. never modifies variables but only create new ones as an output. &lt;/li&gt;
&lt;li&gt;Used in situations where we have to perform a
lot of different operation on the set of data like Machine Learning. &lt;/li&gt;
&lt;li&gt;First class functions, these functions are the functions where you can assign it to other functions and variable. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Object Oriented Programming Language&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Revolves around object. &lt;/li&gt;
&lt;li&gt;Object = Code + Data&lt;/li&gt;
&lt;li&gt;Developed to make it easier to develop, debug, reuse and maintain software. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are two basic types of all the above programming language based on compilation which is done by compiler to convert whole human readable code into machine readable code i.e. binary code language which consists of only &lt;strong&gt;1 and 0&lt;/strong&gt; at a single go by compiler or by interpreter it is a process of converting human readable code into machine code line by line by checking the syntax and gets converted into machine code.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Static type and&lt;/li&gt;
&lt;li&gt;Dynamic type.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Static Type Programming Languages&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In this type of language, the language performs type checking during compile time. &lt;/li&gt;
&lt;li&gt;Declare data type before you use it is used in code. &lt;/li&gt;
&lt;li&gt;This language has more control on data types and value to be used for the variables, functions, classes. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Dynamic Type Programming Language&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In this type of language, the language performs type checking at runtime. &lt;/li&gt;
&lt;li&gt;Errors might not be shown until the program runs. &lt;/li&gt;
&lt;li&gt;No need to declare data type of variables. &lt;/li&gt;
&lt;li&gt;Saves time in writing code but might give errors at runtime. &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Memory Management in Computers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The computers consists of basically two types of memory they are stack and heap. &lt;/li&gt;
&lt;li&gt;Stack memory consists of reference variables. &lt;/li&gt;
&lt;li&gt;Heap memory consists of all the value and data that is being used by the variables and files in computer. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;More than one variable can point to the same object because of this only you can have several copies of data by changing the file name in 📁folder. &lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;
&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;99&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The code will update the value of &lt;code&gt;b&lt;/code&gt; with values as &lt;code&gt;[99,3,5,9]&lt;/code&gt;.&lt;br&gt;
In this the variable &lt;code&gt;a and b&lt;/code&gt; are stored in stack memory and the variable &lt;code&gt;[99,3,5,9]&lt;/code&gt;are stored in heap memory of computer. &lt;/p&gt;

</description>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>python function brief</title>
      <dc:creator>Rupesh-Darimisetti</dc:creator>
      <pubDate>Sun, 11 Oct 2020 04:27:48 +0000</pubDate>
      <link>https://dev.to/rupeshdarimisetti/python-function-brief-1m0e</link>
      <guid>https://dev.to/rupeshdarimisetti/python-function-brief-1m0e</guid>
      <description>&lt;p&gt;python is a powerful programming language and simple in language as we speak everyday. with python programming language one can do any sort of task and applications present in software and IT field.&lt;/p&gt;

&lt;p&gt;Syntax:&lt;br&gt;
it as simple syntax to define function i.e.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;name&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;parameters&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
     &lt;span class="k"&gt;pass&lt;/span&gt;&lt;span class="c1"&gt;#body code to perform function as required for you:
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;in this def keyword is used to define the function in python programming language,  every programming languages most of then uses flower brackets({}) are used to define the body of that function here colon(:) is used as it and indentation i.e. space in line from staring of the function defines the body of the function.&lt;/p&gt;

&lt;p&gt;parameters are the members given by coder which will be used to perform some function using that values.&lt;/p&gt;

&lt;p&gt;body present below the function is the key role where the total calculation and processing that is necessary for the application to be performed is written here.&lt;/p&gt;

&lt;p&gt;example of function in python language:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
     &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="c1"&gt;#adding two numbers
&lt;/span&gt;     &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt; &lt;span class="c1"&gt;#returning the sum of numbers
&lt;/span&gt;&lt;span class="n"&gt;add&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#initializing parameters by calling the function from #outside
&lt;/span&gt;&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;add&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#it will print the returned values from function.
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;output:&lt;br&gt;
15&lt;/p&gt;

&lt;p&gt;same program in java:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;sum&lt;/span&gt;
&lt;span class="o"&gt;{&lt;/span&gt;
&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;[]){&lt;/span&gt;
    &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="c1"&gt;//initializing  value of a to be 10 of datatype integer&lt;/span&gt;
    &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="c1"&gt;//initializing value of b to 5 of datatype integer&lt;/span&gt;
    &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;add&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;));&lt;/span&gt;&lt;span class="c1"&gt;//sends the values of a and b and print the values for the calculations done in program.&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="nf"&gt;add&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;){&lt;/span&gt;
&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;//adds the values of a and b and store the value in sum variable of integer datatype.&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;output:&lt;br&gt;
15&lt;/p&gt;

&lt;p&gt;explanation:&lt;br&gt;
in java one cannot write function directly without class name and one can write the function in python without class name also so its a big advantage to test each function easily in python then compared to other programming language.&lt;/p&gt;

&lt;p&gt;in python one must not necessary to give the datatype of variables used in programming language. but it is necessary to give the datatype for each and every place you use variable the datatype has to be used in other programming languages.&lt;br&gt;
they are:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int
long
float
double
char
byte
string 
array

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

&lt;/div&gt;



</description>
      <category>python</category>
      <category>java</category>
    </item>
  </channel>
</rss>
