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

[?]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

      [?]Kodsnack » 🌐
      @kodsnack@social.podsnack.se

      Städa kod: användbar kunskap
      Fredrik har läst Kent Becks bok "Tidy first?", som diskuterar hur och när man ska passa på att göra små, enkla uppstädningar i sin kod.

      Ett utdrag ur Kodsnack 673, lyssna där poddar finns eller på kodsnack.se!

      Alt...Ett utdrag ur Kodsnack 673 - Ett mönster för allt, illustrerat med ritandet av avsnittsbilden. Ett torn som verkar bestå av många mindre skyskrapor höjer sig över molnen. Tornet omges av luftballonger och en zeppelinare, och på många tak och terasser syns växtlighet.

        #refactoring boosted

        [?]Serge Matveenko ♻️☮️ ⩜⃝ » 🌐
        @lig@fosstodon.org

        Renamed a service in a multi-service project today. Just 11 files touched across components, docs, and deploy configs. Feels like a solid little decoupling win. Deploying now 🤞🏻

          #refactoring boosted

          [?]Kerrick Long (blog) » 🌐
          @kerrick@kerrick.blog

          Re: Emily Bache on Ward Cunningham’s Fearless Refactoring

          Emily Bache on LinkedIn: "I recently heard a story about Ward Cunningham coding[..]" […] [SENSITIVE CONTENT]

          Emily Bache on LinkedIn: “I recently heard a story about Ward Cunningham coding[..]”

          When I was a younger developer, I thought I knew how to make code better by, as the kids would say today, following vibes. Much later, a coworker gave me a copy of Martin Fowler’s Refactoring. I regret how long I put off reading it. Even later, I read Sandi Metz’s 99 Bottles of OOP and learned just how safe refactoring could be. Fearless refactoring is a skill that must be learned, and it is almost a superpower!

          #refactoring boosted

          [?]Michał Fita » 🌐
          @michalfita@mastodon.social

          I just completed "Lobby" - Day 3 - Advent of Code 2025 adventofcode.com/2025/day/3 in .

          While it takes me time to find working solutions, Day 3p2 definitely demonstrates my over 20 years of programming pays back by taking approach to first part that can easily be refactored to solve part 2.

          Debug build on my AMD ThinkPad P16 runs both problems in:
          real 0m0,005s
          user 0m0,003s
          sys 0m0,003s

            #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

              [?]Thomas Ganter » 🌐
              @Thomas@blog.fami.ga

              Good motto for the week.

              Card displaying "I write code with care. And delete it with joy"

              Alt...Card displaying "I write code with care. And delete it with joy"

                #refactoring boosted

                [?]Joseph Hewitt » 🌐
                @gearheadrpg.com@bsky.brid.gy

                I have reached the WorldMapWar unit in GearHead Caramel. This is a fairly complex system which piggybacks off the world map navigation interface. Gotta find all of the menu stuff and replace it with widgets. store.steampowered.com/app/1565090/...

                Save 50% on GearHead Caramel o...

                  #refactoring boosted

                  [?]__void__ ( ) -> None: » 🌐
                  @WillyECoyote69@mstdn.social

                  I'm even too lazy, to ask some A.I. LLM to refactor my code.

                    #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

                      [?]Djumaka » 🌐
                      @djumaka@phpc.social

                      Doing a Kata is always useful...
                      1. Training on recognizing patterns.
                      2. Gaining fluent in the implementation
                      3. Learn from how others do it
                      4. Get a better grasp of your tools
                      5. Do the same thing in other languages and broaden your sights.

                        #refactoring boosted

                        [?]Pierre-Henry™ » 🌐
                        @ph7@mastodon.social

                        Stop writing confusing functions. For instance, use named parameters in TypeScript for clean, maintainable code. Learn more 👇
                        dev.to/pierre/named-arguments-

                        Building great software, not matter where you are

                        Alt...Building great software, not matter where you are

                          #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

                            [?]Marc Trius » 🌐
                            @alter_kaker@hachyderm.io

                            Just opened a giant ticket for an entire service that's kind of a rats' nest of public methods calling other public methods, database access in unexpected places, and low test coverage. I'm pretty pleased with being in a position to do that.

                            However, the problem is that this ticket is HUGE in terms of effort. How do you approach splitting up a ticket that's about refactoring and writing unit tests for a 5,000 line service class into controller, service, repository, and utility layers where you don't even know ahead of time what piece of code depends on what?

                              #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

                                  [?]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

                                      #refactoring boosted

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

                                      Writing condition-heavy logic in ? This article shows how RecordPatterns turn messy type-checks into expressive, deconstructed switches—ideal for rethinking class hierarchies & responsibilities.

                                      @manojnp breaks it down: javapro.io/2025/01/15/record-p

                                        #refactoring boosted

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

                                        #refactoring boosted

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

                                        Chúng ta dành nhiều thời gian đọc code hơn viết code, nhưng lại ít được dạy cách đọc hiệu quả. Bài viết chia sẻ 3 kỹ thuật quan trọng: nhận biết code cần refactor (nếu phải đọc 2 lần), thấu hiểu khi xem code của người khác và coi đọc code là cách tốt nhất để nâng cao kỹ năng lập trình. Đọc code giúp bạn giỏi hơn!

                                        dev.to/canro91/3-code-reading-

                                        #refactoring boosted

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

                                        Một lập trình viên chia sẻ hành trình refactor code và cách xử lý tình huống "oh shit" với Git Rebase! Từ tách logic config sang module riêng, gom message help/version vào utils, thay số ảo bằng constexpr, đến việc dùng rebase -i để gộp commit lộn xộn thành một commit sạch đẹp. Bài học: luôn tạo branch khi refactor và kiểm tra kỹ trước khi merge! 💻

                                        dev.to/elsad_humbetli_0971c995

                                          #refactoring boosted

                                          [?]dtanzer » 🌐
                                          @dtanzer@social.devteams.at

                                          New video: I'm not completely happy with some names, so I change them to "honest & complete" - That makes them much longer and more verbose, but at least they say what the objects do now...

                                          PeerTube: videos.devteams.at/w/n8TDBBWWP
                                          YouTube: youtu.be/i0ULT8iE9Xk

                                            Ted M. Young boosted

                                            [?]dtanzer » 🌐
                                            @dtanzer@social.devteams.at

                                            Some more : First, I simplify some unit tests, then I add a common interface for some objects that are all stages of a process. Feedback welcome!

                                            Video on PeerTube: videos.devteams.at/w/orkDdvXUe
                                            Or if you prefer YouTube: youtu.be/s6E1dSFHGxs

                                              Back to top - More...