schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Search results for tag #refactoring

#refactoring boosted

[?]PsychoticSheep » 🌐
@sheepfreak@pixelfed.social

FOSS Advent Calendar - Door 15: See the Logic, Not Just the Lines with Difftastic

Forget confusing text diffs. Difftastic is a brilliant open-source tool that shows the true intent of your code changes. It understands programming syntax, ignores formatting noise, and highlights semantic differences in your commits, perfect for clear code reviews and complex refactorings. It acts like X-Ray for your code, detecting when you’ve moved a function or changed logic, not just edited text. By ignoring formatting changes, it shows what actually changed, not what your autoformatter did. Plus, it runs entirely offline, so your code never leaves your machine, and it supports over 50 languages and formats, from Python and Rust to JSON and Markdown.

Pro tip: Integrate it as your Git difftool to review pull requests with clarity and instantly grasp the developer’s intent.

Link: https://github.com/Wilfred/difftastic

What would you clarify first with a diff tool that shows the intended change?

#AdventCalendar #FOSS #OpenSource #DevTools #Programming #SoftwareEngineering #Git #VersionControl #CodeReview #Refactoring #Developer #CLITools #Productivity #Rust #Python #JavaScript #WebDev #Backend #Linux #Tech #Coding #ProgrammingTools #IDE #VSCode #Neovim #DeveloperProductivity #CleanCode #DevOps #FOSSadvent #adventskalender

    #refactoring boosted

    [?]Michael Kimsal » 🌐
    @kimsal@phpc.social

    Quickly determine some basic quality info on your PHP code with phpinsights

    phpqa is an alias to the phpqa docker tool @ github.com/jakzal/phpqa

    screenshot of summary output of phpinsights

    Alt...screenshot of summary output of phpinsights

      #refactoring boosted

      [?]Frontend Dogma » 🤖 🌐
      @frontenddogma@mas.to

      #refactoring boosted

      [?]Leanpub » 🌐
      @leanpub@mastodon.social

      #refactoring boosted

      [?]Leanpub » 🌐
      @leanpub@mastodon.social

      Leanpub book LAUNCH 🚀 The Other Half of Coding: What they Didn't Teach You by Max Guernsey, III

      Watch here: youtu.be/lDwuiSwaCf4

        7 ★ 2 ↺
        BDD Warriors boosted

        [?]Amitai Schleier » 🌐
        @schmonz@schmonz.com

        It’s hard to fix something because it’s easy to break something else?

        That’s your clue: refactor first.

        (Special case of the general KFB wisdom “First make the change easy, then make the easy change.”)


          #refactoring boosted

          [?]HackerNews VN bot » 🤖 💔 🌐
          @hackernews_bot_vn@mastodon.maobui.com

          🔧 Phương pháp Mikado giúp thực hiện thay đổi an toàn trong codebase phức tạp: chia nhỏ các công việc, giải quyết phụ thuộc từng bước, giảm rủi ro và tăng khả năng bảo trì.

          understandlegacycode.com/blog/

          #refactoring boosted

          [?]Wednesday Links » 🌐
          @wednesdaylinks@foojay.social

          #refactoring boosted

          [?]DevTo VN Bot » 🤖 💔 🌐
          @devto_vn_bot@mastodon.maobui.com

          🛠️ Refactor phương thức private → lớp riêng để test dễ dàng, tránh reflection/metaprogramming yếu. Tách logic “stripStrangeCharacters” thành `CharacterStripper`, viết unit test trực tiếp, rõ ràng, giảm phụ thuộc ẩn và cải thiện thiết kế miền. Áp dụng khi logic phức tạp, không cho các getter/setter đơn giản.

          dev.to/mcsee/refactoring-037-t

          #refactoring boosted

          [?]Juniper » 🌐
          @june@mstdn.isometry.group

          (renaming a struct) at my

            #refactoring boosted

            [?]JAVAPRO » 🌐
            @javapro@mastodon.social

            Even if you’ve read the JEPs—have you used to refactor old-school branching logic? @manojnp shows how to turn bloated instanceof trees into readable, idiomatic code with just records.

            👉 javapro.io/2025/01/15/record-p

              #refactoring boosted

              [?]Habr » 🤖 🌐
              @habr@zhub.link

              Технический долг в голове: Почему сеньоры выгорают на задачах для джунов, а пет-проекты умирают в бэклоге

              В прошлой статье я рассказывал, как настроил личный iptables и перешел в режим Default Deny , чтобы отбиться от внешних DDoS-атак (коллег, пустых встреч и спама). Периметр я защитил, входящий трафик почистил. Uptime вырос. Казалось бы — живи и радуйся. Но я заметил странную вещь: снаружи тихо, а сервер все равно греется. Я заглянул внутрь контейнера и понял: проблема не во входящих пакетах. Проблема в архитектуре самого приложения . Парадокс: я могу спроектировать архитектуру, которая выдержит падение дата-центра. Я могу дебажить race condition в многопоточном приложении. Но когда мне нужно позвонить в страховую или выбрать отель для отпуска, я впадаю в ступор. Мой личный бэклог забит задачами типа «разобраться с налогами» и «начать бегать», которые висят там с 2019 года. Я переношу их из спринта в спринт, испытывая фоновое чувство вины. В какой-то момент я понял: это не лень. И это не «отсутствие мотивации». Это классический Technical Debt (Технический долг) , только не в репозитории, а в нейросети. И проценты по этому долгу я плачу самым дорогим ресурсом — своей когнитивной емкостью.

              habr.com/ru/articles/973796/

              #refactoring boosted

              [?]Sébastien Roccaserra 🐿️ » 🌐
              @sroccaserra@mastodon.social

              J'ai apprécié cet article de @jbrains. Quand on simplifie du code, paradoxalement il y a un risque de le rendre moins familier (ce n'est plus comme avant, ce n'est plus comme on a toujours fait). Ça peut être une raison d'accepter de ne pas simplifier. Mais si on ne prend jamais ce risque, on passe à côté d'opportunités de simplifications. Compromis... Je trouve intéressant d'avoir ça en tête collectivement.

              => blog.jbrains.ca/permalink/a-ce

                #refactoring boosted

                [?]Alvin Ashcraft » 🌐
                @alvinashcraft.com@bsky.brid.gy

                Upgrade MSVC, improve C++ build performance, and refactor C++ code with GitHub Copilot is.gd/V43kmW

                Upgrade MSVC, improve C++ buil...

                  #refactoring boosted

                  [?]DevTo VN Bot » 🤖 💔 🌐
                  @devto_vn_bot@mastodon.maobui.com

                  Một chia sẻ thú vị về quá trình tái cấu trúc lõi phân tích dữ liệu của DocBeacon. Thử thách lớn nhất là sửa các lỗi ngầm trong việc tổng hợp dữ liệu (aggregation), vốn rất khó tái hiện và debug. Đây là công việc thầm lặng nhưng tối quan trọng để đảm bảo số liệu phân tích đáng tin cậy và hệ thống hoạt động hiệu quả hơn.

                  dev.to/howard_shaw_3c36a3a6cb9

                    #refactoring boosted

                    [?]Frontend Dogma » 🤖 🌐
                    @frontenddogma@mas.to

                    #refactoring boosted

                    [?]DevTo VN Bot » 🤖 💔 🌐
                    @devto_vn_bot@mastodon.maobui.com

                    Đối mặt với code legacy? Bài viết chia sẻ cách dùng DTO và Value Object để tạo ranh giới rõ ràng, chuyển đổi dữ liệu JSON hỗn hợp thành cấu trúc sạch, an toàn và tự tài liệu. Kết hợp DDD, Symfony Serializer và custom normalizer để xử lý Phone, Money, Email… Thực tiễn, đồng cảm và pragmatism giúp giảm đau refactor.

                    dev.to/clegginabox/refactoring

                    #refactoring boosted

                    [?]DevTo VN Bot » 🤖 💔 🌐
                    @devto_vn_bot@mastodon.maobui.com

                    🎉 Kết thúc series JavaScript Clean Code Part 7: Refactor giỏ hàng thực tế, thiết lập ESLint, Prettier, Husky pre‑commit và tests. Code giờ dùng const/let, tên biến rõ ràng, phương pháp array, class encapsulation, template literals, immutable, giảm 68% dòng. Áp dụng ngay để giảm lỗi, tăng tốc phát triển!

                    dev.to/sizan_mahmud0_e7c3fd0cb

                    #refactoring boosted

                    [?]DevTo VN Bot » 🤖 💔 🌐
                    @devto_vn_bot@mastodon.maobui.com

                    Thay đổi cách viết điều kiện để code rõ ràng và dễ bảo trì hơn: dùng guard clauses, trả về sớm, tránh lồng if sâu. Biến điều kiện phức tạp thành hàm có tên rõ nghĩa, dùng object thay chuỗi if-else dài, loại bỏ else không cần thiết và đặt tên biến boolean tích cực. Code phẳng, dễ đọc, dễ test và ít bug hơn.

                    dev.to/sizan_mahmud0_e7c3fd0cb

                    #refactoring boosted

                    [?]Frontend Dogma » 🤖 🌐
                    @frontenddogma@mas.to

                    How to Successfully Migrate Your App With an AI Agent, by @blackgirlbytes (@opensource.block.xyz):

                    block.github.io/goose/blog/202

                      #refactoring boosted

                      [?]DevTo VN Bot » 🤖 💔 🌐
                      @devto_vn_bot@mastodon.maobui.com

                      Thay thế việc nối chuỗi phức tạp bằng text block để cải thiện tính đọc code và dễ bảo trì. Sử dụng """ để tạo chuỗi đa dòng, loại bỏ escape sequence, giữ nguyên định dạng SQL/JSON. Hỗ trợ tốt trong Java, Kotlin, Python, JS và nhiều ngôn ngữ khác.

                      dev.to/mcsee/refactoring-036-r

                      Bill Seitz boosted

                      [?]Ted M. Young » 🌐
                      @jitterted@sfba.social

                      Refactoring Needs Empathy (h/t Andrea Goulet), but it also needs Skills.

                      At in March, I'll be showing my favorite techniques for in using IntelliJ IDEA. Even if you're an experienced coder, I'll bet you'll still learn a few new things to try out...

                      Speaker graphic, with the dev/nexus conference name at the top (subheading: Enterprise, Java, AI and Developer Tools Conference). Next is "I'm speaking at DevNexus 2026: 'Clear Up Messy Code with Refactoring Maneuvers in IntelliJ IDEA'". Below that are the conference dates: March 4-6, 2026, in Atlanta Georgia, USA. Below is a picture of my and name "Ted M. Young".

                      Alt...Speaker graphic, with the dev/nexus conference name at the top (subheading: Enterprise, Java, AI and Developer Tools Conference). Next is "I'm speaking at DevNexus 2026: 'Clear Up Messy Code with Refactoring Maneuvers in IntelliJ IDEA'". Below that are the conference dates: March 4-6, 2026, in Atlanta Georgia, USA. Below is a picture of my and name "Ted M. Young".

                        #refactoring boosted

                        [?]Leanpub » 🌐
                        @leanpub@mastodon.social

                        Rector - The Power of Automated Refactoring by Matthias Noback and Tomas Votruba is on sale on Leanpub! Its suggested price is $29.00; get it for $26.10 with this coupon: leanpub.com/sh/IeE3xeVg matthiasnoback@mastodon.social

                          #refactoring boosted

                          [?]Tobias Schlitt » 🌐
                          @tobyS@ruhr.social

                          Blast from the past, but not less relevant: "Refactoring with the advanced scout rule" explains how you can introduce continuous refactoring into your workflow and how to determine what requires most urgently. schlitt.info/blog/0779_refacto

                            #refactoring boosted

                            [?]DevTo VN Bot » 🤖 💔 🌐
                            @devto_vn_bot@mastodon.maobui.com

                            Mỗi chủ nhật, tôi dành thời gian “tái cấu trúc” những dòng code cũ — dần dần loại bỏ rác, chuẩn hóa tên, tách hàm, đơn giản logic, cập nhật phụ thuộc. Kết quả sau vài tháng: ứng dụng chạy mượt hơn, bảo trì nhanh hơn và ít lỗi. Tạo thói quen nhỏ đều đặn để giảm nợ kỹ thuật, không cần sprint “cứu hỏa”.

                            dev.to/wisdom_emmanuel_c7ccf34

                              #refactoring boosted

                              [?]Frontend Dogma » 🤖 🌐
                              @frontenddogma@mas.to

                              How Senior Engineers Can Use AI for Real Impact, by (not on Mastodon or Bluesky):

                              sitepoint.com/senior-engineers

                                Back to top - More...