<?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 Anwar M. on Medium]]></title>
        <description><![CDATA[Stories by Anwar M. on Medium]]></description>
        <link>https://medium.com/@manwaar?source=rss-acf1c730a8fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*NaqHOaBbZXOBlLWp</url>
            <title>Stories by Anwar M. on Medium</title>
            <link>https://medium.com/@manwaar?source=rss-acf1c730a8fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 13:47:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manwaar/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[The Password Security Trinity: Hashing, Salting, and Encryption Explained]]></title>
            <link>https://medium.com/@manwaar/the-password-security-trinity-hashing-salting-and-encryption-explained-9818845bad9a?source=rss-acf1c730a8fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/9818845bad9a</guid>
            <category><![CDATA[hashing]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[password-security]]></category>
            <category><![CDATA[salting]]></category>
            <category><![CDATA[encryption]]></category>
            <dc:creator><![CDATA[Anwar M.]]></dc:creator>
            <pubDate>Sun, 06 Oct 2024 21:51:22 GMT</pubDate>
            <atom:updated>2024-10-06T23:33:50.956Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*vF32on-8Pgbv_KjfNPpCCQ.jpeg" /></figure><p>When it comes to storing passwords securely, <strong>hashing, salting,</strong> and <strong>encryption</strong> are critical concepts often confused with one another. Here’s a breakdown of the differences, their specific uses, and other options for securing passwords:</p><h3>1. Hashing</h3><p><strong>Definition</strong>: Hashing is a<strong><em> one-way function</em></strong> that converts input data (like a password) into a fixed-length string of characters, called a hash. Hashing is designed to be irreversible, meaning you cannot retrieve the original password from the hash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*km292kyuCmNXpIYK3Am2yA.png" /><figcaption>Password Hashing — One-Way function</figcaption></figure><p><strong>Usage for Passwords</strong>: Hashing is widely used to store passwords. Instead of saving the password itself, the system stores the hashed value. When a user logs in, the system hashes the input again and compares it to the stored hash.</p><p><strong>Example Hashing Algorithms</strong>:</p><ul><li><strong>Bcrypt</strong>: Strong, adaptive hashing algorithm. It allows complexity adjustment (slower hash functions make brute force attacks harder). It consists of 60 characters (string) and the binary length is 32 bytes (256 bits).</li><li><strong>Argon2</strong>: Winner of the Password Hashing Competition (PHC), highly secure and allows control over time, memory, and CPU usage. The default output size can be adjusted, It is commonly set to 32 bytes (256 bits) for hashes.</li><li><strong>SHA-256</strong>: Cryptographic hash, but not recommended alone for password storage due to speed (fast algorithms are vulnerable to brute force attacks). It consists of 64 characters (hexadecimal representation) and the binary length is 32 bytes (256 bits).</li></ul><p><strong>Key Property</strong>:</p><ol><li>Hashing is one-way, meaning that data cannot be reversed or decrypted once data is hashed. This is ideal for password storage.</li><li>For the same input, a good hashing function must always produce the same output (hash i.e. <strong>Deterministic)</strong>. This allows for consistent results when verifying data integrity.</li><li>A good hashing function should produce a fixed-size output (hash value), regardless of the input size. This ensures consistency and makes it easier to handle the hash values in storage or transmission.</li></ol><p><strong>Limitations of Simple Hashing in Password Security</strong></p><blockquote><strong>Hashing </strong>is a critical component of password management, relying on hashing alone is not sufficient for securing passwords effectively.</blockquote><ol><li>If multiple users choose the same password, their hashes will be identical. This allows attackers to identify users with the same password if they can access the hashed passwords.</li><li>Hashing does not prevent brute-force or dictionary attacks, where attackers try every possible combination to guess a password. If the hashing algorithm is fast, attackers can compute many hashes quickly.</li><li>Inability to Handle Password Changes. When a user changes their password, the system must generate a new hash for the new password. A simple hashing mechanism alone doesn’t provide any built-in method for invalidating or updating previous hashes associated with the old password. However, if the old hash is still present and accessible, an attacker could potentially use it to gain unauthorized access if they somehow learn the old password.</li></ol><h3>2. Salting</h3><p><strong>Definition</strong>: Salting is the process of adding a unique, random string (called a “salt”) to each password before hashing it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WivsyBFP7nYS3dLWkyfC0w.png" /><figcaption>Password + Salting + Hashing</figcaption></figure><p><strong>Usage for Passwords</strong>: Salting protects against rainbow table attacks, which are precomputed tables of hashes. A salt adds uniqueness to each password, making these types of attacks ineffective.</p><p>It is highly recommended to use salting and hashing together when storing passwords or sensitive data. This combination not only protects against various types of attacks but also ensures that even if the hashed passwords are compromised, the actual passwords remain secure.</p><ul><li><strong>Example</strong>: A user with the password “mypassword123” would have a random salt like “abc456” added to it, and the system would hash “mypassword123abc456” instead of just the plain password.</li></ul><p><strong>Key Property</strong>:</p><ol><li>Salts are stored alongside the hashed password in the database and must be unique for each user.</li><li>Using a unique salt for each password ensures that even if two users have the same password, their stored hashes will differ.</li><li>Each salt should be randomly generated and sufficiently long (typically 16 bytes or more) to maximize security.</li><li>To validate passwords, It’s a two-step process. retrieves the stored salt and hashed password from the database for the user who is attempting to log in. The system compares the newly computed hash from the entered password and salt to the stored hash. If the two hashes match, the password is considered valid, and the user is granted access else denied.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ImeKxN_Swr2S_6knpMWMJw.png" /><figcaption>The same password generates different hashing due to random salt.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*zkb7L-yH3Gt4wJs7AhXBeg.png" /><figcaption>Store salt and hash in the database to assist in lookup. Image by Alex Xu.</figcaption></figure><h3>3. Encryption</h3><p><strong>Definition</strong>: Encryption is a reversible process that transforms data into an unreadable format using an encryption algorithm and a key. The data can be decrypted back into its original form using the same (or related) key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qz_OxjOold0OEgpEkV24eQ.png" /><figcaption>Encryption using Symmetric Key</figcaption></figure><p><strong>Usage for Passwords</strong>: Encryption is <strong>not recommended</strong> for password storage. Since encryption is reversible, anyone with access to the encryption key could decrypt and recover the original password. This is risky because encryption keys need to be protected and managed securely, which can be complex.</p><p><strong>Use Cases</strong>:</p><ol><li>Encryption is better suited for <strong>securing data in transit</strong> (e.g., encrypting network traffic) or at rest (e.g., securing files) rather than for storing passwords.</li><li>Encryption is used in digital signatures to authenticate the identity of the sender and ensure that the message has not been altered</li></ol><p><strong>Key Property</strong>:</p><ol><li>Encryption is two-way; the data can be both encrypted and decrypted.</li><li>Encrypted data should be unreadable to anyone who does not possess the correct decryption key.</li><li>Encryption should ensure that the data remains unchanged during transmission or storage. Any alteration to the encrypted data should be detectable upon decryption.</li></ol><h3><strong>Other Options for Secure Password Handling</strong></h3><p>In addition to traditional hashing and salting, modern security approaches include:</p><h4>4.1. Key Stretching (PBKDF2)</h4><ul><li><strong>Definition</strong>: Key stretching is a technique that applies a hashing function multiple times to slow down brute-force attacks. PBKDF2 (Password-Based Key Derivation Function 2) is a widely used algorithm that applies a hash function repeatedly to increase security.</li><li><strong>Usage</strong>: PBKDF2 is often used in environments where backward compatibility is required or for older systems.</li></ul><pre>Input: &quot;mypassword123&quot; → Hashed with 10,000 iterations → Final hash: &quot;1c8e38...&quot;</pre><h3>How They Work Together in Password Security:</h3><ul><li><strong>Hashing</strong> is used to store passwords securely by converting them into a fixed-length, irreversible hash.</li><li><strong>Salting</strong> is used in conjunction with hashing to add uniqueness to each password, defending against common attack methods.</li><li><strong>Encryption</strong> is typically not used for storing passwords but is critical for protecting other types of sensitive data (like communication or files).</li></ul><h3>FYI!</h3><blockquote><strong>Encoding</strong> in the context of <strong>password or data security</strong> is often misunderstood as a form of encryption or hashing, but it serves a different purpose. Encoding is <strong>not a security measure</strong> but rather a <strong>data transformation</strong> process. The goal of encoding is <strong>data formatting</strong> and <strong>compatibility</strong>, not security. The encoded data can easily be decoded back into its original form without any secret keys or complex processes.</blockquote><h3>Outro</h3><blockquote>Thus, <strong>hashing and salting</strong> are often employed together in password storage systems, while <strong>encryption</strong> is used for protecting sensitive data (but not recommended for password storage due to its reversible nature).</blockquote><blockquote>As the landscape evolves, <strong>password-less authentication</strong> is becoming a more secure and user-friendly option, eliminating many risks associated with password storage altogether. Stay tuned as we will focus on much more in upcoming write-up, that would boost your understanding and improve your product development journey!</blockquote><h3>What did I miss?</h3><p>If you have alternates worth mentioning here, please share them in the comment below. Consider liking and sharing if you find this helpful.<br> Thank you. Have a good day!</p><h3>References</h3><ol><li><a href="https://www.okta.com/uk/identity-101/hashing-vs-encryption/">Hashing and Encryption</a></li><li><a href="https://techslang.com/definition/what-is-password-salting/">Password salting</a></li><li><a href="https://www.linkedin.com/posts/alexxubyte_systemdesign-coding-interviewtips-activity-7114269933760307201-Bf80">Password management</a></li><li><a href="https://openai.com/index/dall-e-3/">Info-graphic via DALL-E</a> + Editing in Photoshop.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9818845bad9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The API Playbook: Crafting REST Guidelines for Enterprise Development Teams]]></title>
            <link>https://medium.com/@manwaar/the-api-playbook-crafting-rest-guidelines-for-enterprise-development-teams-9fcd045062d3?source=rss-acf1c730a8fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fcd045062d3</guid>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[rest-api-design]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[spring]]></category>
            <dc:creator><![CDATA[Anwar M.]]></dc:creator>
            <pubDate>Mon, 23 Sep 2024 00:51:22 GMT</pubDate>
            <atom:updated>2024-09-23T01:22:52.533Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*eqaWGJ9GC-XiJKfyr7WBow.jpeg" /><figcaption>Software Engineering Teams REST API Playbook</figcaption></figure><blockquote>It’s well-known that cross-functional, intra-department collaboration is the key to efficiency and success for many companies. In fact, <a href="https://www.atlassian.com/blog/leadership/open-collaboration-software-development">83% of tech leaders</a> think that cross-functional collaboration is crucial for successful software development.</blockquote><p>In my current organization, we are crafting innovative cloud-native and distributed applications based on Software as a Service (SaaS) principles, incorporating features that support Data as a Service (DaaS), analytics, operational metrics, SLA monitoring, etc.</p><p>I’ve had the privilege of collaborating with multiple teams to deliver exciting products leveraging <strong>React </strong>integrated with <strong>REST APIs </strong>built on the robust <strong>Spring framework</strong> ecosystem. Improving the productivity of engineering teams through the establishment of an API playbook and guidelines is a strategic initiative that can foster collaboration, avoid re-inventing the wheel, enhance quality, and support the scalability of multiple teams and products. By prioritizing these guidelines, you set the foundation for a robust API ecosystem that drives efficiency and a positive developer experience.</p><blockquote>One of the important and interesting learning i have in my engineering journey be it leader or individual contributor is to <strong>keep it simple</strong> and build upon a solid foundation of known practices and prevent teams from getting bogged down in unnecessary complexities.</blockquote><p>Here’s a structured approach my team and I took to define an API playbook and its guidelines (<em>keep it simple</em>):</p><h3>Use Consistent and Meaningful Resource Naming Conventions</h3><ul><li><strong>Action:</strong> Use nouns to represent resources rather than verbs in your endpoints (e.g., /users instead of /getUsers).</li><li><strong>Why:</strong> It improves readability and consistency, making it easy for developers to understand and use the API.</li><li><strong>Best Practice:</strong> Use plural nouns (e.g., /products, /orders), and stick to lowercase with hyphens (/user-profiles instead of /userProfiles).</li></ul><h3>Version Your API</h3><ul><li><strong>Action:</strong> Include versioning in the API URL (e.g., /v1/users) or in headers. We decided to follow the URL approach as it is descriptive and readable.</li><li><strong>Why:</strong> API versioning ensures <strong>backward compatibility</strong> as your API evolves without breaking existing clients.</li><li><strong>Best Practice:</strong> Maintain multiple versions as needed and deprecate older versions with clear communication.</li></ul><h3>Design for Statelessness</h3><ul><li><strong>Action:</strong> Ensure that each API request is independent and does not rely on the server-side state. This simplifies concurrency management and eliminates issues related to shared state.</li><li><strong>Why: </strong>Stateless APIs are easier to scale and manage, as they do not rely on server-side session data. Each request is self-contained.</li><li><strong>Best Practices: </strong>Ensure each API request carries all necessary information. Pass tokens (e.g., JWT) for user sessions instead of maintaining the server state.</li></ul><h3>Implement Idempotency</h3><p>Idempotence ensures that making the same request multiple times will have the same effect as making it once. This is vital for clients who may retry requests due to network issues or timeouts.</p><ul><li><strong>Action: </strong>Use idempotency keys for operations that modify data to ensure that repeated requests do not cause duplicate actions.</li><li><strong>Why:</strong> Idempotent APIs ensure that repeated requests do not cause unintended side effects, which is crucial in concurrent environments.</li><li><strong>Best Practices:</strong></li><li>Design API endpoints to be idempotent where possible, especially for operations that modify data.</li><li>Ensure that the operations performed by PUT and DELETE methods do not have unintended side effects</li><li>For operations that are not naturally idempotent (like POST), include a unique identifier (e.g., a transaction ID) in the request. This allows the server to recognize and ignore duplicate requests.</li></ul><h3>Use Asynchronous Processing</h3><ul><li><strong>Action:</strong> Consider implementing asynchronous endpoints that allow long-running tasks to be processed in the background.</li><li><strong>Why:</strong> Asynchronous APIs help offload long-running tasks, improving responsiveness and allowing for better resource management.</li><li><strong>Best Practices:</strong> Utilize message queues, Azure Service Bus, etc. to handle background processing, ensuring tasks are managed independently of the API response. Add support to log process status and generate alerts/notifications on error/success.</li></ul><h3>Handle Concurrency</h3><p><strong>Locks</strong> are essential in managing <strong>concurrent access</strong> to shared resources in multithreaded applications. Efficient usage would help prevent race conditions and ensure data integrity by controlling how multiple threads interact with critical sections of code. Java supports two <strong>advanced types of locks</strong> used in concurrency management are <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/ReadWriteLock.html"><strong>ReadWriteLocks</strong> </a>and <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html"><strong>ReentrantReadWriteLocks</strong></a>.</p><ul><li><strong>Action: </strong>With READ LOCK multiple transactions can acquire a read lock simultaneously, allowing them to read the resource.WRITE LOCK allows only one transaction to acquire a write lock at a time, and it blocks other read and write operations until the write is complete.</li><li><strong>Why:</strong> Using reentrant read-write locks can be an effective strategy in API development, particularly when dealing with shared resources that are frequently read but less frequently modified.</li><li><strong>Best Practices:</strong></li><li>Keep the scope of the lock as small as possible to reduce contention</li><li>Be cautious of acquiring locks in a nested fashion, which can lead to deadlocks.</li><li>Implement timeouts for acquiring locks to prevent threads from waiting indefinitely</li></ul><h3>Standardizing API Responses for UI Integration</h3><ul><li><strong>Action: </strong>Create a well-defined response format, typically using a combination of standard HTTP status codes, a response body, and metadata (e.g., pagination info or links, sorting, and filtering).</li><li><strong>Why:</strong> Clients can predict the structure of responses, making it easier to parse and handle them. Clear, standardized responses improve API documentation, helping developers understand how to interact with the API effectively</li><li><strong>Best Practices: </strong>Use proper HTTP codes, consistent structure, clear error messages, pagination, versioning, and consider the inclusion of hypermedia links and metadata</li></ul><pre>{<br>  &quot;status&quot;: &quot;success&quot;,<br>  &quot;message&quot;: &quot;User retrieved successfully.&quot;<br>  &quot;data&quot;: {<br>    &quot;user&quot;: {<br>      &quot;id&quot;: 1,<br>      &quot;name&quot;: &quot;John Doe&quot;,<br>      &quot;email&quot;: &quot;john.doe@example.com&quot;<br>    }<br>  }<br>}</pre><pre>{<br>  &quot;status&quot;: &quot;success&quot;,<br>  &quot;message&quot;: &quot;Users retrieved successfully.&quot;<br>  &quot;data&quot;: {<br>    &quot;users&quot;: [<br>      {<br>        &quot;id&quot;: 1,<br>        &quot;name&quot;: &quot;John Doe&quot;,<br>        &quot;email&quot;: &quot;john.doe@example.com&quot;<br>      },<br>      {<br>        &quot;id&quot;: 2,<br>        &quot;name&quot;: &quot;Jane Smith&quot;,<br>        &quot;email&quot;: &quot;jane.smith@example.com&quot;<br>      }<br>      // More users...<br>    ]<br>  },<br>  &quot;meta&quot;: {<br>    &quot;total&quot;: 100,          // Total number of users<br>    &quot;page&quot;: 1,             // Current page number<br>    &quot;perPage&quot;: 10,         // Number of users per page<br>    &quot;totalPages&quot;: 10       // Total number of pages<br>  },<br>}</pre><h3>API Documentation</h3><ul><li><strong>Action:</strong> Use tools like Swagger/OpenAPI to document your API endpoints, request/response formats, and authentication methods.</li><li><strong>Why: </strong>Well-documented APIs reduce the learning curve for external and internal developers, making it easier to understand how to use the API correctly. It also standardizes communication between frontend and backend teams, reducing misunderstandings. Clear instructions and examples help avoid trial and error, reducing the time it takes to build reliable integrations.</li><li><strong>Best Practices:</strong></li><li>Encourage developers to include comments in the code, especially for complex logic, to improve understanding and maintainability</li><li>Include Sample Requests and Responses</li><li>Provide Error Handling Information</li></ul><h3>Final Thoughts,</h3><p>A straightforward API playbook is easier for all team members to understand, from seasoned engineers to new hires. The other objective is also to avoid inconsistent implementations. As teams work with the APIs, they can identify areas for refinement and enhancement. This collaborative learning process helps evolve the guidelines organically. I maintain this info <a href="https://www.atlassian.com/software/confluence"><strong>confluence </strong></a>for easy access and reference.</p><h3>What did I miss?</h3><p>The above guideline is by no means exhaustive. If you have alternates worth mentioning here, please share them in the comment below. Consider liking and sharing if you find this helpful.<br>Thank you. Have a good day!</p><h3>References</h3><ol><li><a href="https://hackernoon.com/restful-api-designing-guidelines-the-best-practices-60e1d954e7c9?source=post_page-----ded471f573f3--------------------------------">RESTful API Designing guidelines — The best practices | HackerNoon</a></li><li><a href="https://www.freecodecamp.org/news/rest-api-best-practices-rest-endpoint-design-examples/">REST API Best Practices — REST Endpoint Design Examples (freecodecamp.org)</a></li><li><a href="https://www.shakebugs.com/blog/collaboration-in-software-development/">Benefits of teamwork and collaboration for software development teams | Shake (shakebugs.com)</a></li><li><a href="https://www.restapitutorial.com/httpstatuscodes">HTTP Status Codes — REST API Tutorial</a></li><li><a href="https://ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm">Fielding Dissertation: CHAPTER 5: Representational State Transfer (REST) (uci.edu)</a></li><li><a href="https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven">REST APIs must be hypertext-driven » Untangled (gbiv.com)</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fcd045062d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Winning the Software Engineering Race: Why Fundamentals Are Your Strongest Horse]]></title>
            <link>https://medium.com/@manwaar/winning-the-software-engineering-race-why-fundamentals-are-your-strongest-horse-a6a3ca5c58c3?source=rss-acf1c730a8fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6a3ca5c58c3</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[software-fundamental]]></category>
            <category><![CDATA[5-must-read-software-book]]></category>
            <category><![CDATA[datastrucutre]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Anwar M.]]></dc:creator>
            <pubDate>Sun, 15 Sep 2024 23:21:53 GMT</pubDate>
            <atom:updated>2024-09-15T23:21:53.814Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*Ghxzepdd0sL164JVsxwdgA.jpeg" /><figcaption>Race for Software Excellence and Career Growth</figcaption></figure><blockquote>We all love sports and admire our top athletes. We’ve likely heard the phrase ‘<strong>go back to the basics and fundamentals</strong>’ countless times. Just as this holds true for great players like <strong>Michael Jordan</strong>, <strong>Tom Brady</strong>, <strong>Khabib Nurmagomedov, Cristiano Ronaldo, Virat Kohli</strong>, <strong>Michael Schumacher, </strong>etc. It’s equally applicable to software engineering.</blockquote><h3>Why Fundamentals Matter in Software Engineering:</h3><p>Mastering core concepts like <strong>data structures</strong>, <strong>algorithms</strong>, and <strong>object-oriented</strong> programming provides a strong foundation for solving complex problems efficiently. These basics enable developers to write scalable, maintainable, and adaptable code across different platforms.</p><blockquote>Here are few outstanding books that focus on fundamentals and building blocks of engineering that can help you become an exceptional software engineer and create outstanding products.</blockquote><blockquote>You may observe code examples are written in specific language however the concepts are universally applicable across all programming languages. If you are familiar with one language, examples can be easily translated.</blockquote><h3>“Data Structures and Algorithms in Java” by Robert Lafore</h3><ul><li><strong>Why it’s important</strong>: This <a href="https://www.amazon.com/Data-Structures-Algorithms-Java-2nd/dp/0672324539">book</a> presents data structures more practically, hands-only, using Java for all examples. It’s ideal for beginners who want to implement data structures themselves while still covering core concepts like <strong>stacks</strong>, <strong>queues</strong>, <strong>trees</strong>, <strong>graphs</strong>, and <strong>sorting</strong> <strong>algorithms</strong>. It balances theory with practical programming exercises.</li><li><strong>Custom Feedback</strong>: The <a href="https://www.amazon.com/Data-Structures-Algorithms-Java-2nd/dp/0672324539">book</a> is very well-written and breaks down complex ideas into digestible chunks. It covers all the essential data structures and algorithms that are often asked in technical interviews, with clear examples and exercises. A great tool for anyone looking to build their <strong>problem-solving skills</strong> and <strong>ace interviews</strong>.</li><li><strong>For</strong>: Developers, beginners to intermediate level.</li></ul><h3><strong>“Grokking Algorithms: An Illustrated Guide for Programmers and Other Curious People” by Aditya Bhargava</strong></h3><ul><li><strong>Why it’s helpful</strong>: The <a href="https://www.amazon.com/Grokking-Algorithms-illustrated-programmers-curious/dp/1617292230">book</a> is known for its use of illustrations and visual aids to explain complex algorithms in a way that is easy to understand. It’s written in a friendly, conversational tone that makes it accessible to beginners who may find more technical books intimidating. The book includes practical, real-world examples that help readers understand how algorithms work in practice. Concepts are broken down into manageable chunks with clear, step-by-step explanations.</li><li><strong>Customer Feedback:</strong> <a href="https://www.amazon.com/Grokking-Algorithms-illustrated-programmers-curious/dp/1617292230"><em>Grokking Algorithms</em></a> is highly praised for its accessibility and visual approach, making it a great choice for those new to algorithms. While it’s less suited for advanced study, it provides a strong foundation and is especially useful for visual learners.</li><li><strong>For</strong>: Developers, beginners to intermediate level.</li></ul><h3>“Clean Code: A Handbook of Agile Software Craftsmanship” by Robert C. Martin</h3><ul><li><strong>Why it’s important</strong>: A classic <a href="https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882">book</a> on writing clean, maintainable code, “Clean Code” focuses on the principles and practices that make code more readable, efficient, and flexible. It’s essential for any developer aiming to produce high-quality, professional-grade code.</li><li><strong>Key takeaway</strong>: Coding isn’t just about making things work; it’s about creating code that others can understand and maintain.</li><li><strong>Best For</strong>: Developers who want to not only understand OOP but also apply it in writing better, cleaner code.</li></ul><h3>“Design Patterns: Elements of Reusable Object-Oriented Software” by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides (Gang of Four)</h3><ul><li><strong>Why it’s important</strong>: This book is crucial for any software engineer because it teaches <strong>how to think about software design at a higher level</strong>. Understanding these patterns can significantly improve the quality, scalability, and maintainability of the software you build, making it an essential resource for career growth.</li><li><strong>Custom Feedback</strong>: This is the original and most influential <a href="https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612">book</a> on design patterns, often referred to as the <a href="https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612">“Gang of Four” (GoF) book</a>. It introduces 23 foundational design patterns used in object-oriented software development. While the examples are in C++ and Smalltalk, the patterns themselves are timeless and applicable across modern languages like Java, C#, and Python. Some readers may find the writing style a bit dated, but the content is still highly valuable.</li><li><strong>For</strong>: Intermediate to advanced developers who want a comprehensive understanding of foundational design patterns.</li></ul><h3>“Java Concurrency in Practice” by Brian Goetz</h3><ul><li><strong>Why it’s important</strong>: One of the most popular <a href="https://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601">books</a> on multithreading and concurrency in Java, this <a href="https://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601">book</a> provides practical guidance on how to write safe and efficient programs that are both scalable and maintainable, avoiding common pitfalls in concurrent programming. It explains complex topics like thread safety, synchronization, performance tuning, and modern Java concurrency utilities (e.g., java.util.concurrent). The book predates Java 8, so it doesn’t cover newer features like the Stream API, CompletableFuture, or parallel streams directly. However, these enhancements build on the concurrency concepts that the book explains.</li><li><strong>Custom Feedback</strong>: This <a href="https://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601">book</a> is often regarded as the “<strong>gold standard</strong>” for learning concurrency in Java. It strikes the perfect balance between theory and practical examples. It’s instrumental if you’re dealing with real-world concurrent Java applications where thread safety and synchronization are critical. The coverage of the java.util.concurrent package is beneficial for modern Java developers.</li><li><strong>For</strong>: Java developers, intermediate to advanced level.</li></ul><h3>Final Thoughts</h3><p><strong>Software engineering career growth is highly dependent on mastering fundamentals, core concepts, </strong>and <strong>design principles</strong> because these serve as the foundation upon which all advanced skills and expertise are built.</p><ol><li><strong>Problem-Solving Abilities</strong>: A strong grasp of core concepts like algorithms, data structures, and computational thinking enables engineers to approach complex problems systematically and design optimal solutions. This is essential for both everyday tasks and high-level architectural decisions.</li><li><strong>Code Quality and Maintainability</strong>: Clean code, design patterns, and object-oriented principles are fundamentals that improve code quality, making it scalable, maintainable, and easier for teams to collaborate. Engineers who excel in these areas are more likely to be trusted with larger, critical projects.</li><li><strong>Adaptability to New Technologies</strong>: Mastery of fundamentals allows engineers to quickly learn and adapt to new programming languages, frameworks, and tools. Since technology evolves rapidly, those with a deep understanding of core principles can transition smoothly and stay relevant in the field.</li><li><strong>Career Advancement and Leadership</strong>: As engineers progress in their careers, they are expected to lead teams and make decisions about the overall system architecture. A deep understanding of fundamentals empowers them to guide teams, mentor others, and design complex, high-performing systems.</li></ol><h3>Outro</h3><p>Thank you for reading to the end. These books have been helpful throughout my software journey, be it as an individual contributor, leading a team of engineers, or architecting complex solutions.</p><blockquote>I know there are tons of tutorials, cheat sheets available online, However Books give you the <strong>conceptual depth</strong>, <strong>systematic knowledge</strong>, and <strong>timeless principles</strong> that tutorials can’t always offer. They equip you with the critical thinking, problem-solving skills, and long-term insights needed to excel in software engineering and build robust, maintainable systems.</blockquote><p>If you have feedback and ideas worth mentioning here, please share them in the comment below. Consider liking and sharing if you find this helpful.<br>See you in future articles! Have a good day!</p><h3>References</h3><ol><li><a href="https://medium.com/@neciudan/tech-books-you-have-to-read-to-be-a-better-software-engineer-bc719127c218">https://medium.com/@neciudan/tech-books-you-have-to-read-to-be-a-better-software-engineer-bc719127c218</a></li><li><a href="https://www.nobroker.in/blog/7-running-horses-painting-vastu/">Info-graphic</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6a3ca5c58c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>