Maxi Contierimaximilianocontieri.com·Nov 20, 2024Code Smell 280 - Spaghetti CodeThis article is dedicated to the late Thomas E. Kurtz, one of BASIC's creators, as it was the first programming language I learned. TL;DR: GOTO statements create confusing and unmaintainable code Problems Logic becomes unclear Debugging gets har...Discuss·102 readsCode Smellsclean code
Tim Bailey-Jonestimcod.es·Nov 20, 2024Keeping on top of changes across multiple git repositoriesThis is a classic "I scratched my itch, hope it helps" story. I made a Github Gist out of it. I sometimes lose track of unpushed/uncommitted changes, across multiple projects / clients. To get a handle on this, I wrote this script called git-dirty an...Discuss·80 readsGitHub
Jyotiprakash Mishrablog.jyotiprakash.org·Nov 19, 2024Introduction to Functional Programming in JavaFunctional Programming and Its Growing Popularity Over the years, software development has continuously evolved, with each paradigm addressing specific challenges. Functional programming, an approach that treats computation as the evaluation of mathe...Discussmethod reference
Cyrille N'DAH23cyy.hashnode.dev·Nov 18, 2024Transition vers un code structuré et maintenable avec le DDD, TDD et la Clean ArchitectureDans notre dernier article, nous avons exploré les bases de la programmation procédurale, de la programmation séquentielle et de la programmation orientée objet (POO). Ces paradigmes forment les fondations du développement de logiciels, offrant une s...DiscussDDD
Maxi Contierimaximilianocontieri.com·Nov 16, 2024Code Smell 279 - Loop Premature OptimizationTL;DR: Don't optimize loops without a clear need and concrete real-world evidence Problems Premature Optimization Reduced readability Increased complexity Difficult to maintain Slower debugging Solutions Keep it simple Prioritize clarity Avoid pr...DiscussCode SmellsProgramming Tips
Mohamed Zhiouamohamedzhioua.hashnode.dev·Nov 16, 2024💡 Why React Fragments Matter in Your Cod💻Ever run into this frustrating error while working with React?👉 “JSX expressions must have one parent element.” Here’s the fix and why it happens! In React, everything you write in JSX is converted into JavaScript functions. Since JavaScript functio...DiscussReactJSReact
Vishesh Tiwariforvishesh-devvishesh-tiwari-dev.hashnode.dev·Nov 13, 2024Best Practices for Writing Clean React Code with ExamplesReact Naming Conventions: Component Naming Conventions: Use PascalCase for react component names, Interfaces & Types: const ColumnSelectorPropsType = { heading: string }; const ColumnSelector = ({ heading }: ColumnSelectorPropsType) => { return <...DiscussReact
Vishesh Tiwariforvishesh-devvishesh-tiwari-dev.hashnode.dev·Nov 13, 2024How to use infer in typescript?Hi Devs, Welcome to this exciting article where we’ll explore how to use infer in TypeScript to write cleaner code and avoid duplication. By the end of this read, you’ll be able to effortlessly extract function return types, argument types, and React...Discussclean code
Vishesh Tiwariforvishesh-devvishesh-tiwari-dev.hashnode.dev·Nov 13, 2024How to Identify and Remove Unused Files in React Projects?Hi Developer, In this article ,I am sharing some tools/method which will help you to maintain clean react code base. Keeping Your React Codebase Clean and Efficient: A Comprehensive Guide In the fast-paced world of web development, maintaining a clea...DiscussCodeCleanup
Ariel Orozcoarielorozco.com·Nov 11, 2024Best Practices for Writing Clean and Efficient Go CodeThe Go programming language, or Golang, is well-known for its simplicity, performance, and support for concurrency. However, like any language, writing efficient, maintainable, and readable code in Go requires adherence to certain best practices. Her...Discussgolang