<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Danyal Ahmed on Medium]]></title>
        <description><![CDATA[Stories by Danyal Ahmed on Medium]]></description>
        <link>https://medium.com/@yalgar?source=rss-45f4311da8ce------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*mtwtgSaP3qDPlmnG</url>
            <title>Stories by Danyal Ahmed on Medium</title>
            <link>https://medium.com/@yalgar?source=rss-45f4311da8ce------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 22:53:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yalgar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Software Engineering]]></title>
            <link>https://yalgar.medium.com/software-engineering-5c96e0bfdf30?source=rss-45f4311da8ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c96e0bfdf30</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[software-design]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Danyal Ahmed]]></dc:creator>
            <pubDate>Sat, 05 Oct 2024 08:29:33 GMT</pubDate>
            <atom:updated>2024-10-05T08:30:40.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*ZfjotQqhjVh-vkHgonOl2Q.png" /><figcaption>Software Engineering thumbnail</figcaption></figure><p>Software Engineering is the systematic application of engineering approaches to the development, operation and maintenance of software. Unlike programming which focuses solely on writing code, software engineering deals with designing, building, testing andn maintaining complex software systems while ensuring quality, efficiency, and reliability.</p><h3><strong>Key Objective</strong></h3><ul><li>Deliver high-quality software that meets user’s needs (Stakeholders)</li><li>Build software that is maintainable, scalable and resuable</li><li>Optimize development time and cost</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*9tFgUpKgK53HT4C_IWFNtw.png" /><figcaption>Development of Software</figcaption></figure><h3>Factors on which Software Depends:</h3><p>The development of efficient, maintanable and scalable software depends on several core factors. These factors help shape the design, structure, behavior, and interaction of software components.</p><ul><li><strong>Components:</strong> Software components are the modular, independent units of a software system that encapsulate functionality. <br>e.g User Interface, payment process, databases, business logic modules.</li><li><strong>Algorithms:</strong> An algorithm is a step — by — step procdure to solve a specific problem or perform a task. e.g. Sorting algorithm, searching algorithm, encryption alorithm (like AES).</li></ul><blockquote>Choosing the right alorithm is critical for performace and efficiency. Like a slow sorting algorithm could significantly degrade a systems performace when working with large datasets.</blockquote><ul><li><strong>Data Structures:</strong> Data Structures defines how data is stored, organized and manipulated in a program. E.g. Arrays, Linked Lists, Stacks, Queues, Trees, Hash Tables, and Graphs.</li></ul><blockquote>Choosing the right data structure ensures that operations like accessing, inserting and deleting data are done efficintly. The efficiency of algorithms heavily depends on the data structures they operate on. E.g. Hash Table allows for fast data lookup, while a tree can help with hierarchical data representation.</blockquote><ul><li><strong>Interaction between components (Coupling and Cohesion): </strong>Components interaction is crucial in how different parts of a system work together. It involves coupling (how tightly componenets are linked) and cohesion (how focused a components responsibilites are).</li><li><strong>Security Considerations:</strong> Software must be designed with security in mind. Security concerns impact hot components interact, how data is accessed, and how algoritms are designed.</li></ul><p>— Data privacy</p><p>— Authenticaion and Authorization</p><p>— Input Validation</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c96e0bfdf30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Types of Programming Languages]]></title>
            <link>https://yalgar.medium.com/types-of-programming-languages-d83bb6aa9ff7?source=rss-45f4311da8ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/d83bb6aa9ff7</guid>
            <category><![CDATA[programing]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[static-vs-dynamic]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[types-of-programming]]></category>
            <dc:creator><![CDATA[Danyal Ahmed]]></dc:creator>
            <pubDate>Thu, 13 Jun 2024 09:56:23 GMT</pubDate>
            <atom:updated>2024-06-13T09:56:23.133Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JmUjAnTOpVBi-T0rRIgNtw.png" /></figure><h3>Procedural Languages</h3><p><strong>Define a Sequence of Well-Organized Steps and Procedures to Create a Program: </strong>Procedural languages revolve around breaking down a program into a series of discrete steps or procedures. Each procedure, often referred to as a function or subroutine, performs a specific task within the program. These steps are organized in a logical sequence to ensure that the program flows smoothly from start to finish. For instance, you might have a procedure for reading input from a user, another for processing that input, and yet another for displaying the results. By defining these steps clearly, procedural languages help ensure that each part of the program is well-understood and manageable.</p><p><strong>Include a Systematic Arrangement of Statements, Functions, and Commands to Accomplish a Task: </strong>In addition to organizing steps into procedures, procedural languages also focus on the systematic arrangement of statements, functions, and commands. This means that the code is written in a structured way, following a specific order to ensure that tasks are completed correctly and efficiently. Statements are the basic instructions that tell the computer what to do, functions encapsulate specific tasks or calculations, and commands control the flow of the program (such as loops and conditionals). By arranging these elements systematically, procedural languages ensure that the program executes in a logical and predictable manner, making it easier to understand, debug, and maintain.</p><h3>Functional Languages</h3><p><strong>Writing Programs with Pure Functions: </strong>In functional programming, programs are written using pure functions. A pure function is one that doesn’t modify variables or the state of the program. Instead, it takes some input, performs a calculation, and returns a new result without changing any existing data. This makes the code more predictable and easier to understand because the same input always produces the same output.</p><p><strong>Ideal for Data-Heavy Operations: </strong>Functional languages are particularly useful when you need to perform many different operations on the same set of data. This is common in fields like machine learning, where data is often processed and transformed in various ways. By using pure functions, you can easily chain together multiple operations in a clear and concise manner.</p><p><strong>First-Class Functions: </strong>In functional programming, functions are first-class citizens. This means you can treat functions like any other data type. You can pass them as arguments to other functions, return them from functions, and store them in variables. This allows for powerful and flexible programming techniques, such as creating higher-order functions that can dynamically generate and compose new functions based on the needs of your program.</p><p>Overall, functional programming promotes a clear, predictable, and efficient way of writing software, especially useful for complex data manipulation tasks.</p><h3>Object-Oriented Programming (OOP)</h3><p><strong>Emphasis on Objects: </strong>Object-Oriented Programming (OOP) is a programming paradigm that revolves around the concept of objects. An object combines code and data into a single unit. The data, often referred to as attributes or properties, describe the object’s state, while the code, in the form of methods or functions, defines the object’s behavior.</p><p><strong>Key Principles</strong></p><ol><li><strong>Encapsulation:</strong> Objects encapsulate data and behavior within a single unit, hiding internal state and requiring interaction through well-defined interfaces.</li><li><strong>Inheritance:</strong> Objects can inherit attributes and methods from other objects, allowing for hierarchical relationships and code reuse.</li><li><strong>Polymorphism:</strong> Objects can be treated as instances of their parent class, allowing for flexibility and dynamic behavior through method overriding and method overloading.</li></ol><p><strong>Advantages of OOP</strong></p><p>Object-Oriented Programming was developed to address several challenges in software development:</p><ul><li><strong>Ease of Development:</strong> By organizing code into objects, OOP provides a more intuitive and structured way to design software systems.</li><li><strong>Ease of Debugging:</strong> Encapsulation helps isolate different parts of the program, making it easier to identify and fix bugs.</li><li><strong>Code Reusability:</strong> Inheritance allows classes to inherit attributes and behaviors from other classes, promoting code reuse and reducing redundancy.</li><li><strong>Ease of Maintenance:</strong> OOP’s modular structure makes it easier to update and maintain code, as changes to one part of the system are less likely to impact other parts.</li></ul><p><strong>Languages that Support OOP</strong></p><p>Several programming languages support Object-Oriented Programming, including:</p><ul><li><strong>Java</strong></li><li><strong>C++</strong></li><li><strong>Python</strong></li><li><strong>C#</strong></li><li><strong>Ruby</strong></li><li><strong>PHP</strong></li><li><strong>Swift</strong></li></ul><p>These languages provide features like classes, objects, inheritance, and polymorphism to facilitate the creation and manipulation of objects, adhering to the principles of OOP. Each language may implement OOP principles slightly differently, but the core concepts remain consistent across implementations.</p><h3>Static vs Dynamic Languages</h3><p><strong>Static Languages: </strong>Static languages perform type checking at compile time. This means that the compiler checks the types of variables and expressions during the compilation process, before the program is executed. If there are type mismatches or errors, they are caught at compile time, which helps in early detection of bugs.</p><p><strong>Characteristics:</strong></p><ul><li><strong>Type Checking:</strong> Types of variables and expressions are checked before the program runs.</li><li><strong>Compilation Time Errors:</strong> Errors related to type mismatches or undefined variables are shown during compilation.</li><li><strong>Explicit Declaration:</strong> Variables typically require explicit declaration of their data types.</li><li><strong>Control:</strong> Provides more control over the program’s behavior and performance optimizations due to early type checking.</li></ul><p><strong>Languages that Support Static Typing:</strong></p><ul><li><strong>Java</strong></li><li><strong>C/C++</strong></li><li><strong>C#</strong></li><li><strong>Scala</strong></li><li><strong>Swift</strong></li><li><strong>Go</strong></li></ul><p><strong>Dynamic Languages</strong></p><p>Dynamic languages perform type checking at runtime. This means that type errors are discovered while the program is executing. Variables do not need to be declared with their data types explicitly, allowing for more flexibility and quicker development.</p><p><strong>Characteristics:</strong></p><ul><li><strong>Type Checking:</strong> Types of variables and expressions are checked during program execution.</li><li><strong>Runtime Errors:</strong> Type errors may not be detected until the program is run, potentially causing crashes or unexpected behavior during runtime.</li><li><strong>No Explicit Declaration:</strong> Variables do not require explicit declaration of data types, allowing for quicker coding.</li><li><strong>Flexibility:</strong> Offers more flexibility and ease of use, especially in scripting and rapid prototyping.</li></ul><p><strong>Languages that Support Dynamic Typing:</strong></p><ul><li><strong>Python</strong></li><li><strong>JavaScript</strong></li><li><strong>Ruby</strong></li><li><strong>PHP</strong></li><li><strong>Perl</strong></li><li><strong>R</strong></li></ul><p><strong>Comparison:</strong></p><ul><li><strong>Error Detection:</strong> Static languages catch errors at compile time, while dynamic languages catch errors at runtime.</li><li><strong>Declaration:</strong> Static languages require explicit declaration of data types, whereas dynamic languages do not.</li><li><strong>Flexibility vs Control:</strong> Dynamic languages offer flexibility and faster development, while static languages provide more control over program behavior and optimizations.</li></ul><p>Both types have their advantages and are suitable for different types of projects depending on the trade-offs between control, development speed, and error detection requirements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d83bb6aa9ff7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>