Mini essays
-
Lauers Law – why less code is better
Lauers Law – why less code is better as a very solid idea. Just remind Yourself about all those DTOs that could be a simpler one with a mapper or a dedicated if-else-tree somewhere around data transformation. It challenges developers to prioritize efficiency and elegance in their coding practices, ultimately leading to cleaner, easier to understand and more maintainable systems. The Essence of Lauer’s Law At its core, Lauer’s Law emphasizes that reducing the amount of code can lead to better outcomes. The principle suggests that if developers had twice as much time, they could create a system with half the code while maintaining or improving its quality. The idea…
-
The philosophy of unix – 9 commandments
The philosophy of unix is a guideline of standards and software design & philosophy approaches : Elaboration : The philosophy of unix is a universal approach to any development, not only software 😉
-
How to shutdown windows without updating – cdm – shutdown /s /t 0
Windows often prompts users to install pending updates during shutdown or restart. Fortunately, using the Command Prompt (cmd), you can bypass updates and shut down your system immediately. This article explains how to use the „shutdown /s /t 0” command effectively. Understanding the command The „shutdown /s /t 0” command is a simple Windows cmd instruction that forces the computer to shut down instantly without processing updates. Here’s what each parameter means: Command Description shutdown /s Shuts down the computer after a default 30-second delay (can be modified with /t). shutdown /s /t 0 Shuts down the computer immediately (similar to /p). shutdown /f Forces running applications to close without…
-
Universal Principles of Design: Third Edition
Universal Principles of Design: Third Edition OverviewThe Universal Principles of Design, Updated and Expanded Third Edition is a comprehensive design reference book authored by William Lidwell, Kritina Holden, and Jill Butler.Original was released on February 7, 2023, the third edition expands its predecessors by 75 new entries, bringing the total to 200 principles, laws, and guidelines essential for effective design across various disciplines. It serves as a guide for anyone looking to enhance their understanding of design principles that can be applied universally in professional and private life. If You want to learn more for free go HERE !! https://principles.design/ Why should care ? Overall the book Universal Principles of Design: Third…
-
Chestertone`s Fence in coding and not only
The Chestertone`s Fence in coding is the principle named after the writer G.K. Chesterton. Serves as a critical reminder in programming and software development: before removing or altering existing code, one must understand why it was implemented in the first place. This principle is universal for life. Emphasizes the importance of historical context and the potential consequences of change, especially a quick and fast one. Urging developers to approach modifications with caution and respect for prior decisions. Even if they are unknown or seem meaningless. Understanding the Chesterton`s Fence Chesterton`s Fence principle, at its core, suggests that every piece of code, no matter how outdated or unnecessary it may seem,…
-
GraphQL approach to APIs
GraphQL is a query language and runtime for APIs that has transformed the way developers approach data retrieval and manipulation. Developed by Facebook in 2012 and open-sourced in 2015, GraphQL offers a more efficient and flexible alternative to traditional REST APIs. Its core principle is to allow clients to request precisely the data they need, no more and no less, which significantly reduces over-fetching and under-fetching of information. GraphQL provides a single endpoint where clients can send complex queries to fetch data from multiple sources in a single API call. One of its key strengths lies in its use of a strongly-typed schema that defines the structure of available data,…
-
AppSync in AWS cloud. Pros, cons and key considerations
AppSync in AWS cloud is a managed service that simplifies application development by providing a flexible API to securely access and combine data from various AWS (not only) sources. As businesses increasingly adopt cloud-based solutions, understanding the advantages and drawbacks of using AppSync in the AWS ecosystem can be helpfull. Follow up at GraphQL post. Pros and Cons of Using AppSync in AWS Cloud Pros Cons Realtime updates and synchronization Steep learning curve for developers new to AWS Built-in security features Potentially higher costs compared to alternatives Automatic scalability Limited plugins and ready-made solutions Integration with other AWS services Single-region solution (requires additional components for multi-region) Offline support Less control…
-
How to judge code – part I
How to judge code is a tricky question. With all the clean code rules, KISS, DRY, YAGNI, SOLDI and so on and so forth one can go crazy and question ones sanity in the end. What i wanted to throw out there is to judge the code be a very simple rule the encompasses multiple different one, is not straightforward and is very flexible. How to judge code ? Judge the code by how easy it is to debug We all know that one person at a company that knows all the quirks and secret sauce of a language, pipes, default interfaces and so on…. that person also knows the…
-
Literate programming by Donald Knuth
Literate programming is a programming style introduced by Donald Knuth in 1984. The focus is on explaining the logic and reasoning behind a computer program (comments) to human readers, rather than just providing instructions for the computer ( plain source code ). The key ideas are: Definition Literate programming is a programming paradigm where a computer program is explained in natural language interspersed with snippets of macros and traditional source code. Purpose Used for reproducible research and open access in scientific computing and data science. Approach Literate programming by Donald Knuth Gives programmers templates to develop programs in the order demanded by the logic and flow of their thoughts. Moving…
-
Informed captain decision making in team
Informed captain decision making in team is another idea, from netlifx, to make everything in a company better, decentralized and so on and so forth. Fater, better harder stronger 😉 The generic idea is about „empowering teams and individuals” but here are the key points about this concept. Short story : Informed captain listens to everyone than is trusted to take the best decision to move forward. Informed Captain Responsibilities The captain owns the team’s mission, mandate, and metrics, and has full decision-making authority within their scope. Decision-Making Process Decisions are not made by consensus or committee votes. The captain has the final say after considering different viewpoints. Kinda like…